From 07c3801808db787e6c0cf0b2bf60a7ab62bc38b7 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Mon, 3 Dec 2012 10:50:29 +0530 Subject: tests: Test the exit status of touch Change-Id: I4fd52d6b54c5bcf16298c3a9ec98a12fea8df957 BUG: 860663 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/4254 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- tests/bugs/bug-860663.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/bugs/bug-860663.t b/tests/bugs/bug-860663.t index a36c8e465..28d1f8fcd 100644 --- a/tests/bugs/bug-860663.t +++ b/tests/bugs/bug-860663.t @@ -27,7 +27,7 @@ TEST $CLI volume start $V0 TEST glusterfs -s $H0 --volfile-id $V0 $M0; sleep 5; -touch $M0/files{1..10000} >/dev/null; +TEST touch $M0/files{1..10000}; ORIG_FILE_COUNT=`ls -l $M0 | wc -l`; @@ -38,7 +38,7 @@ TEST $CLI volume rebalance $V0 fix-layout start sleep 30; -touch $M0/files{1..10000} >/dev/null; +TEST ! touch $M0/files{1..10000}; TEST $CLI volume start $V0 force -- cgit