X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fsubobj-clean-lt-pr10697.sh;h=b02a6a4dbde2942444958490f10df341b2c74ef8;hb=08db0c420204dd07ca96a6d2f9c892c5a608ac49;hp=4ac463070695dbce637b2ae06bdcde8ac3d46d08;hpb=d25fac43a7c239fe8f56b2ce1b87ef3e3d4d7ef0;p=platform%2Fupstream%2Fautomake.git diff --git a/t/subobj-clean-lt-pr10697.sh b/t/subobj-clean-lt-pr10697.sh index 4ac4630..b02a6a4 100755 --- a/t/subobj-clean-lt-pr10697.sh +++ b/t/subobj-clean-lt-pr10697.sh @@ -22,7 +22,7 @@ # 'subobj-clean-pr10697.sh', which deals with the non-libtool case. required='cc libtoolize' -. ./defs || exit 1 +. test-init.sh cat >> configure.ac << 'END' AM_PROG_AR @@ -117,9 +117,9 @@ $MAKE mostlyclean ls -l . sub1 sub2 for i in 1 2; do for j in a b c d e f; do - test ! -f sub$i/$j.o - test ! -f sub$i/$j.obj - test ! -f sub$i/$j.lo + test ! -e sub$i/$j.o + test ! -e sub$i/$j.obj + test ! -e sub$i/$j.lo test -f sub$i/$j.c || exit 99 # Sanity check done done @@ -153,14 +153,14 @@ test -f sub2/a.$OBJEXT # ... but they get removed by "make mostlyclean" ... $MAKE mostlyclean -test ! -f sub1/a.$OBJEXT -test ! -f sub2/d.$OBJEXT +test ! -e sub1/a.$OBJEXT +test ! -e sub2/d.$OBJEXT # ... and do not get rebuilt ... $MAKE clean $MAKE all -test ! -f sub1/a.$OBJEXT -test ! -f sub2/d.$OBJEXT +test ! -e sub1/a.$OBJEXT +test ! -e sub2/d.$OBJEXT # ... while the non-stale files do. test -f sub1/b.$OBJEXT