X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fautodist%2Ftests%2Fautodist1.test;h=f1b70935f12bee7733f4f6c310fe5d438bac5188;hb=e7b6c157b80152bf9fb9266e6bdd93f9fb0db776;hp=2ea7cc433a29a62bd8e1e2df921ad14a20dab589;hpb=c257b555225193e54d85daf541d29578b3c93882;p=silc.git diff --git a/apps/autodist/tests/autodist1.test b/apps/autodist/tests/autodist1.test index 2ea7cc43..f1b70935 100755 --- a/apps/autodist/tests/autodist1.test +++ b/apps/autodist/tests/autodist1.test @@ -22,15 +22,24 @@ Makefile ) AC_OUTPUT echo configure.ad ok +#else !_DIST_DEFAULT +echo "ERROR" +exit 1 #endif _DIST_DEFAULT EOF cat << EOF > Makefile.ad -SUBDIRS= \ +SUBDIRS= \\ #ifdef _DIST_NODEF - nodef \ + nodef \\ + poa \\ + paa \\ #endif _DIST_NODEF -#endif + . \\ + . \\ + . \\ + . \\ + EOF rm -rf distdir subdir @@ -40,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 @@ -60,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 -