1
0
Fork 0
mirror of https://github.com/imjasonh/testscript-rs synced 2026-07-13 11:27:00 +00:00

initial commit

Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
Jason Hall 2025-09-26 18:41:14 -04:00
commit c39114f1a9
64 changed files with 8704 additions and 0 deletions

View file

@ -0,0 +1,17 @@
# Test directory listing
# Create some files and directories first
mkdir test_dir
exec ./sample-cli create test_dir/nested_file.txt --content "nested"
# List current directory
exec ./sample-cli list
stdout "FILE.*existing_file.txt"
stdout "DIR.*test_dir"
# List specific directory
exec ./sample-cli list test_dir
stdout "FILE.*nested_file.txt"
-- existing_file.txt --
This file exists