aboutsummaryrefslogtreecommitdiff
path: root/tests/TESTLIST
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2013-10-26 11:23:10 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2013-10-26 11:28:15 +0400
commitc9569fd10ac8b0a9abde3bfd908db98625d11592 (patch)
tree2aa6705a28bb53424d000cd249dc2d166794afda /tests/TESTLIST
parent3b720a31d7800c6e6dcb3e394e4d4b99939fce60 (diff)
downloadpublic-c9569fd10ac8b0a9abde3bfd908db98625d11592.tar.gz
fix flags printing tests
The test cases included the timestamp (due to missing -t) and failed unless run in the same timezone as produced. The failures printed by print-flags.sh did not make it into the final report because the script always returned 0. Strip the timestamps and replace print-flags.sh with some contents in TESTLIST.
Diffstat (limited to 'tests/TESTLIST')
-rw-r--r--tests/TESTLIST18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/TESTLIST b/tests/TESTLIST
index f0ab002..8892b84 100644
--- a/tests/TESTLIST
+++ b/tests/TESTLIST
@@ -1,3 +1,21 @@
+# Various flags applied to a TCP session.
+#
+# We cannot rely on, for example, "print-x.out" and
+# "print-X.out" being different files - we might be running
+# this on a case-insensitive file system, e.g. a Windows
+# file system or a case-insensitive HFS+ file system on
+# Mac OS X.
+#
+# Therefore, for "X" and "XX", we have "print-capX.out"
+# and "print-capXX.out".
+#
+print-x print-flags.pcap print-x.out -t -x
+print-xx print-flags.pcap print-xx.out -t -xx
+print-X print-flags.pcap print-capX.out -t -X
+print-XX print-flags.pcap print-capXX.out -t -XX
+print-A print-flags.pcap print-A.out -t -A
+print-AA print-flags.pcap print-AA.out -t -AA
+
# BGP tests
bgp_vpn_attrset bgp_vpn_attrset.pcap bgp_vpn_attrset.out -t -v
mpbgp-linklocal-nexthop mpbgp-linklocal-nexthop.pcap mpbgp-linklocal-nexthop.out -t -v