aboutsummaryrefslogtreecommitdiff
path: root/tests/rep-remove.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rep-remove.testscript')
-rw-r--r--tests/rep-remove.testscript7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/rep-remove.testscript b/tests/rep-remove.testscript
index b675a3f..92a974b 100644
--- a/tests/rep-remove.testscript
+++ b/tests/rep-remove.testscript
@@ -1,5 +1,4 @@
# file : tests/rep-remove.testscript
-# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
.include common.testscript \
@@ -35,14 +34,14 @@
# Prepare repositories used by tests if running in the local mode.
#
-+if ($remote != true)
++if! $remote
cp -r $src/extra $out/extra
cp -r $src/math $out/math
cp -r $src/stable $out/stable
cp -r $src/testing $out/testing
cp -r $src/alpha $out/alpha
- c = $rep_create 2>!
+ c = [cmdline] $rep_create 2>!
$c $out/extra &$out/extra/packages.manifest
$c $out/math &$out/math/packages.manifest
@@ -188,7 +187,7 @@ pkg_status += -d cfg
: git-rep
:
-if ($git_supported != true)
+if! $git_supported
{
# Skip git repository tests.
#