Permalink
Browse files

some test script tinkering

  • Loading branch information...
1 parent 90665d2 commit 1bae052dc1e1e3329ef2b5acb702499f9eb20e77 @pavlobaron committed Jul 20, 2012
Showing with 16 additions and 2 deletions.
  1. +8 −1 test/test.sh
  2. +8 −1 test/test_suite.sh
View
@@ -1,12 +1,19 @@
#!/bin/sh
+if test -z $2
+then
+ GIT=""
+else
+ GIT="git pull origin master"
+fi
+
if test -z $1
then
JS=""
DB="test"
else
cd mongo
- git pull origin master
+ `$GIT`
JS=$1
DB=""
cd jstests
View
@@ -1,7 +1,14 @@
#!/bin/sh
+if test -z $1
+then
+ GIT=""
+else
+ GIT="git pull origin master"
+fi
+
cd mongo
-git pull origin master
+`$GIT`
cd jstests
echo "running JS test stuite"

0 comments on commit 1bae052

Please sign in to comment.