-2011-09-04 Stefano Lattarini <stefano.lattarini@gmail.com>
+2011-09-05 Peter Rosin <peda@lysator.liu.se>
+
+ * tests/amhello-binpkg.test: Add missing $EXEEXT usage.
+
+2011-09-04 Stefano Lattarini <stefano.lattarini@gmail.com>
fix: list test 'vala-vpath.test' in XFAIL_TESTS
* tests/Makefile.am (XFAIL_TESTS): Update.
find . -type f -print > ../files.lst
tar cvf amhello-1.0-i686.tar.gz `cat ../files.lst` > tar.got 2>&1
+EXEEXT=`sed -n -e 's/^EXEEXT *= *//p' < ../Makefile`
+
if tar --version </dev/null | grep GNU; then
LC_ALL=C sort tar.got > t
mv -f t tar.got
- diff - tar.got <<'END'
-./usr/bin/hello
+ diff - tar.got <<END
+./usr/bin/hello$EXEEXT
./usr/share/doc/amhello/README
END
else
: Be laxer with other tar implementations, to avoid spurious failures.
- $EGREP '(^| )\./usr/bin/hello( |$)' tar.got
+ $EGREP '(^| )\./usr/bin/hello'$EXEEXT'( |$)' tar.got
$EGREP '(^| )\./usr/share/doc/amhello/README( |$)' tar.got
fi