summaryrefslogtreecommitdiff
path: root/tests/ls
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-01-13 10:19:58 +0100
committerJim Meyering <meyering@redhat.com>2010-01-13 10:21:02 +0100
commit3b498ba1410d9730782db439db27e85ff20d0e56 (patch)
tree8dccfbf2e9f89a795f2a2ea18472b0314e283058 /tests/ls
parent39243f0ea8efc572e3206b5f0fca12696a52308e (diff)
downloadcoreutils-3b498ba1410d9730782db439db27e85ff20d0e56.tar.xz
tests: don't silently skip the sort-version tests
* tests/misc/sort-version: Don't use <<- and indented here-doc contents. s/<<-/<</ and unindent the here-document contents. Otherwise, bash would ignore the indented delimiter and use EOF, thus silently skipping this test. OpenBSD5.4's shell reported the failure: $ printf 'cat<<-x\n foo\n x\n'|sh sh: <stdin>[4]: here document `x' unclosed [Exit 1] by contrast, bash warns but still exits successfully: $ printf 'cat<<-x\n foo\n x\n'|bash && echo you lose bash: line 3: warning: here-document at line 1 delimited by \ end-of-file (wanted `x') foo x you lose
Diffstat (limited to 'tests/ls')
0 files changed, 0 insertions, 0 deletions