[njs] Test262: fixed mktemp format on OpenBSD.
noreply at nginx.com
noreply at nginx.com
Mon Apr 21 21:47:02 UTC 2025
details: https://github.com/nginx/njs/commit/6a0826429142d3ad509c7dede5ad301d23dffce4
branches: master
commit: 6a0826429142d3ad509c7dede5ad301d23dffce4
user: Dmitry Volyntsev <xeioex at nginx.com>
date: Mon, 21 Apr 2025 09:41:46 -0700
description:
Test262: fixed mktemp format on OpenBSD.
mktemp: insufficient number of Xs in template `/tmp/njs_test.XXX'
---
test/options | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/options b/test/options
index a7b6bd3e..58000703 100644
--- a/test/options
+++ b/test/options
@@ -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:-}
More information about the nginx-devel
mailing list