tests: cosmetic changes in t/extra-sources.sh
[platform/upstream/automake.git] / t / distlinksbrk.sh
old mode 100755 (executable)
new mode 100644 (file)
index 825884e..d2b3d0f
@@ -60,9 +60,8 @@ for lnk in $lnk1 $lnk2 $lnka $lnkb; do
   $AUTOMAKE
   ./configure
   # Distribution must fail, with a decent error message.
-  $MAKE distdir >out 2>&1 && { cat out; exit 1; }
-  cat out
-  $FGREP $lnk out
+  run_make -M -e FAIL distdir
+  $FGREP $lnk output
 done
 
 :