packages/utils/sexpect/test.sh
Clark Wang 7fddd201f8 sexpect: updated per OpenWrt's common practice
- removed extra white spaces in Makefile
- changed license from GPL-3.0 to GPL-3.0-only
- added test.sh

Signed-off-by: Clark Wang <dearvoid@gmail.com>
(cherry picked from commit 17d4d05fd5)
2022-04-28 21:25:30 +08:00

6 lines
75 B
Bash

#!/bin/sh
out=`$1 --version`
if [ "$out" != "$1 $2" ]; then
exit 1
fi