diff options
-rwxr-xr-x | tests/common.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/common.rb b/tests/common.rb index 65c26ca..fcdb0a7 100755 --- a/tests/common.rb +++ b/tests/common.rb @@ -85,7 +85,11 @@ def testenv(bindfs_args, &block) sleep 0.5 end - # TODO: check that mounting was successful + # Check that mount appeared in `mount` + if !`mount`.include? TESTDIR_NAME + $stderr.puts "Mount point did not appear in `mount`" + exit! 1 + end testcase_ok = true begin |