aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg-build.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-03-16 15:53:20 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-03-16 15:53:20 +0300
commit54dce2b58b77dd8a5ff7c20a27b4bdbfec1c6e46 (patch)
treea9420a208fc264901681ca7df61347f9b954e9a9 /tests/pkg-build.test
parenta791b1ce0fa2bc9859474fb6f7a9c0ff8cbd1d4a (diff)
Make use of >! redirect in testscripts
Diffstat (limited to 'tests/pkg-build.test')
-rw-r--r--tests/pkg-build.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/pkg-build.test b/tests/pkg-build.test
index 763574b..af9780b 100644
--- a/tests/pkg-build.test
+++ b/tests/pkg-build.test
@@ -50,7 +50,7 @@
# Prepare repositories used by tests if running in the local mode.
#
+if ($remote != true)
- rep_create += 2>-
+ rep_create += 2>!
cp -r $src/t1 $out/t1 && $rep_create $out/t1 &$out/t1/packages
cp -r $src/t2 $out/t2 && $rep_create $out/t2 &$out/t2/packages
@@ -62,14 +62,14 @@
cp -r $src/t5 $out/t5 && $rep_create $out/t5 &$out/t5/packages
end
-pkg_configure += -d cfg "config.cxx=$config.cxx" 2>-
+pkg_configure += -d cfg "config.cxx=$config.cxx" 2>!
pkg_disfigure += -d cfg
-pkg_fetch += -d cfg 2>-
+pkg_fetch += -d cfg 2>!
pkg_purge += -d cfg
pkg_status += -d cfg
-pkg_unpack += -d cfg 2>-
-rep_add += -d cfg 2>-
-rep_fetch += -d cfg --auth all --trust-yes 2>-
+pkg_unpack += -d cfg 2>!
+rep_add += -d cfg 2>!
+rep_fetch += -d cfg --auth all --trust-yes 2>!
: libfoo
: