aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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