commit 7f1db2c6f09e916a2db5a851184ed0b7a1b59fad parent 7d4bbff34c0df799a47a85a10d5ba09c3c29acf3 Author: Kyle Milz <kyle@0x30.net> Date: Mon, 22 Aug 2016 20:12:46 -0600 t: test shared memory file size Diffstat:
A | t/rt_size.sh | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/t/rt_size.sh b/t/rt_size.sh @@ -0,0 +1,12 @@ +# +# Test that the runtime shared file size is what we expect. +# +echo 1..2 +. test/project.sh + +./program 1 + +stat -f %z runtime/* > size +echo "16384" > size.good + +test_diff 2 "shared memory file size" size.good size