All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfstests: fix wrong return check for case 022
@ 2014-01-06  8:08 ` Wang Shilong
  0 siblings, 0 replies; 14+ messages in thread
From: Wang Shilong @ 2014-01-06  8:08 UTC (permalink / raw)
  To: xfs; +Cc: linux-btrfs, Wang Shilong, Josef Bacik

Here we expect 0 as return value, fix it.

Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Cc: Josef Bacik <jbacik@fb.com>
---
 tests/btrfs/022 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 mode change 100644 => 100755 tests/btrfs/022

diff --git a/tests/btrfs/022 b/tests/btrfs/022
old mode 100644
new mode 100755
index 5b18643..142aaf9
--- a/tests/btrfs/022
+++ b/tests/btrfs/022
@@ -106,7 +106,7 @@ _limit_test()
 	[ $? -ne 0 ] || _fail "quota should have limited us"
 	dd if=/dev/urandom of=$SCRATCH_MNT/a/file bs=4M count=1 >> \
 		$seqres.full 2>&1
-	[ $? -eq 0 ] || _fail "should have been allowed to write"
+	[ $? -ne 0 ] || _fail "should have been allowed to write"
 }
 
 _scratch_mkfs > /dev/null 2>&1
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-01-07  3:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-06  8:08 [PATCH] xfstests: fix wrong return check for case 022 Wang Shilong
2014-01-06  8:08 ` Wang Shilong
2014-01-06  8:23 ` Tsutomu Itoh
2014-01-06  8:23   ` Tsutomu Itoh
2014-01-06  8:48   ` Wang Shilong
2014-01-06  8:48     ` Wang Shilong
2014-01-07  1:11     ` Tsutomu Itoh
2014-01-07  1:11       ` Tsutomu Itoh
2014-01-07  2:19       ` Wang Shilong
2014-01-07  2:19         ` Wang Shilong
2014-01-07  3:24         ` Tsutomu Itoh
2014-01-07  3:24           ` Tsutomu Itoh
2014-01-07  3:48           ` Wang Shilong
2014-01-07  3:48             ` Wang Shilong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.