From c71b6162fa8e41f8d265f63ebe20a318ba7e0932 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 14 Jun 2014 02:44:43 -0400 Subject: Add patch to fix tests output. --- diff --git a/patches/01_fix-tests-output.patch b/patches/01_fix-tests-output.patch new file mode 100644 index 0000000..120b9a8 --- /dev/null +++ b/patches/01_fix-tests-output.patch @@ -0,0 +1,33 @@ +Author: "P. J. McDermott" +Subject: Fix tests output + +ProteanOS's BusyBox is built without support for echo's -n option, so this +happens: + + if [ 'xamd64-linux-glibc' = 'xamd64-linux-glibc' ]; then \ + oh-autotest; \ + fi + make[1]: Entering directory `/usr/src/pkgconf_0.9.6-1/tmp/src' + /bin/sh tests/run.sh ./pkgconf + -n . + -n . + -n . + [...] + -n . + -n . + + 83 tests done. All succeeded. + make[1]: Leaving directory `/usr/src/pkgconf_0.9.6-1/tmp/src' + +diff -Naur src.orig/tests/run.sh.in src/tests/run.sh.in +--- src.orig/tests/run.sh.in 2014-06-07 16:32:08.000000000 -0400 ++++ src/tests/run.sh.in 2014-06-14 02:12:18.663272084 -0400 +@@ -34,7 +34,7 @@ + done + + if [ ${t_ret} -eq 0 ]; then +- echo -n "." ++ printf "." + else + failed=$(( failed + 1 )) + fi -- cgit v0.9.1