summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pfr.exec
diff options
context:
space:
mode:
authorCedric Berger <cedric@cvs.openbsd.org>2003-01-24 23:44:42 +0000
committerCedric Berger <cedric@cvs.openbsd.org>2003-01-24 23:44:42 +0000
commit5686287e4fcb7be54bc4c6b4de1bc8925b249de3 (patch)
tree1bd025809d289976f59e5745633396a8fd599b6d /regress/sbin/pfctl/pfr.exec
parent07406195c57145ef29c17cf62e5fc940ad406a05 (diff)
Make table tests less sensitive to environmental conditions.
Work started with revision 1.4 ok dhartmei@
Diffstat (limited to 'regress/sbin/pfctl/pfr.exec')
-rw-r--r--regress/sbin/pfctl/pfr.exec8
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/sbin/pfctl/pfr.exec b/regress/sbin/pfctl/pfr.exec
index 9c37cd6230a..57efb9cfb2c 100644
--- a/regress/sbin/pfctl/pfr.exec
+++ b/regress/sbin/pfctl/pfr.exec
@@ -29,14 +29,14 @@ for LINE in `sed -e "s/ /_/g" $1`; do
if [ "$RESULT" = "pass" ]; then case $CMD in
add|delete|replace)
echo "# pass $CMD -n $ARGS"
- pfctl -t regress -nT $CMD $ARGS 2>&1 || exit 1
+ pfctl -t regress -nT $CMD $ARGS 2>&1 | sort || exit 1
echo "# pass $CMD -nf-"
echo "# test\n" $ARGSX | pfctl -t regress -nT $CMD -f- \
- 2>&1 || exit 1
+ 2>&1 | sort || exit 1
echo "# pass $CMD -nqv $ARGS"
- pfctl -t regress -nqvT $CMD $ARGS 2>&1 || exit 1
+ pfctl -t regress -nqvT $CMD $ARGS 2>&1 | sort || exit 1
echo "# pass $CMD -nqvv $ARGS"
- pfctl -t regress -nqvvT $CMD $ARGS 2>&1 || exit 1
+ pfctl -t regress -nqvvT $CMD $ARGS 2>&1 | sort || exit 1
;;
esac fi
echo "# $RESULT $CMD $ARGS"