aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg-purge.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-01 19:34:28 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-02 20:22:21 +0300
commit5d81c755c77ab6b182ab713de29826bace79f466 (patch)
tree12899bc65027c4b92674a63484915911ce86ff70 /tests/pkg-purge.testscript
parent0e920ebda6b4e69da318cf5e9c4288c283f1e636 (diff)
Replace some testscript commands single-character options with their long variants for clarity
Diffstat (limited to 'tests/pkg-purge.testscript')
-rw-r--r--tests/pkg-purge.testscript10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/pkg-purge.testscript b/tests/pkg-purge.testscript
index 098541f..e48590c 100644
--- a/tests/pkg-purge.testscript
+++ b/tests/pkg-purge.testscript
@@ -63,7 +63,7 @@ $* libfoo 2>>/EOE != 0
{
$clone_cfg;
cp --no-cleanup $src/libfoo-1.0.0.tar.gz cfg/;
- $pkg_fetch -ep cfg/libfoo-1.0.0.tar.gz;
+ $pkg_fetch --purge --existing cfg/libfoo-1.0.0.tar.gz;
$* libfoo 2>'purged libfoo/1.0.0';
$pkg_status libfoo 1>'libfoo unknown';
@@ -122,7 +122,7 @@ $* libfoo 2>>/EOE != 0
$clone_cfg;
cp --no-cleanup -r $src/libfoo-1.1.0 cfg/;
- $pkg_unpack -ep cfg/libfoo-1.1.0;
+ $pkg_unpack --purge --existing cfg/libfoo-1.1.0;
$* libfoo 2>'purged libfoo/1.1.0';
$pkg_status libfoo 1>'libfoo unknown';
@@ -134,7 +134,7 @@ $* libfoo 2>>/EOE != 0
{
$clone_cfg;
cp --no-cleanup $src/libfoo-1.0.0.tar.gz cfg/;
- $pkg_fetch -ep cfg/libfoo-1.0.0.tar.gz && $pkg_unpack libfoo;
+ $pkg_fetch --purge --existing cfg/libfoo-1.0.0.tar.gz && $pkg_unpack libfoo;
$* libfoo 2>'purged libfoo/1.0.0';
$pkg_status libfoo 1>'libfoo unknown';
@@ -148,7 +148,7 @@ if ($posix && "$uid" != '0')
{
$clone_cfg;
cp --no-cleanup $src/libfoo-1.0.0.tar.gz cfg/;
- $pkg_fetch -ep cfg/libfoo-1.0.0.tar.gz;
+ $pkg_fetch --purge --existing cfg/libfoo-1.0.0.tar.gz;
$pkg_unpack libfoo;
chmod 000 cfg/libfoo-1.0.0;
@@ -159,7 +159,7 @@ if ($posix && "$uid" != '0')
$pkg_status libfoo/1.0.0 >'libfoo broken 1.0.0';
- $* -fk libfoo 2>'error: cannot keep broken package libfoo' != 0;
+ $* --force --keep libfoo 2>'error: cannot keep broken package libfoo' != 0;
$pkg_status libfoo/1.0.0 >'libfoo broken 1.0.0';
$* -f libfoo 2>>/EOE != 0;