misc fixup in tests.

This commit is contained in:
Nick Martin
2012-01-04 21:30:23 -08:00
parent 4bdbf8bca4
commit ed88fca47b

View File

@@ -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