diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2023-08-21 17:33:42 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2023-08-21 17:33:42 +0000 |
commit | 2b7d40ea0c8e96b1322488f9154c89a7a7dd55e7 (patch) | |
tree | 5280e4e4936ebb72ad062c587af08d1ebc068892 /scripts/runtests.sh | |
parent | 9b3517a49d4e15b97a68bf9e9d68ddda104bf79d (diff) | |
download | src-2b7d40ea0c8e96b1322488f9154c89a7a7dd55e7.tar.gz src-2b7d40ea0c8e96b1322488f9154c89a7a7dd55e7.zip |
Diffstat (limited to 'scripts/runtests.sh')
-rwxr-xr-x | scripts/runtests.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/runtests.sh b/scripts/runtests.sh index 6a2682fa4b7b..452f0e9e06e1 100755 --- a/scripts/runtests.sh +++ b/scripts/runtests.sh @@ -10,6 +10,11 @@ do sh ./${cmd} >${t}.out 2>${t}.err echo $? >${t}.rc + # strip carriage returns from error output + # in case we are trying to run on MinGW + tr -d '
' >${t}.xerr <${t}.err + mv ${t}.xerr ${t}.err + ok=true for e in out err rc do |