summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2012-12-03 10:50:29 +0530
committerVijay Bellur <vbellur@redhat.com>2012-12-02 21:39:06 -0800
commit07c3801808db787e6c0cf0b2bf60a7ab62bc38b7 (patch)
tree660ab690152e953587711087c338fa5855ad7a42
parentcb506f9b91fb20c46a1f7bdea940672cb8c0fdf7 (diff)
tests: Test the exit status of touch
Change-Id: I4fd52d6b54c5bcf16298c3a9ec98a12fea8df957 BUG: 860663 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/4254 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r--tests/bugs/bug-860663.t4
1 files 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