summaryrefslogtreecommitdiff
path: root/tests/darwin.at
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>2011-11-16 15:00:47 +0700
committerGary V. Vaughan <gary@gnu.org>2011-11-25 14:53:41 +0700
commit59e09030ae0f79108745dd527b2fd03f0f149696 (patch)
tree1a7384a4dbed08fa8d389ea4c122ebf981476d07 /tests/darwin.at
parent11d16ab06c36948c053c507f5f9e06ff3de221c7 (diff)
downloadlibtool-59e09030ae0f79108745dd527b2fd03f0f149696.tar.gz
syntax-check: fix violations and implement sc_useless_quotes_in_case.
Contrary to popular belief, Bourne shell does not resplit case expressions after expansion, so if there are no unquoted shell metacharacters or whitespace, the quotes are useless. * cfg.mk (sc_useless_quotes_in_case): New syntax-check rule to ensure we don't reintroduce useless quoted case expressions. * build-aux/ltmain.m4sh, m4/libtool.m4, tests/bindir.at, tests/darwin.at, tests/defs.m4sh, tests/demo-hardcode.test, tests/demo-nopic.test, tests/link-2.test, tests/quote.test, tests/sysroot.at: Remove spurious quotes. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Diffstat (limited to 'tests/darwin.at')
-rw-r--r--tests/darwin.at2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/darwin.at b/tests/darwin.at
index 6eab4cdb..e2abe1a9 100644
--- a/tests/darwin.at
+++ b/tests/darwin.at
@@ -25,7 +25,7 @@
AT_BANNER([Mac OS X tests])
AT_SETUP([darwin fat compile])
noskip=:
-case "$host_os" in
+case $host_os in
darwin*) ;;
*) noskip=false ;;
esac