5 then echo "Usage: $0 SRCDIR" >&2; exit 1
10 . "$srcdir"/tests/test-common.sh
13 # Currently expected to work only with a random() that behaves exactly
14 # like the one on my development system.
16 if [ "`uname -s`" != "Linux" ] # lame approx. of "random() behaves like mine"
17 then echo "Warning: fairland test not expected to work on this system!" >&2
22 exec 3>sandbox/fairland.out
24 src/util/files -e sandbox/etc/empire/econfig -f >&3
25 src/util/fairland -e sandbox/etc/empire/econfig -s sandbox/newcap_script -R 1 10 30 >&3
29 src/util/empdump -e sandbox/etc/empire/econfig -x >sandbox/fairland.xdump
31 cmp_out fairland.out fairland.xdump newcap_script