diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2011-07-22 10:20:56 +0300 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2011-07-22 10:32:22 +0300 |
commit | ef0f26d663e3fedfb2a18e0b7b0f73e418fdd7fd (patch) | |
tree | 8a08464dff7f08d9e8bb3b20ad23c92f95db50be | |
parent | 1479a6bb7184009b440a2e68b792941de1bd1f76 (diff) | |
download | bindfs-ef0f26d663e3fedfb2a18e0b7b0f73e418fdd7fd.tar.gz |
Tests: check that the mount appears in `mount`.
-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 |