diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2014-08-04 13:22:10 +0200 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2014-08-08 16:21:46 -0700 |
commit | 31a0dbb21ebfaa2b25f6b407cbdbb5da1509db29 (patch) | |
tree | 640a9a3f6e4d7e473d3947dcfc47b6e1f9d74535 /tests/basic | |
parent | 76b72680017c836eff8805ea0339f7827ba3e561 (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/basic')
-rw-r--r-- | tests/basic/afr/gfid-mismatch.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/basic/afr/gfid-mismatch.t b/tests/basic/afr/gfid-mismatch.t index 29951354a04..e22efec81cb 100644 --- a/tests/basic/afr/gfid-mismatch.t +++ b/tests/basic/afr/gfid-mismatch.t @@ -18,7 +18,8 @@ TEST glusterfs --volfile-id=$V0 --volfile-server=$H0 $M0 --entry-timeout=0 --att #Test TEST touch $M0/file TEST setfattr -n trusted.gfid -v 0sBfz5vAdHTEK1GZ99qjqTIg== $B0/brick0/file -TEST ! "find $M0/file | xargs stat" +TEST ! "find $M0/file" +TEST ! "stat $M0/file" #Cleanup EXPECT_WITHIN $UMOUNT_TIMEOUT "Y" force_umount $M0 |