File: testscript_update_script_expected_not_in_archive.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 (14 lines) | stat: -rw-r--r-- 323 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
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