1
0
Fork 0
mirror of https://github.com/imjasonh/testscript-rs synced 2026-07-08 00:55:52 +00:00
testscript-rs/testdata/testscript_duplicate_name.txt
Jason Hall c39114f1a9 initial commit
Signed-off-by: Jason Hall <jason@chainguard.dev>
2025-09-26 18:41:14 -04:00

12 lines
No EOL
389 B
Text

# 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 --