aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg-update.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkg-update.testscript')
-rw-r--r--tests/pkg-update.testscript5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/pkg-update.testscript b/tests/pkg-update.testscript
index c50b026..89833d4 100644
--- a/tests/pkg-update.testscript
+++ b/tests/pkg-update.testscript
@@ -1,5 +1,4 @@
# file : tests/pkg-update.testscript
-# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
.include common.testscript auth.testscript config.testscript remote.testscript
@@ -36,7 +35,7 @@
# Prepare repositories used by tests if running in the local mode.
#
-+if ($remote != true)
++if! $remote
rep_create += 2>!
# Create the signed 'hello' repository.
@@ -48,7 +47,7 @@
&$out/hello/signature.manifest
end
-config_cxx = config.cxx=$quote($recall($cxx.path) $cxx.mode, true)
+config_cxx = [cmdline] config.cxx=$quote($recall($cxx.path) $cxx.config.mode, true)
pkg_configure += -d cfg $config_cxx 2>!
pkg_disfigure += -d cfg