aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-03-02 17:13:33 -0600
committerRob Landley <rob@landley.net>2020-03-02 17:13:33 -0600
commite86ad7d43ba18c0bcdc374a5ab86a3d12a3c4669 (patch)
tree091d4d0ae100e8d6210772193596aa653078fa4a
parent86f4e10cb03af034eb436dce24d79c16a5aade08 (diff)
downloadtoybox-e86ad7d43ba18c0bcdc374a5ab86a3d12a3c4669.tar.gz
Say command name before test result with txpect too.
-rw-r--r--scripts/runtest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runtest.sh b/scripts/runtest.sh
index 75872c9e..04af2f8b 100644
--- a/scripts/runtest.sh
+++ b/scripts/runtest.sh
@@ -178,7 +178,7 @@ do_fail()
txpect()
{
# Run command with redirection through fifos
- NAME="$1"
+ NAME="$CMDNAME $1"
CASE=
if [ $# -lt 2 ] || ! mkfifo in-$$ out-$$ err-$$