Skip to content

Commit

Permalink
fix misplaced cd
Browse files Browse the repository at this point in the history
  • Loading branch information
erno committed Mar 14, 2011
1 parent 01e3b6e commit 5bd2be3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/js-viewer-server-test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

bindir=$(dirname $(readlink -f $0))/../bin
testfile=`readlink -f $1`
cd $bindir

echo 'var d = frame.DelayedExecute(15.0); d.Triggered.connect(function (time) { print("exiting!"); framework.Exit(); });' > exitdelay.js
echo 'var d = frame.DelayedExecute(0.5); d.Triggered.connect(function (time) { client.Login("localhost",2345,"foo"," ","tcp");});' > dologin.js
Expand All @@ -22,8 +23,6 @@ case $testfile in
;;
esac


cd $bindir
ulimit -t 60 # cpu time limit
ulimit -c unlimited # i'd like core dumps with that
cat exitdelay.js dologin.js > v.js
Expand Down

0 comments on commit 5bd2be3

Please sign in to comment.