summaryrefslogtreecommitdiff
path: root/tests/run_rsa_tests.sh
diff options
context:
space:
mode:
authorGaurav Shah <gauravsh@google.com>2010-02-16 19:04:11 -0800
committerGaurav Shah <gauravsh@google.com>2010-02-16 19:04:11 -0800
commit7ca31f3e4d21bb7dfa39e1e4b9ab42c7047e66d8 (patch)
tree4e6a101231e65a7cdb1d33b15c72c9ea3105c6e7 /tests/run_rsa_tests.sh
parent431b98886ed80b46e404d7288362f8dcdfa9ace3 (diff)
downloadvboot-7ca31f3e4d21bb7dfa39e1e4b9ab42c7047e66d8.tar.gz
Vboot Reference: Misc style fixes to Makefile and fix testing script.
Review URL: http://codereview.chromium.org/600114
Diffstat (limited to 'tests/run_rsa_tests.sh')
-rwxr-xr-xtests/run_rsa_tests.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/run_rsa_tests.sh b/tests/run_rsa_tests.sh
index d56f5a08..20384836 100755
--- a/tests/run_rsa_tests.sh
+++ b/tests/run_rsa_tests.sh
@@ -72,7 +72,7 @@ function pre_work {
}
function cleanup {
- rm ${TEST_FILE} ${TEST_FILE}.*.sig
+ rm ${SCRIPT_DIR}/${TEST_FILE} ${SCRIPT_DIR}/${TEST_FILE}.*.sig
}
# Determine script directory.
@@ -87,6 +87,7 @@ else
fi
UTIL_DIR=`dirname ${SCRIPT_DIR}`/utils
KEY_DIR=${SCRIPT_DIR}/testkeys
+TEST_DIR=${SCRIPT_DIR}/
echo "Generating test cases..."
pre_work
@@ -101,7 +102,7 @@ test_verification
echo
echo "Cleaning up..."
-#cleanup
+cleanup
exit $return_code