summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-08-07 08:33:23 -0400
committerTimo Teräs <timo.teras@iki.fi>2021-09-03 15:02:12 +0300
commita278d112877a0c347e42694d399d62ebbafc1dee (patch)
tree648f47404798ad3311b98b840d0647e518fdb66e /test/Makefile
parent984cd3e0b60d744e0b887ba2340c78b85eb991eb (diff)
downloadapk-tools-a278d112877a0c347e42694d399d62ebbafc1dee.tar.gz
apk-tools-a278d112877a0c347e42694d399d62ebbafc1dee.tar.bz2
apk-tools-a278d112877a0c347e42694d399d62ebbafc1dee.tar.xz
apk-tools-a278d112877a0c347e42694d399d62ebbafc1dee.zip
test: improve posix sh compatibility
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 9834668..a48387d 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -50,9 +50,9 @@ repos.stamp: $(repos)
fi; \
if ! APK="$(APK)" ROOT="$(testroot)" SYSREPO="$(SYSREPO)" sh -ex ./$< > $(basename $@).out 2>&1; then\
echo " FAIL";\
- printf "------------- output -------------\n" >&2;\
+ printf '%s\n' "------------- output -------------" >&2;\
cat $(basename $@).out >&2;\
- printf "----------------------------------\n" >&2;\
+ printf '%s\n' "----------------------------------" >&2;\
exit 1;\
fi ;\
echo " OK" ;\