From 767f80e7296c41a4428c73cadc90b953d252f8d7 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 28 Aug 2025 20:09:50 +0100 Subject: e2e-tests: Add tests based off of examples in the ccwl manual. --- e2e-tests/tools/capture-output-file-with-parameter-reference.scm | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 e2e-tests/tools/capture-output-file-with-parameter-reference.scm (limited to 'e2e-tests/tools/capture-output-file-with-parameter-reference.scm') diff --git a/e2e-tests/tools/capture-output-file-with-parameter-reference.scm b/e2e-tests/tools/capture-output-file-with-parameter-reference.scm new file mode 100644 index 0000000..6bc4b7d --- /dev/null +++ b/e2e-tests/tools/capture-output-file-with-parameter-reference.scm @@ -0,0 +1,9 @@ +(define extract-specific-file + (command #:inputs (archive #:type File) (extractfile #:type string) + #:run "tar" "--extract" "--file" archive extractfile + #:outputs (extracted_file + #:type File + #:binding ((glob . "$(inputs.extractfile)"))))) + +(workflow ((archive #:type File) (extractfile #:type string)) + (extract-specific-file #:archive archive #:extractfile extractfile)) -- cgit 1.4.1