diff options
author | Pádraig Brady <P@draigBrady.com> | 2023-04-10 18:51:34 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2023-04-10 18:54:19 +0100 |
commit | 09ded7049bfe11036452334b2128c65e208fd453 (patch) | |
tree | eb107fa1a094041eecc53d5bc774464a3cb3ec72 /tests | |
parent | ffd62ab92c259d513a419b4078a45f1c658dc774 (diff) | |
download | coreutils-09ded7049bfe11036452334b2128c65e208fd453.tar.gz |
tests: avoid non portable brace expansion
* tests/cp/backup-dir.sh: Avoid non portable brace expansion
which is not supported by FreeBSD or Solaris shells at least.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/cp/backup-dir.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cp/backup-dir.sh b/tests/cp/backup-dir.sh index 5c17498cf..c05d9561a 100755 --- a/tests/cp/backup-dir.sh +++ b/tests/cp/backup-dir.sh @@ -31,8 +31,8 @@ test -d y/x~ && fail=1 # Bug 62607. # This would fail to backup using rename, and thus fail to replace the file -mkdir -p {src,dst}/foo || framework_failure_ -touch {src,dst}/foo/bar || framework_failure_ +mkdir -p src/foo dst/foo || framework_failure_ +touch src/foo/bar dst/foo/bar || framework_failure_ cp --recursive --backup src/* dst || fail=1 Exit $fail |