tests: prune some weed in a non-POSIX test
[platform/upstream/automake.git] / t / lisp8.sh
index d68d467..c424886 100644 (file)
@@ -37,23 +37,17 @@ $AUTOCONF
 $AUTOMAKE --add-missing
 ./configure
 
-# Use append mode here to avoid dropping output.  See automake bug#11413.
-: >stdout
-$MAKE -j >>stdout || { cat stdout; exit 1; }
-
-cat stdout
+run_make -O -- -j
 
 test -f am-one.elc
 test -f am-two.elc
 test -f am-three.elc
 
+# Delete ...
 rm -f am-*.elc
 
-# Use append mode here to avoid dropping output.  See automake bug#11413.
-: >stdout
-$MAKE -j >>stdout || { cat stdout; exit 1; }
-
-cat stdout
+# ... and recover.
+run_make -O -- -j
 test -f am-one.elc
 test -f am-two.elc
 test -f am-three.elc