Support for file type in -p to process all kinds of files from
[autodist.git] / apps / autodist / tests / autodist1.test
index 5175a28089171ac288ebeea53cf8c13d3114ad25..f1b70935f12bee7733f4f6c310fe5d438bac5188 100755 (executable)
@@ -22,6 +22,9 @@ Makefile
 )
 AC_OUTPUT
 echo configure.ad ok
+#else !_DIST_DEFAULT
+echo "ERROR"
+exit 1
 #endif _DIST_DEFAULT
 EOF
 
@@ -46,6 +49,9 @@ cat << EOF > subdir/configure.ad
 # subdir/configure.ad fragment
 #ifndef _DIST_NODEF
 echo "_DIST_NODEF ok"
+#else _DIST_NODEF
+echo "ERROR"
+exit 1
 #endif _DIST_NODEF
 EOF
 
@@ -66,8 +72,12 @@ $AUTODIST || exit 1
 make || exit 1
 echo make ok
 
+echo update test
+touch Makefile.ad
+make || exit 1
+echo update test ok
+
 echo test ok
 
 # Cleanup
 rm -rf subdir distdir
-