Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Water-Melon committed Jun 22, 2024
1 parent 2c46851 commit e966531
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/tests/01-base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ msg_test 'resty CLI can be run by kong user'
assert_exec 0 'kong' "/usr/local/openresty/bin/resty -e 'print(jit.version)'"

msg_test 'resty CLI functions and returns valid version of LuaJIT'
assert_exec 0 'root' "/usr/local/openresty/bin/resty -e 'print(jit.version)' | grep -E 'LuaJIT\ ([0-9]\.*){3}\-20[0-9]+'"
assert_exec 0 'kong' "/usr/local/openresty/bin/resty -e 'print(jit.version)'"
assert_exec 0 'kong' "/usr/local/openresty/bin/resty -e 'print(jit.version)' | grep -E 'LuaJIT\ ([0-9]\.*){3}\-20[0-9]+'"

###
#
Expand Down

0 comments on commit e966531

Please sign in to comment.