Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(702)

Unified Diff: tests/run_rsa_tests.sh

Issue 3423022: Fix test suite deficiencies. (Closed) Base URL: http://git.chromium.org/git/vboot_reference.git
Patch Set: Address review comments. Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/gen_test_keys.sh ('k') | tests/testcases/test_file » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/run_rsa_tests.sh
diff --git a/tests/run_rsa_tests.sh b/tests/run_rsa_tests.sh
index a296d13c6ac256116a024a5e6118fd1b8a40fda2..ed15cf814a6eb91faac10a0762cd5d365d664616 100755
--- a/tests/run_rsa_tests.sh
+++ b/tests/run_rsa_tests.sh
@@ -9,6 +9,8 @@
# Load common constants and variables.
. "$(dirname "$0")/common.sh"
+set -e
+
return_code=0
TEST_FILE=${TESTCASE_DIR}/test_file
@@ -24,7 +26,7 @@ function test_signatures {
${TEST_FILE}.rsa${keylen}_${hashalgo}.sig \
${TEST_FILE}
if [ $? -ne 0 ]
- then
+ then
return_code=255
fi
let algorithmcounter=algorithmcounter+1
« no previous file with comments | « tests/gen_test_keys.sh ('k') | tests/testcases/test_file » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698