Fix for bug 377971 - remove the word "failed" from the strings of passing tests. r=nelson

git-svn-id: svn://10.0.0.236/trunk@224712 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
julien.pierre.bugs%sun.com
2007-04-19 00:23:46 +00:00
parent d55b9a2791
commit a7f306f00a

View File

@@ -119,14 +119,14 @@ dbtest_main()
if [ $ret -ne 255 ]; then
html_failed "<TR><TD> Certutil succeeded in a nonexisting directory $ret"
else
html_passed "<TR><TD> Certutil failed in a nonexisting dir $ret"
html_passed "<TR><TD> Certutil didn't work in a nonexisting dir $ret"
fi
dbtest -r -d ./non_existant_dir
ret=$?
if [ $ret -ne 46 ]; then
html_failed "<TR><TD> Dbtest readonly succeeded in a nonexisting directory $ret"
else
html_passed "<TR><TD> Dbtest readonly failed in a nonexisting dir $ret"
html_passed "<TR><TD> Dbtest readonly didn't work in a nonexisting dir $ret"
fi
Echo "test force opening the database in a nonexisting directory"
@@ -145,14 +145,14 @@ dbtest_main()
if [ $ret -ne 1 ]; then
html_failed "<TR><TD> Tstclnt succeded in an empty directory $ret"
else
html_passed "<TR><TD> Tstclnt failed in an empty dir $ret"
html_passed "<TR><TD> Tstclnt didn't work in an empty dir $ret"
fi
dbtest -r -d $EMPTY_DIR
ret=$?
if [ $ret -ne 46 ]; then
html_failed "<TR><TD> Dbtest readonly succeeded in an empty directory $ret"
else
html_passed "<TR><TD> Dbtest readonly failed in an empty dir $ret"
html_passed "<TR><TD> Dbtest readonly didn't work in an empty dir $ret"
fi
rm -rf $EMPTY_DIR/* 2>/dev/null
certutil -D -n xxxx -d $EMPTY_DIR #created DB
@@ -160,7 +160,7 @@ dbtest_main()
if [ $ret -ne 255 ]; then
html_failed "<TR><TD> Certutil succeeded in deleting a cert in an empty directory $ret"
else
html_passed "<TR><TD> Certutil failed in an empty dir $ret"
html_passed "<TR><TD> Certutil didn't work in an empty dir $ret"
fi
rm -rf $EMPTY_DIR/* 2>/dev/null
Echo "test force opening the database readonly in a empty directory"
@@ -191,14 +191,14 @@ dbtest_main()
if [ $ret -ne 46 ]; then
html_failed "<TR><TD> Dbtest r/w succeeded in an readonly directory $ret"
else
html_passed "<TR><TD> Dbtest r/w failed in an readonly dir $ret"
html_passed "<TR><TD> Dbtest r/w didn't work in an readonly dir $ret"
fi
certutil -D -n "TestUser" -d .
ret=$?
if [ $ret -ne 255 ]; then
html_failed "<TR><TD> Certutil succeeded in deleting a cert in an readonly directory $ret"
else
html_passed "<TR><TD> Certutil failed in an readonly dir $ret"
html_passed "<TR><TD> Certutil didn't work in an readonly dir $ret"
fi
Echo "test opening the database ronly in a readonly directory"