X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fsubobj11b.sh;h=89f878b88ef4f77bd008ac66c197182ad8e4ee81;hb=b9951d654abb76c5419f1e2b453f1ca06fdb331b;hp=129b6ea615b11d372e098d4b66064883a9961826;hpb=76f0605a6dd790ab43cc608db11ac2141ddf46c0;p=platform%2Fupstream%2Fautomake.git diff --git a/t/subobj11b.sh b/t/subobj11b.sh index 129b6ea..89f878b 100755 --- a/t/subobj11b.sh +++ b/t/subobj11b.sh @@ -23,10 +23,10 @@ # (even if the file 'foo.mk' exists). The error disappear by collapsing # the repeated slash '/' characters into a single one. # -# See also "semantic" sister test 'subobj11a.test', and related test -# 'subobj11c.test'. +# See also "semantic" sister test 'subobj11a.sh', and related test +# 'subobj11c.sh'. -. ./defs || Exit 1 +. test-init.sh cat >> configure.ac << 'END' AC_PROG_CC @@ -61,7 +61,7 @@ $AUTOMAKE -a # Be lax in the regexp, to account for automake conditionals, the # use of @am__include@, and similar stuff. -grep 'include.*//.*foobar' Makefile.in && Exit 1 +grep 'include.*//.*foobar' Makefile.in && exit 1 # These checks depend on automake internals, but presently this is # the only way to test the code path we are interested in. @@ -69,7 +69,7 @@ grep 'include.*//.*foobar' Makefile.in && Exit 1 # internals are changed. for x in zardoz0 zardoz1 path/to/zardoz2 another/path/to/zardoz3; do case $x in - */*) d=`echo $x | sed 's,[^/]*$,,'`; b=`echo $x | sed 's,^.*/,,'`;; + */*) d=$(echo $x | sed 's,[^/]*$,,'); b=$(echo $x | sed 's,^.*/,,');; *) d=''; b=$x;; esac # Be a little lax in the regexp, to account for automake conditionals,