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:
commit
c39114f1a9
64 changed files with 8704 additions and 0 deletions
14
testdata/testscript_update_script_expected_not_in_archive.txt
vendored
Normal file
14
testdata/testscript_update_script_expected_not_in_archive.txt
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Verify that comparing stdout against a file not in the archive does nothing
|
||||
|
||||
unquote scripts/testscript.txt
|
||||
cp scripts/testscript.txt unchanged
|
||||
! testscript -update scripts
|
||||
cmp scripts/testscript.txt unchanged
|
||||
|
||||
-- scripts/testscript.txt --
|
||||
>fprintargs stdout right
|
||||
>cp file expect
|
||||
>cmp stdout expect
|
||||
>
|
||||
>-- file --
|
||||
>wrong
|
||||
Loading…
Add table
Add a link
Reference in a new issue