Skip to content

Commit 765a8e1

Browse files
committed
simplify integration script
1 parent e8cb017 commit 765a8e1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

scripts/test-integration.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ set -e
44
if [[ "$OSTYPE" == "darwin"* ]]; then
55
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }
66
ROOT=$(dirname $(dirname $(realpath "$0")))
7-
VSCODEUSERDATADIR=`mktemp -d -t 'myuserdatadir'`
87
else
98
ROOT=$(dirname $(dirname $(readlink -f $0)))
10-
VSCODEUSERDATADIR=`mktemp -d 2>/dev/null`
119
LINUX_NO_SANDBOX="--no-sandbox" # Electron 6 introduces a chrome-sandbox that requires root to run. This can fail. Disable sandbox via --no-sandbox.
1210
fi
1311

12+
VSCODEUSERDATADIR=`mktemp -d 2>/dev/null`
1413
cd $ROOT
1514

1615
# Figure out which Electron to use for running tests

0 commit comments

Comments
 (0)