mirror of
https://github.com/imjasonh/testscript-rs
synced 2026-07-08 09:05:34 +00:00
15 lines
323 B
Text
15 lines
323 B
Text
|
|
# 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
|