diff options
author | Dave Davenport <qball@gmpclient.org> | 2014-08-30 20:53:35 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2014-08-30 20:53:35 +0200 |
commit | 8173bafcd68dfb6961541fbd3f6325fb65b58bb1 (patch) | |
tree | ff8a579978195c87bc9cddfd33669137395d5b2b /test | |
parent | 229bb6931b278d455a35359db8361c1b9aa6c013 (diff) |
Update tests, for cmd.
Diffstat (limited to 'test')
-rwxr-xr-x | test/run_test.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/run_test.sh b/test/run_test.sh index eab3c838..2f4751d7 100755 --- a/test/run_test.sh +++ b/test/run_test.sh @@ -1,10 +1,9 @@ #!/usr/bin/env bash XPID= -DISPLAY=":0" function create_fake_x ( ) { - DISPLAY=":$1" + export DISPLAY=":$1" echo "Starting fake X: ${DISPLAY}" Xvfb ${DISPLAY} & XPID=$! @@ -23,10 +22,11 @@ function destroy_fake_x ( ) if [ -n "$3" ] then - PATH=$3:$PATH + export PATH=$3:$PATH fi create_fake_x "$1" +echo "$DISPLAY" $2 RES=$? |