+2011-07-08 Stefano Lattarini <stefano.lattarini@gmail.com>
+
+ tests: portability fixes in tests on amhello examples
+ * tests/amhello-binpkg.test: Don't use "tar xzf too.tag.gz" to
+ extract a gzip-compressed tarball, that's unportable to some
+ tar implementations; use the "gzip -dc fo.tar.gz | tar xf -"
+ idiom instead.
+ * tests/amhello-cflags.test: Likewise.
+ * tests/amhello-cross-compile.test: Likewise.
+ Suggestion from Ralf Wildenhues.
+
2011-07-01 Stefano Lattarini <stefano.lattarini@gmail.com>
docs, tests: synchronize examples from docs to tests
cp "$testsrcdir"/../doc/amhello-1.0.tar.gz . \
|| fatal_ "cannot get amhello tarball"
-tar zxf amhello-1.0.tar.gz
+gzip -dc amhello-1.0.tar.gz | tar xf -
cd amhello-1.0
./configure --prefix /usr
cp "$testsrcdir"/../doc/amhello-1.0.tar.gz . \
|| fatal_ "cannot get amhello tarball"
-tar zxf amhello-1.0.tar.gz
+gzip -dc amhello-1.0.tar.gz | tar xf -
cd amhello-1.0
+
mkdir debug optim
cd debug
../configure CFLAGS='-g -O0'
|| fatal_ "cannot guess build platform"
case $build in *mingw*) skip_ "build system is MinGW too";; esac
-tar zxf amhello-1.0.tar.gz
+gzip -dc amhello-1.0.tar.gz | tar xf -
cd amhello-1.0
./configure --build "$build" --host "$host" > stdout \