Skip to content

Commit f96beaf

Browse files
committed
use valid syntax for creating tmpdir under linux
Change-Id: I73b22a7803ffcf08f6bd3f46147b46be33d718c2
1 parent 76fde8b commit f96beaf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/source/history.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ dev
1616
- Fix handling for project directory argument ``-a`` to
1717
:ref:`command-mkvirtualenv`, based on work by Xupeng Yun.
1818
- Dropped python 3.2 testing.
19+
- Updated test configuration so they work properly under Linux.
1920

2021
4.1.1
2122
=====

tests/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# export WORKON_HOME="$(echo ${tmplocation}/WORKON_HOME.$$ | sed 's|//|/|g')"
77
# export PROJECT_HOME="$(echo ${tmplocation}/PROJECT_HOME.$$ | sed 's|//|/|g')"
88

9-
export WORKON_HOME=$(mktemp -d -t "WORKON_HOME.$$")
10-
export PROJECT_HOME=$(mktemp -d -t "PROJECT_HOME.$$")
9+
export WORKON_HOME=$(mktemp -d -t "WORKON_HOME.XXXX.$$")
10+
export PROJECT_HOME=$(mktemp -d -t "PROJECT_HOME.XXXX.$$")
1111

1212
#unset HOOK_VERBOSE_OPTION

0 commit comments

Comments
 (0)