Debian Codegraph @

testscript/testdata/testscript_update_script.txt

raw
1 # Check that we support both txt and txtar extensions.
2
3 unquote scripts/testscript.txt
4 unquote testscript-new.txt
5
6 cp scripts/testscript.txt scripts/testscript2.txtar
7
8 testscript -update scripts
9 cmp scripts/testscript.txt testscript-new.txt
10 cmp scripts/testscript2.txtar testscript-new.txt
11
12 -- scripts/testscript.txt --
13 >fprintargs stdout right
14 >cmp stdout expect
15 >
16 >-- expect --
17 >wrong
18 -- testscript-new.txt --
19 >fprintargs stdout right
20 >cmp stdout expect
21 >
22 >-- expect --
23 >right