mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 03:12:48 +02:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user