aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-05-31 13:20:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-05-31 13:20:50 +0200
commitdeecf4971fbc90b472135e30387bc76e9788061b (patch)
tree3b7986034e267a66ce9b37e400580f2397fe3be3 /tests
parent760d75fad0148a053bae06905e46fe99e641135d (diff)
Reorder tar options in tests
Diffstat (limited to 'tests')
-rw-r--r--tests/pkg-build.testscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/pkg-build.testscript b/tests/pkg-build.testscript
index bb6b207..b5954f2 100644
--- a/tests/pkg-build.testscript
+++ b/tests/pkg-build.testscript
@@ -1525,7 +1525,7 @@ test.options += --no-progress
#
r = 1/t9-1
+cp -r $rep/t9 $r && \
- tar xfz $r/libbar-1.0.0.tar.gz -C $r && \
+ tar xzf $r/libbar-1.0.0.tar.gz -C $r && \
mv $r/libbar-1.0.0 $r/libbar-2.0.0 && \
sed -i -e 's/(version:).+/\1 2.0.0/' $r/libbar-2.0.0/manifest && \
tar cfz $r/libbar-2.0.0.tar.gz -C $r libbar-2.0.0 &$r/libbar-2.0.0.tar.gz && \
@@ -1537,7 +1537,7 @@ test.options += --no-progress
#
r = 1/t9-2
+cp -r 1/t9-1 $r && \
- tar xfz $r/libbaz-1.0.0.tar.gz -C $r && \
+ tar xzf $r/libbaz-1.0.0.tar.gz -C $r && \
mv $r/libbaz-1.0.0 $r/libbaz-2.0.0 && \
sed -i -e 's/(version:).+/\1 2.0.0/' -e 's/(depends: libbar).+/\1 ^2.0.0/' $r/libbaz-2.0.0/manifest && \
tar cfz $r/libbaz-2.0.0.tar.gz -C $r libbaz-2.0.0 &$r/libbaz-2.0.0.tar.gz && \
@@ -1549,7 +1549,7 @@ test.options += --no-progress
#
r = 1/t9-3
+cp -r 1/t9-2 $r && \
- tar xfz $r/libbox-1.0.0.tar.gz -C $r && \
+ tar xzf $r/libbox-1.0.0.tar.gz -C $r && \
mv $r/libbox-1.0.0 $r/libbox-1.1.0 && \
sed -i -e 's/(version:).+/\1 1.1.0/' $r/libbox-1.1.0/manifest && \
tar cfz $r/libbox-1.1.0.tar.gz -C $r libbox-1.1.0 &$r/libbox-1.1.0.tar.gz && \
@@ -4032,7 +4032,7 @@ test.options += --no-progress
{
+$clone_cfg
- +tar (!$posix ? --force-local : ) -xfz $src/t8a/fax-1.0.0.tar.gz &fax-1.0.0/***
+ +tar (!$posix ? --force-local : ) -xzf $src/t8a/fax-1.0.0.tar.gz &fax-1.0.0/***
+mv fax-1.0.0 fax
: change-manifest