# HG changeset patch
# User Laurent Peuch <cortex@worlddomination.be>
# Date 1576599555 -3600
# Tue Dec 17 17:19:15 2019 +0100
# Node ID fce106b9977dc4797d4eeedb2fff7231d6684abd
# Parent da416fb216570640d022a8cafb826ed4984438c4
[test/fix] tempfile is non portable linux command and is useless here
Closes #17260390
# User Laurent Peuch <cortex@worlddomination.be>
# Date 1576599555 -3600
# Tue Dec 17 17:19:15 2019 +0100
# Node ID fce106b9977dc4797d4eeedb2fff7231d6684abd
# Parent da416fb216570640d022a8cafb826ed4984438c4
[test/fix] tempfile is non portable linux command and is useless here
Closes #17260390
@@ -146,11 +146,12 @@
1 # If the user did not specify an X authorization file to use, set up a temporary 2 # directory to house one. 3 if [ -z "$AUTHFILE" ]; then 4 XVFB_RUN_TMPDIR="$(mktemp -d -t $PROGNAME.XXXXXX)" 5 # Create empty file to avoid xauth warning 6 - AUTHFILE=$(tempfile -n "$XVFB_RUN_TMPDIR/Xauthority") 7 + touch "$XVFB_RUN_TMPDIR/Xauthority" 8 + AUTHFILE="$XVFB_RUN_TMPDIR/Xauthority" 9 fi 10 11 # Start Xvfb. 12 MCOOKIE=$(mcookie) 13 tries=10