From d89c3e5e49f484c28569fed09f431240f557a677 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 27 Jul 2023 12:43:37 +0200 Subject: install-cas test: also verify the -P option --- test/end-to-end/remote-execution/install-cas.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test/end-to-end/remote-execution/install-cas.sh') diff --git a/test/end-to-end/remote-execution/install-cas.sh b/test/end-to-end/remote-execution/install-cas.sh index 0a2f16a2..32e34624 100644 --- a/test/end-to-end/remote-execution/install-cas.sh +++ b/test/end-to-end/remote-execution/install-cas.sh @@ -66,4 +66,17 @@ mkdir -p "${OUTDIR}/stdout" cmp "${OUTDIR}/stdout/local-raw" "${OUTDIR}/stdout/remote-raw" cmp "${OUTDIR}/stdout/local" "${OUTDIR}/stdout/remote" +# verify the -P option +"${JUST}" install-cas ${REMOTE_ARGS} -P deep/inside/path/hello.txt \ + -o "${OUTDIR}/path/remote" "${OUT}" 2>&1 +"${JUST}" install-cas ${LOCAL_ARGS} -P deep/inside/path/hello.txt \ + -o "${OUTDIR}/path/local" "${OUT}" 2>&1 +echo +ls -alR "${OUTDIR}/path" +[ -f "${OUTDIR}/path/remote" ] +grep World "${OUTDIR}/path/remote" +[ -f "${OUTDIR}/path/local" ] +grep World "${OUTDIR}/path/local" + + echo OK -- cgit v1.2.3