1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-31 16:57:10 +00:00

Improve output when a test fails.

Approved by:	rwatson (mentor)
This commit is contained in:
Edward Tomasz Napierala 2008-11-07 14:45:42 +00:00
parent f8dcc5a8f7
commit 74019bf2bc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184748

View File

@ -27,7 +27,7 @@ expect()
if [ $? -eq 0 ]; then
echo "ok ${ntest}"
else
echo "not ok ${ntest}"
echo "not ok ${ntest} - tried '$*', expected ${e}, got ${r}"
fi
ntest=`expr $ntest + 1`
}
@ -43,7 +43,7 @@ jexpect()
if [ $? -eq 0 ]; then
echo "ok ${ntest}"
else
echo "not ok ${ntest}"
echo "not ok ${ntest} - tried '$*', expected ${e}, got ${r}"
fi
ntest=`expr $ntest + 1`
}