summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-1046624.t
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2014-08-04 13:22:10 +0200
committerAnand Avati <avati@redhat.com>2014-08-08 16:21:46 -0700
commit31a0dbb21ebfaa2b25f6b407cbdbb5da1509db29 (patch)
tree640a9a3f6e4d7e473d3947dcfc47b6e1f9d74535 /tests/bugs/bug-1046624.t
parent76b72680017c836eff8805ea0339f7827ba3e561 (diff)
Regression test portability: xargs
Linux xarg complains about an empty input, while NetBSD xargs does not. This breaks tests where xargs is in a pipe after a command that should be tested. Make sure we test the first command without xargs BUG: 764655 Change-Id: I754d7d52332221c462ce3594f4e8d8d62ae606d5 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.org/8280 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'tests/bugs/bug-1046624.t')
-rwxr-xr-xtests/bugs/bug-1046624.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bugs/bug-1046624.t b/tests/bugs/bug-1046624.t
index 2bfa0745ce7..13ee45d2911 100755
--- a/tests/bugs/bug-1046624.t
+++ b/tests/bugs/bug-1046624.t
@@ -37,6 +37,7 @@ TEST `ln -s $M0/Dir $M0/Link2`
TEST $CLI volume start $V0 force
EXPECT_WITHIN $CHILD_UP_TIMEOUT "1" afr_child_up_status $V0 0
+TEST `find $M0/ 2>/dev/null 1>/dev/null`
TEST `find $M0/ | xargs stat 2>/dev/null 1>/dev/null`
TEST stat $B0/${V0}-0/Link1