Gary V. Vaughan d7139f038b syntax-check: fix violations in tests of sc_prohibit_test_const_follows_var.
To safely use a non-literal first argument to 'test', you must always
prepend a literal non-'-' character, but ofter the second operand is a
constant that doesn't begin with a '-' already, so always use 'test a =
"$b"' instead of noisy 'test "X$b" = Xa'.
* tests/bindir.at, tests/defs.m4sh, tests/demo-relink.test,
tests/demo/configure.ac, tests/depdemo-relink.test, tests/destdir.at,
tests/duplicate_conv.at, tests/fail.at, tests/help.at,
tests/libtoolize.at, tests/link-2.test, tests/link-order2.at,
tests/lt_dlopenext.at, tests/mdemo/configure.ac,
tests/mdemo2/configure.ac, tests/need_lib_prefix.at, tests/nocase.at,
tests/pdemo/configure.ac, tests/pic_flag.at, tests/search-path.at,
tests/shlibpath.at, tests/static.at, tests/sysroot.at,
tests/tagtrace.test, tests/testsuite.at, tests/with-pic.at: Swap
operands and remove resulting spurious characters.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
2012-09-21 23:03:48 +07:00
..