]> git.kaiwu.me - njs.git/commitdiff
Test262: fixed mktemp format on OpenBSD.
authorDmitry Volyntsev <xeioex@nginx.com>
Mon, 21 Apr 2025 16:41:46 +0000 (09:41 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Mon, 21 Apr 2025 21:46:58 +0000 (14:46 -0700)
mktemp: insufficient number of Xs in template `/tmp/njs_test.XXX'

test/options

index a7b6bd3edaf90c43bafd996d0481d0de1fe19c3b..580007033e0818181bbaa98aeab8099ec8042694 100644 (file)
@@ -3,7 +3,7 @@
 # Copyright (C) Dmitry Volyntsev
 # Copyright (C) NGINX, Inc.
 
-NJS_TEST_DIR=`mktemp -d /tmp/njs_test.XXX`
+NJS_TEST_DIR=`mktemp -d /tmp/njs_test.XXXXXX`
 NJS_TEST_LOG_DEFAULT="$NJS_TEST_DIR/log.log"
 
 NJS_TEST_VERBOSE=${NJS_TEST_VERBOSE:-}