1 new test failure on Solaris 10 on sparc
1 new test failure on FreeBSD 13 on amd64
Both are the same false failure fixed with the attached.
cheers,
Pádraig
From 09ded7049bfe11036452334b2128c65e208fd453 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A1draig=20Brady?= <p...@draigbrady.com>
Date: Mon, 10 Apr 2023 18:51:34 +0100
Subject: [PATCH] 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.
---
tests/cp/backup-dir.sh | 4 ++--
1 file 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
--
2.26.2