diff options
| author | Arun Isaac | 2025-08-28 20:09:50 +0100 |
|---|---|---|
| committer | Arun Isaac | 2025-11-16 22:42:59 +0000 |
| commit | 767f80e7296c41a4428c73cadc90b953d252f8d7 (patch) | |
| tree | ce32736718146b2c01dd27c5627503786f33b505 /e2e-tests/tools/capture-output-file.scm | |
| parent | 8b4d0320cbc2f07c9040aee7b6e7e4fb1fe08a91 (diff) | |
| download | ravanan-767f80e7296c41a4428c73cadc90b953d252f8d7.tar.gz ravanan-767f80e7296c41a4428c73cadc90b953d252f8d7.tar.lz ravanan-767f80e7296c41a4428c73cadc90b953d252f8d7.zip | |
e2e-tests: Add tests based off of examples in the ccwl manual.
Diffstat (limited to 'e2e-tests/tools/capture-output-file.scm')
| -rw-r--r-- | e2e-tests/tools/capture-output-file.scm | 9 |
1 files changed, 9 insertions, 0 deletions
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)) |
