diff options
Diffstat (limited to 'tests/demo-hardcode.test')
-rwxr-xr-x | tests/demo-hardcode.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/demo-hardcode.test b/tests/demo-hardcode.test index 269c2ff3..31b2e1d7 100755 --- a/tests/demo-hardcode.test +++ b/tests/demo-hardcode.test @@ -49,7 +49,7 @@ hardcode_libdir_flag_spec' "./libtool --config" ": fatal" echo "= Searching for hardcoded library directories in each program" for file in hc-*; do - case $file in + case "$file" in hc-direct) expected="$hardcode_direct" ;; hc-libpath) expected="$hardcode_shlibpath_var" ;; hc-minusL) expected="$hardcode_minus_L" ;; @@ -96,9 +96,9 @@ for file in hc-*; do fi # Check the result. - case $hardcoded in + case "$hardcoded" in yes) - if test yes = "$expected"; then + if test $expected = yes; then echo "$objdir was hardcoded in \`$file', as libtool expected" else echo "$objdir was hardcoded in \`$file', which fooled libtool" 1>&2 @@ -107,7 +107,7 @@ for file in hc-*; do ;; no) - if test no = "$expected"; then + if test $expected = no; then echo "$objdir was not hardcoded in \`$file', as libtool expected" else echo "$objdir was not hardcoded in \`$file', which fooled libtool" 1>&2 @@ -116,7 +116,7 @@ for file in hc-*; do ;; unsupported) - if test unsupported = "$expected"; then + if test $expected = unsupported; then echo "\`$file' was not linked properly, as libtool expected" else echo "\`$file' was not linked properly, which fooled libtool" 1>&2 |