Skip to content

Commit

Permalink
Merge pull request #172 from melsabagh/fix-dev-shm
Browse files Browse the repository at this point in the history
fix:test: don't assume /dev/shm exists
  • Loading branch information
pombredanne committed Mar 21, 2024
2 parents 63e9700 + c0d9151 commit 8b85045
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion runtest.sh
@@ -1,6 +1,11 @@
#!/bin/bash

TMPDIR=/dev/shm
TMPDIR=/tmp
SHM_DIR=/dev/shm
if [[ -d "${SHM_DIR}" ]]
then
TMPDIR="${SHM_DIR}"
fi

if [[ ${PYTHON} == "" ]]
then
Expand Down

0 comments on commit 8b85045

Please sign in to comment.