diff --git a/mozilla/security/nss/tests/dbtests/dbtests.sh b/mozilla/security/nss/tests/dbtests/dbtests.sh
index 86b9d7e61f4..1ad4854678c 100755
--- a/mozilla/security/nss/tests/dbtests/dbtests.sh
+++ b/mozilla/security/nss/tests/dbtests/dbtests.sh
@@ -119,14 +119,14 @@ dbtest_main()
if [ $ret -ne 255 ]; then
html_failed "
| Certutil succeeded in a nonexisting directory $ret"
else
- html_passed " |
| Certutil failed in a nonexisting dir $ret"
+ html_passed " |
| Certutil didn't work in a nonexisting dir $ret"
fi
dbtest -r -d ./non_existant_dir
ret=$?
if [ $ret -ne 46 ]; then
html_failed " |
| Dbtest readonly succeeded in a nonexisting directory $ret"
else
- html_passed " |
| Dbtest readonly failed in a nonexisting dir $ret"
+ html_passed " |
| 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 " |
| Tstclnt succeded in an empty directory $ret"
else
- html_passed " |
| Tstclnt failed in an empty dir $ret"
+ html_passed " |
| Tstclnt didn't work in an empty dir $ret"
fi
dbtest -r -d $EMPTY_DIR
ret=$?
if [ $ret -ne 46 ]; then
html_failed " |
| Dbtest readonly succeeded in an empty directory $ret"
else
- html_passed " |
| Dbtest readonly failed in an empty dir $ret"
+ html_passed " |
| 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 " |
| Certutil succeeded in deleting a cert in an empty directory $ret"
else
- html_passed " |
| Certutil failed in an empty dir $ret"
+ html_passed " |
| 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 " |
| Dbtest r/w succeeded in an readonly directory $ret"
else
- html_passed " |
| Dbtest r/w failed in an readonly dir $ret"
+ html_passed " |
| 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 " |
| Certutil succeeded in deleting a cert in an readonly directory $ret"
else
- html_passed " |
| Certutil failed in an readonly dir $ret"
+ html_passed " |
| Certutil didn't work in an readonly dir $ret"
fi
Echo "test opening the database ronly in a readonly directory"
|