From ef0f26d663e3fedfb2a18e0b7b0f73e418fdd7fd Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Fri, 22 Jul 2011 10:20:56 +0300 Subject: Tests: check that the mount appears in `mount`. --- tests/common.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3