git: d7033e3b20b9 - main - unionfs7.sh: eliminate stderr redirection
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 22 Aug 2026 01:25:28 UTC
The branch main has been updated by jah:
URL: https://cgit.FreeBSD.org/src/commit/?id=d7033e3b20b93e081ff2f1e923ff4925a42ae5dc
commit d7033e3b20b93e081ff2f1e923ff4925a42ae5dc
Author: Jason A. Harmening <jah@FreeBSD.org>
AuthorDate: 2026-08-15 06:48:46 +0000
Commit: Jason A. Harmening <jah@FreeBSD.org>
CommitDate: 2026-08-22 01:23:15 +0000
unionfs7.sh: eliminate stderr redirection
The bash-ism here results in an "ambiguous output redirect"
error when run under tcsh. Similar unionfs stress2 tests don't
do this, and unionfs7 doesn't seem to generate spurious output
when run locally, so just delete it.
Reviewed by: pho
Differential Revision: https://reviews.freebsd.org/D58856
---
tools/test/stress2/misc/unionfs7.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/test/stress2/misc/unionfs7.sh b/tools/test/stress2/misc/unionfs7.sh
index 9c00ba73e5c2..4168f7e92784 100755
--- a/tools/test/stress2/misc/unionfs7.sh
+++ b/tools/test/stress2/misc/unionfs7.sh
@@ -95,7 +95,7 @@ export TESTPROGS=`echo $TESTPROGS | sed 's/\n/ /g'`
set +e
chmod 777 $mp2
su $testuser -c \
- "(cd $mp2/stress2; ./testcases/run/run $TESTPROGS > /dev/null 2>&1)"
+ "(cd $mp2/stress2; ./testcases/run/run $TESTPROGS)"
while mount | grep -Eq "on $mp2 .*unionfs"; do
umount $mp2 && break