From 7e503da6c18c50e03d3cb1f5d7490f3c805f3b63 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Tue, 6 May 2025 16:31:00 +0200 Subject: Tests: Assume only parents of out_dirs exist ... instead of the full out_dir path, which is not guaranteed by the RBE protocol. --- test/end-to-end/remote-execution/native-protocol.sh | 2 +- test/end-to-end/remote-execution/split-splice.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'test/end-to-end/remote-execution') diff --git a/test/end-to-end/remote-execution/native-protocol.sh b/test/end-to-end/remote-execution/native-protocol.sh index 00e1dd91..99ed1475 100644 --- a/test/end-to-end/remote-execution/native-protocol.sh +++ b/test/end-to-end/remote-execution/native-protocol.sh @@ -59,7 +59,7 @@ EOF cat > TARGETS < TARGETS <<'EOF' { "type": "generic" , "out_dirs": ["tree"] , "cmds": - [ "for i in $(seq 21846); do echo foo > tree/$(printf '%0192d' $i).txt; done" + [ "mkdir -p tree" + , "for i in $(seq 21846); do echo foo > tree/$(printf '%0192d' $i).txt; done" , "echo foo > tree/magic_word.txt" ] } -- cgit v1.2.3