mirror of
https://git.tukaani.org/xz.git
synced 2025-10-05 16:58:17 +00:00
tests/test_suffix.sh: Avoid variables in printf format string
This commit is contained in:
parent
a2c6aa8764
commit
41a421dbad
@ -118,8 +118,8 @@ else
|
||||
fi
|
||||
|
||||
# Create two temporary files to be used with --files and --files0.
|
||||
printf "$SUFFIX_INPUT\n" > "$SUFFIX_INPUT_FILES"
|
||||
printf "$SUFFIX_INPUT\0" > "$SUFFIX_INPUT_FILES0"
|
||||
printf '%s\n' "$SUFFIX_INPUT" > "$SUFFIX_INPUT_FILES"
|
||||
printf '%s\0' "$SUFFIX_INPUT" > "$SUFFIX_INPUT_FILES0"
|
||||
|
||||
# Test proper handling of --files/--files0 when no suffix is set. This
|
||||
# must result in an error because xz does not know how to rename the output
|
||||
|
Loading…
x
Reference in New Issue
Block a user