mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
misc fixup in tests.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# XXX this is just a placeholder!
|
||||
|
||||
TESTDIR=`dirname $0`
|
||||
TMPDIR=`mktemp -d -t skytest`
|
||||
TMPDIR=`mktemp -d -t meteor-test`
|
||||
|
||||
cd "$TESTDIR"
|
||||
cd ../..
|
||||
@@ -14,18 +14,18 @@ cd "$TMPDIR/todos2"
|
||||
rm -rf .meteor/local
|
||||
|
||||
"$TOPDIR/meteor" &
|
||||
SKY_PID=$!
|
||||
METEOR_PID=$!
|
||||
|
||||
echo "Running $SKY_PID"
|
||||
echo "Running $METEOR_PID"
|
||||
|
||||
sleep 2
|
||||
|
||||
cd $TOPDIR
|
||||
python ./tests/selenium/todo-basic.py
|
||||
|
||||
echo "Killing $SKY_PID"
|
||||
echo "Killing $METEOR_PID"
|
||||
|
||||
kill -INT $SKY_PID
|
||||
kill -INT $METEOR_PID
|
||||
# XXX horrible and wrong!!
|
||||
killall mongod
|
||||
|
||||
|
||||
Reference in New Issue
Block a user