mirror of
https://github.com/openwrt/packages.git
synced 2026-10-13 20:57:37 +04:00
Add basic JS evaluation test and move version check to override. Signed-off-by: George Sapkin <george@sapk.in>
10 lines
122 B
Bash
Executable File
10 lines
122 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# shellcheck shell=busybox
|
|
|
|
case "$PKG_NAME" in
|
|
quickjs)
|
|
qjs --eval 'console.log(2 ** 8)' | grep 256
|
|
;;
|
|
esac
|