summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2014-08-30 20:53:35 +0200
committerDave Davenport <qball@gmpclient.org>2014-08-30 20:53:35 +0200
commit8173bafcd68dfb6961541fbd3f6325fb65b58bb1 (patch)
treeff8a579978195c87bc9cddfd33669137395d5b2b /test
parent229bb6931b278d455a35359db8361c1b9aa6c013 (diff)
Update tests, for cmd.
Diffstat (limited to 'test')
-rwxr-xr-xtest/run_test.sh6
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=$?