File: testscript_update_script.txt

package info (click to toggle)
golang-github-rogpeppe-go-internal 1.12.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,184 kB
  • sloc: makefile: 6
file content (23 lines) | stat: -rw-r--r-- 479 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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