From 70278c8796f6c829e34203d10c22d2920fb4e8cf Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Thu, 1 Mar 2018 23:30:49 +0100 Subject: [PATCH] emulating 'cp -s' behaviour #31 --- test/Makefile.am | 8 ++++---- test/Makefile.in | 8 ++++---- test/test.zip | Bin 1361 -> 1361 bytes 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/test/Makefile.am b/test/Makefile.am index fc4ae2e..ac29b64 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -45,11 +45,11 @@ check-local: check-readme $(sfxtests) $(newtests) check-tests: tests tests: - @ test -f zziptests.py || cp -s -v $(srcdir)/zziptests.py . - python zziptests.py --exeext "$(EXEEXT)" --topsrcdir "$(top_srcdir)" + @ test -f zziptests.py || ln -s -v $(srcdir)/zziptests.py . || cp -v $(srcdir)/zziptests.py . + $(PYTHON) zziptests.py --exeext "$(EXEEXT)" --topsrcdir "$(top_srcdir)" test_%: - @ test -f zziptests.py || cp -s -v $(srcdir)/zziptests.py . - python zziptests.py $@ -vvvv --exeext "$(EXEEXT)" --topsrcdir "$(top_srcdir)" + @ test -f zziptests.py || ln -s -v $(srcdir)/zziptests.py . || cp -v $(srcdir)/zziptests.py . + $(PYTHON) zziptests.py $@ -vvvv --exeext "$(EXEEXT)" --topsrcdir "$(top_srcdir)" check-readme : $(zzcat) test.zip @ test -f test.zip || $(MAKE) test0.zip diff --git a/test/Makefile.in b/test/Makefile.in index 984db8e..af2c8f6 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -680,11 +680,11 @@ check-local: check-readme $(sfxtests) $(newtests) check-tests: tests tests: - @ test -f zziptests.py || cp -s -v $(srcdir)/zziptests.py . - python zziptests.py --exeext "$(EXEEXT)" --topsrcdir "$(top_srcdir)" + @ test -f zziptests.py || ln -s -v $(srcdir)/zziptests.py . || cp -v $(srcdir)/zziptests.py . + $(PYTHON) zziptests.py --exeext "$(EXEEXT)" --topsrcdir "$(top_srcdir)" test_%: - @ test -f zziptests.py || cp -s -v $(srcdir)/zziptests.py . - python zziptests.py $@ -vvvv --exeext "$(EXEEXT)" --topsrcdir "$(top_srcdir)" + @ test -f zziptests.py || ln -s -v $(srcdir)/zziptests.py . || cp -v $(srcdir)/zziptests.py . + $(PYTHON) zziptests.py $@ -vvvv --exeext "$(EXEEXT)" --topsrcdir "$(top_srcdir)" check-readme : $(zzcat) test.zip @ test -f test.zip || $(MAKE) test0.zip diff --git a/test/test.zip b/test/test.zip index ffa4e6b5fecdb89058204fe523ed9967c83a4986..7a505805ddbdc59e7430462dbe26f6b2f71d4635 100644 GIT binary patch delta 47 zcmcb}b&-oFz?+#xgn@y9gW=fji9E9GpX+8s0r5tI(=1HKc2EAxqRkBCPS$2s0|0RL B5f%Ud delta 47 zcmcb}b&-oFz?+#xgn@y9gW;yYL>^got)S^qK)li5Gz-&BfysYaw3&h2$=a-H03xgn A1ONa4 -- 2.40.0