summaryrefslogtreecommitdiffhomepage
path: root/test/unit/check
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2022-11-29 01:02:08 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2022-11-29 01:02:08 +0000
commit190691ade82f5126271b374dd5b8d0cb57f9473a (patch)
treed684510e886fb94c249cb9df1c310a2c42252b05 /test/unit/check
parente3bbf5b3b5be384a39bbd1c42d44379b17d94185 (diff)
downloadunit-190691ade82f5126271b374dd5b8d0cb57f9473a.tar.gz
unit-190691ade82f5126271b374dd5b8d0cb57f9473a.tar.bz2
Tests: NJS.
Diffstat (limited to 'test/unit/check')
-rw-r--r--test/unit/check/njs.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/unit/check/njs.py b/test/unit/check/njs.py
new file mode 100644
index 00000000..433473a1
--- /dev/null
+++ b/test/unit/check/njs.py
@@ -0,0 +1,6 @@
+import re
+
+
+def check_njs(output_version):
+ if re.search('--njs', output_version):
+ return True