summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2016-09-29 14:41:49 -0700
committerBen Pfaff <blp@ovn.org>2016-09-30 08:34:57 -0700
commit4618b1024f75405bbf5cf6c419d3b32db408ab3d (patch)
treee60b8d863e430f7f50212b2a12ee071bfb1cf3a5 /tests
parent9fcb6a1845caeeafd1265209d5914c548858a171 (diff)
downloadopenvswitch-4618b1024f75405bbf5cf6c419d3b32db408ab3d.tar.gz
tests: Use standard -q option to grep in place of GNU --quiet extension.
Reported-by: Stuart Cardall <developer@it-offshore.co.uk> Reported-at: http://openvswitch.org/pipermail/discuss/2016-September/022803.html Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Flavio Fernandes <flavio@flaviof.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/ovn.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ovn.at b/tests/ovn.at
index 20b42a770..f40940f8e 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -4400,9 +4400,9 @@ test_datapath_in_of_rules() {
# magic keyword that represents one, based on the exit status of
# a quiet grep
if test $expect_datapath != 0; then
- AT_CHECK([grep --quiet -i 'metadata=' stdout], [0], [ignore-nolog])
+ AT_CHECK([grep -q -i 'metadata=' stdout], [0], [ignore-nolog])
else
- AT_CHECK([grep --quiet -i 'metadata=' stdout], [1], [ignore-nolog])
+ AT_CHECK([grep -q -i 'metadata=' stdout], [1], [ignore-nolog])
fi
}