git: d7033e3b20b9 - main - unionfs7.sh: eliminate stderr redirection

Jason A. Harmening <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a88fa88.32d81.11762471__35001.6946833179$1787361948$gmane$org@gitrepo.freebsd.org>
The branch main has been updated by jah:

URL: https://cgit.FreeBSD.org/src/commit/?id=d7033e3b20b93e081ff2f1e923ff4925a42ae5dc

commit d7033e3b20b93e081ff2f1e923ff4925a42ae5dc
Author:     Jason A. Harmening <[email protected]>
AuthorDate: 2026-08-15 06:48:46 +0000
Commit:     Jason A. Harmening <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.