aboutsummaryrefslogtreecommitdiffstats
path: root/test/test.sh
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2006-12-28 03:17:28 +0000
committerBill Meier <wmeier@newsguy.com>2006-12-28 03:17:28 +0000
commitffef6c5b607d0d7b42cc711a0d06fcc65f9b1cbb (patch)
treeb519042f01f574b57748f3b57d3bab3d5f581806 /test/test.sh
parent92125fc18cb1d87acfe3692de1ef8ade6d6885dc (diff)
Hack so test.sh will work with bash 3.1.6 or greater
which requires 'igncr' to be able to process files in 'dos format' (\r\n line endings) svn path=/trunk/; revision=20229
Diffstat (limited to 'test/test.sh')
-rw-r--r--test/test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test.sh b/test/test.sh
index 2088725a0f..3e6ca9bdb7 100644
--- a/test/test.sh
+++ b/test/test.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+(shopt -s igncr) 2>/dev/null && shopt -s igncr; # comment is needed
+# # hack for cygwin bash
+# # no-op for other
#
# Test various command line testable aspects of the Wireshark tools
#