From 406ee1b8c0f6c2ca3e3cd1281eee6dd59e473a68 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Fri, 29 Jul 2022 16:20:18 +0200 Subject: InstallCas: Add test for reading large blobs via install-cas --- test/end-to-end/remote-execution/large-blobs.sh | 70 +++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 test/end-to-end/remote-execution/large-blobs.sh (limited to 'test/end-to-end/remote-execution/large-blobs.sh') diff --git a/test/end-to-end/remote-execution/large-blobs.sh b/test/end-to-end/remote-execution/large-blobs.sh new file mode 100644 index 00000000..b4f7add5 --- /dev/null +++ b/test/end-to-end/remote-execution/large-blobs.sh @@ -0,0 +1,70 @@ +#!/bin/sh + +set -eu + +readonly JUST="${PWD}/bin/tool-under-test" + +# create a sufficiently large (>4MB) file for testing upload/download (16MB) +dd if=/dev/zero of=large.file bs=1024 count=$((16*1024)) + +touch ROOT +cat > TARGETS <