You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ra...@apache.org on 2013/01/26 18:07:08 UTC

[1/2] git commit: also trap SIGINT when running js tests

also trap SIGINT when running js tests


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/93f58e8a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/93f58e8a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/93f58e8a

Branch: refs/heads/master
Commit: 93f58e8adcb04555df7da400ed21800cb97ba19c
Parents: 67e75c2
Author: Randall Leeds <ra...@apache.org>
Authored: Sat Jan 26 09:05:39 2013 -0800
Committer: Randall Leeds <ra...@apache.org>
Committed: Sat Jan 26 09:05:39 2013 -0800

----------------------------------------------------------------------
 test/javascript/run.tpl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/93f58e8a/test/javascript/run.tpl
----------------------------------------------------------------------
diff --git a/test/javascript/run.tpl b/test/javascript/run.tpl
index 7831359..647a29a 100644
--- a/test/javascript/run.tpl
+++ b/test/javascript/run.tpl
@@ -54,7 +54,7 @@ abort() {
 # start CouchDB
 if [ -z $COUCHDB_NO_START ]; then
     $MAKE dev
-    trap 'abort' EXIT
+    trap 'abort' EXIT INT
 	./utils/run -b -r 1 -n \
 		-a $BUILD_DIR/etc/couchdb/default_dev.ini \
 		-a $SRC_DIR/test/random_port.ini \