1
0
Fork 0
mirror of https://github.com/imjasonh/testscript-rs synced 2026-07-08 17:16:38 +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

23
testdata/testscript_update_script.txt vendored Normal file
View file

@ -0,0 +1,23 @@
# Check that we support both txt and txtar extensions.
unquote scripts/testscript.txt
unquote testscript-new.txt
cp scripts/testscript.txt scripts/testscript2.txtar
testscript -update scripts
cmp scripts/testscript.txt testscript-new.txt
cmp scripts/testscript2.txtar testscript-new.txt
-- scripts/testscript.txt --
>fprintargs stdout right
>cmp stdout expect
>
>-- expect --
>wrong
-- testscript-new.txt --
>fprintargs stdout right
>cmp stdout expect
>
>-- expect --
>right