File: testscript_duplicate_name.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 (12 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
# Check that RequireUniqueNames works;
# it should reject txtar archives with duplicate names as defined by the host system.

unquote scripts-normalized/testscript.txt

testscript scripts-normalized
! testscript -unique-names scripts-normalized
stdout '.* would overwrite .* \(because RequireUniqueNames is enabled\)'

-- scripts-normalized/testscript.txt --
>-- file --
>-- dir/../file --