aboutsummaryrefslogtreecommitdiffstats
path: root/test/test.sh
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2006-12-28 03:17:28 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2006-12-28 03:17:28 +0000
commit104863e795c60c91afe64fd9f4c8a1cc14088163 (patch)
treeb519042f01f574b57748f3b57d3bab3d5f581806 /test/test.sh
parentf1755db47329a99c12f897ed60db4afd2488473e (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) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20229 f5534014-38df-0310-8fa8-9805f1628bb7
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
#