summaryrefslogtreecommitdiff
path: root/tests/warn-char-classes
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-09-08 12:00:46 +0200
committerJim Meyering <meyering@redhat.com>2010-09-08 12:00:46 +0200
commit20985033d0f22f4e7b719fb1be6ce47768c8c575 (patch)
treebaf25572d9c65a584b117775bf129530f8ed6b3b /tests/warn-char-classes
parent47a04e6fc73a67144bfd883fc3d18064f8409687 (diff)
downloadgrep-20985033d0f22f4e7b719fb1be6ce47768c8c575.tar.gz
tests/portability: avoid spurious failure with OpenBSD's /bin/sh
* tests/warn-char-classes: Don't use "set -x" here. It causes a spurious test failure on openbsd 4.7 when using its /bin/sh, since the command, /bin/sh -xc 'P=1 : 2> err' emits "P=1" into err. To enable set -x, run the test with "VERBOSE=yes", e.g., make check -C tests TESTS=warn-char-classes VERBOSE=yes
Diffstat (limited to 'tests/warn-char-classes')
-rw-r--r--tests/warn-char-classes2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/warn-char-classes b/tests/warn-char-classes
index 25bf6408..8cc65635 100644
--- a/tests/warn-char-classes
+++ b/tests/warn-char-classes
@@ -2,8 +2,6 @@
# Use of any --include or --exclude* option would segfault in 2.6 and 2.6.1
. "${srcdir=.}/init.sh"; path_prepend_ ../src
-set -x
-
echo f > x || framework_failure_
echo b >> x || framework_failure_
echo h >> x || framework_failure_