aboutsummaryrefslogtreecommitdiff
path: root/tests/agent/testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-19 10:33:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-19 10:33:24 +0200
commitf5b11ba042f96905d15b16b4127b65cb639d2ff8 (patch)
tree6bfed0d58049b01a95b8bf3fb31a6803d665d977 /tests/agent/testscript
parentefa53d6ad8797310b10d299408c2e3fa33978e27 (diff)
Minor improvement
Diffstat (limited to 'tests/agent/testscript')
-rw-r--r--tests/agent/testscript20
1 files changed, 9 insertions, 11 deletions
diff --git a/tests/agent/testscript b/tests/agent/testscript
index 6e9d319..c5396b4 100644
--- a/tests/agent/testscript
+++ b/tests/agent/testscript
@@ -28,13 +28,12 @@ rm = $src_base/btrfs-rmdir /build/machines
test.options += --dump-machines --fake-bootstrap
m = /build/machines/default/linux-gcc
- u = https://example.org/?dummy
+$cp
: no-current-machine-symlink
:
- $* --toolchain-id 123 $u 2>>"EOE"
+ $* --toolchain-id 123 2>>"EOE"
trace: enumerate_machines: skipping $m/: no subvolume link
EOE
@@ -42,7 +41,7 @@ rm = $src_base/btrfs-rmdir /build/machines
: bootstrap
:
- $* --toolchain-id 123 $u >>EOO 2>>~"%EOE%d"
+ $* --toolchain-id 123 >>EOO 2>>~"%EOE%d"
: 1
id: linux-gcc-1.0
name: linux-gcc
@@ -57,7 +56,7 @@ rm = $src_base/btrfs-rmdir /build/machines
: re-bootstrap-machine
:
- $* --toolchain-id 123 $u >>EOO 2>>~"%EOE%d"
+ $* --toolchain-id 123 >>EOO 2>>~"%EOE%d"
: 1
id: linux-gcc-1.1
name: linux-gcc
@@ -72,7 +71,7 @@ rm = $src_base/btrfs-rmdir /build/machines
: re-bootstrap-toolchain
:
- $* --toolchain-id 124 $u >>EOO 2>>~"%EOE%d"
+ $* --toolchain-id 124 >>EOO 2>>~"%EOE%d"
: 1
id: linux-gcc-1.1
name: linux-gcc
@@ -89,7 +88,7 @@ rm = $src_base/btrfs-rmdir /build/machines
: re-bootstrap-bbot
:
- $* --toolchain-id 124 $u >>EOO 2>>~"%EOE%d"
+ $* --toolchain-id 124 >>EOO 2>>~"%EOE%d"
: 1
id: linux-gcc-1.1
name: linux-gcc
@@ -106,7 +105,7 @@ rm = $src_base/btrfs-rmdir /build/machines
: re-bootstrap-bbot-newer
:
- $* --toolchain-id 124 $u 2>>~"%EOE%d"
+ $* --toolchain-id 124 2>>~"%EOE%d"
%trace: enumerate_machines: btrfs subvolume snapshot $m/linux-gcc-1.1 $m/linux-gcc-default-\\.+%
trace: enumerate_machines: ignoring $m/linux-gcc-default/: old bbot
%trace: enumerate_machines: btrfs subvolume delete $m/linux-gcc-default-\\.+%
@@ -121,15 +120,14 @@ rm = $src_base/btrfs-rmdir /build/machines
test.options += --fake-bootstrap --fake-build --fake-request -
m = /build/machines/default/linux-gcc
- u = https://example.org/?dummy
+$cp
+ln -T -s linux-gcc-1.0 $m/linux-gcc-1
- +$* --dump-machines --verbose 1 $u >- # Bootstrap.
+ +$* --dump-machines --verbose 1 >- # Bootstrap.
: no-machine
:
- $* --dump-task $u <<EOI 2>>~"%EOE%d"
+ $* --dump-task <<EOI 2>>~"%EOE%d"
: 1
name: foo
version: 1.2.3
@@ -142,7 +140,7 @@ rm = $src_base/btrfs-rmdir /build/machines
: result
:
- $* --dump-result $u <<EOI >>EOO 2>>~"%EOE%d"
+ $* --dump-result <<EOI >>EOO 2>>~"%EOE%d"
: 1
name: foo
version: 1.2.3