summaryrefslogtreecommitdiffstats
path: root/net/travelmate/test.sh
blob: 089d09baef20f49cad5631e698afd6da5480cfad (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# compile and load with the shipped ucode.
#

travelmate 2>&1 | grep 'usage: travelmate' || exit 1

ucode -e 'import * as a from "travelmate.daemon"; import * as b from "travelmate.login";
	print("modules-ok\n");' |
	grep 'modules-ok'