projects
/
platform
/
upstream
/
automake.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: better names for temporary configure.ac files
[platform/upstream/automake.git]
/
t
/
subobj-clean-lt-pr10697.sh
diff --git
a/t/subobj-clean-lt-pr10697.sh
b/t/subobj-clean-lt-pr10697.sh
index
4ac4630
..
b02a6a4
100755
(executable)
--- 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'
# '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
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
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
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
# ... 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
# ... 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
# ... while the non-stale files do.
test -f sub1/b.$OBJEXT