mirror of
https://github.com/imjasonh/testscript-rs
synced 2026-07-08 17:16:38 +00:00
initial commit
Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
commit
c39114f1a9
64 changed files with 8704 additions and 0 deletions
12
testdata/testscript_duplicate_name.txt
vendored
Normal file
12
testdata/testscript_duplicate_name.txt
vendored
Normal file
|
|
@ -0,0 +1,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 --
|
||||
Loading…
Add table
Add a link
Reference in a new issue