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.scm | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 e2e-tests/tools/capture-output-file.scm (limited to 'e2e-tests/tools/capture-output-file.scm') diff --git a/e2e-tests/tools/capture-output-file.scm b/e2e-tests/tools/capture-output-file.scm new file mode 100644 index 0000000..80b4654 --- /dev/null +++ b/e2e-tests/tools/capture-output-file.scm @@ -0,0 +1,9 @@ +(define extract + (command #:inputs (archive #:type File) + #:run "tar" "--extract" "--file" archive + #:outputs (extracted_file + #:type File + #:binding ((glob . "hello.txt"))))) + +(workflow ((archive #:type File)) + (extract #:archive archive)) -- cgit 1.4.1