aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/pkg-build.test13
-rw-r--r--tests/pkg-update.test18
2 files changed, 5 insertions, 26 deletions
diff --git a/tests/pkg-build.test b/tests/pkg-build.test
index 7cf0375..10908bf 100644
--- a/tests/pkg-build.test
+++ b/tests/pkg-build.test
@@ -3138,10 +3138,7 @@ rep_fetch += -d cfg --auth all --trust-yes 2>!
disfigured libhello/1.0.0
using libhello/1.0.1 (external)
configured libhello/1.0.1
- %mkdir .+%+
- %c\+\+ .+%+
- %ld .+%+
- updated libhello/1.0.1
+ %(mkdir|c\+\+|ld|ar|updated) .+%{9}
EOE
}
@@ -3242,9 +3239,7 @@ rep_fetch += -d cfg --auth all --trust-yes 2>!
fetched libhello/1.0.1
unpacked libhello/1.0.1
configured libhello/1.0.1
- %c\+\+ .+%+
- %ld .+%+
- updated libhello/1.0.1
+ %(c\+\+|ld|ar|updated) .+%{7}
EOE
test -d cfg/libhello-1.0.1/;
@@ -3267,9 +3262,7 @@ rep_fetch += -d cfg --auth all --trust-yes 2>!
$* libhello 2>>~%EOE%;
configured libhello/1.0.1
- %c\+\+ .+%+
- %ld .+%+
- updated libhello/1.0.1
+ %(c\+\+|ld|ar|updated) .+%{7}
EOE
test -d cfg/libhello-1.0.1/;
diff --git a/tests/pkg-update.test b/tests/pkg-update.test
index 295aac4..a868ea2 100644
--- a/tests/pkg-update.test
+++ b/tests/pkg-update.test
@@ -104,13 +104,7 @@ $* 2>>EOE != 0
$pkg_configure libhello;
$* $j1 libhello 2>>~%EOE%;
- %c\+\+ .+%
- %ld .+%
- %c\+\+ .+%
- %ld .+%
- %c\+\+ .+%
- %ld .+%
- updated libhello/1.0.0
+ %(c\+\+|ar|ld|updated) .+%{7}
EOE
$* libhello 2>>~%EOE%;
@@ -130,15 +124,7 @@ $* 2>>EOE != 0
$pkg_unpack -e $src/libhello-1.0.0 && $pkg_configure libhello;
$* $j1 libhello 2>>~%EOE%;
- %mkdir .+%
- %mkdir .+%
- %c\+\+ .+%
- %ld .+%
- %c\+\+ .+%
- %ld .+%
- %c\+\+ .+%
- %ld .+%
- updated libhello/1.0.0
+ %(mkdir|c\+\+|ar|ld|updated) .+%{9}
EOE
$* libhello 2>>~%EOE%;