summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsonja.mirtitsch%sun.com <devnull@localhost>2002-02-12 18:34:35 +0000
committersonja.mirtitsch%sun.com <devnull@localhost>2002-02-12 18:34:35 +0000
commita6bb63e56bd6b5b90a7c8dcf9cc1cea97c8b7c4a (patch)
tree12453c03541ce6cbf6fe8276d0034d31dfd2624d
parent6af01af38af53d3dbed04d8be3a1f8c9f8b538e2 (diff)
downloadnss-hg-a6bb63e56bd6b5b90a7c8dcf9cc1cea97c8b7c4a.tar.gz
fixed returncode after modification in error.h
-rwxr-xr-xsecurity/nss/tests/dbtests/dbtests.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/security/nss/tests/dbtests/dbtests.sh b/security/nss/tests/dbtests/dbtests.sh
index 947ec948b..984ffca44 100755
--- a/security/nss/tests/dbtests/dbtests.sh
+++ b/security/nss/tests/dbtests/dbtests.sh
@@ -62,7 +62,7 @@
########################################################################
dbtest_init()
{
- SCRIPTNAME="dbtest.sh"
+ SCRIPTNAME="dbtests.sh"
if [ -z "${CLEANUP}" ] ; then # if nobody else is responsible for
CLEANUP="${SCRIPTNAME}" # cleaning this script will do it
fi
@@ -75,7 +75,7 @@ dbtest_init()
. cert.sh
fi
- SCRIPTNAME="dbtest.sh"
+ SCRIPTNAME="dbtests.sh"
DBTEST_LOG=${HOSTDIR}/dbtest.log #we don't want all the errormessages
# in the output.log, otherwise we can't tell what's a real error
RONLY_DIR=${HOSTDIR}/ronlydir
@@ -123,7 +123,7 @@ dbtest_main()
fi
dbtest -r -d ./non_existant_dir
ret=$?
- if [ $ret -ne 45 ]; then
+ 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"
@@ -149,7 +149,7 @@ dbtest_main()
fi
dbtest -r -d $EMPTY_DIR
ret=$?
- if [ $ret -ne 45 ]; then
+ 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"
@@ -179,7 +179,7 @@ dbtest_main()
dbtest -d $RONLY_DIR
ret=$?
- if [ $ret -ne 45 ]; then
+ 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"