]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* tests/amhello-binpkg.test: Add missing $EXEEXT usage.
authorPeter Rosin <peda@lysator.liu.se>
Mon, 5 Sep 2011 09:30:17 +0000 (11:30 +0200)
committerPeter Rosin <peda@lysator.liu.se>
Mon, 5 Sep 2011 13:46:26 +0000 (15:46 +0200)
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
ChangeLog
tests/amhello-binpkg.test

index add6c9c50f5c7193ddbeb4234c1b1cda743457d8..b768311afecd38a1a1795ed02ba7c6650588af8f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
-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.
index f11421ff6886065a0b2978e049428f1392fa22d5..59813cc70abe99460afb22b2efcd952fcd30d718 100755 (executable)
@@ -34,16 +34,18 @@ cd inst
 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