diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2016-10-15 01:54:44 +0100 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2016-10-15 01:54:44 +0100 |
commit | 7d4a947e1bfef5611578d440a3106500c1704cb7 (patch) | |
tree | 08a195b0c947ff5b316d4a6d0e319c673595bd2e /tests/test_bindfs.rb | |
parent | 9b37e64eb3e625535a1a20f315d7932f2e74b399 (diff) | |
download | bindfs-7d4a947e1bfef5611578d440a3106500c1704cb7.tar.gz |
Always skip valgrind for ioctl tests due to false negatives.
Diffstat (limited to 'tests/test_bindfs.rb')
-rwxr-xr-x | tests/test_bindfs.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_bindfs.rb b/tests/test_bindfs.rb index e355e2a..48611b2 100755 --- a/tests/test_bindfs.rb +++ b/tests/test_bindfs.rb @@ -658,7 +658,9 @@ testenv("--disable-lock-forwarding", :title => "no lock forwarding") do end # Issue #37 -root_testenv("--enable-ioctl", :title => "append-only ioctl") do +# Valgrind disabled for ioctl tests since it seems to give a false negative +# about a null parameter to ioctl. +root_testenv("--enable-ioctl", :title => "append-only ioctl", :valgrind => false) do touch('mnt/file') system('chattr +a mnt/file') raise 'chattr +a failed' unless $?.success? @@ -673,7 +675,7 @@ root_testenv("--enable-ioctl", :title => "append-only ioctl") do end end -root_testenv("", :title => "ioctl not enabled by default") do +root_testenv("", :title => "ioctl not enabled by default", :valgrind => false) do touch('mnt/file') assert { `chattr +a mnt/file 2>&1`; !$?.success? } end |