blob: 3d4fffee5fa844641bf6d7a28046f27865cc1fc0 (
plain) (
tree)
|
|
#!/bin/sh
source ${SRC:-.}/test-lib.sh
t_case "help" && {
help_normal=$($APK version --help 2>/dev/null) || true
[ "${#help_normal}" -gt 2000 ]
help_invalid=$($APK version --invalid-option 2>/dev/null) || true
[ "$help_normal" = "$help_invalid" ]
}
t_case "version" && {
sed 's/[[:blank:]]*#.*//g' < $SRC/version.data | tr '\n' '\0' | xargs -0 $APK vertest
}
t_end
|