blob: add1e9b2534d6d79cb280ffbc3ea976dbd302859 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
set -ae
tempdir=$( mktemp -d freeside-test.XXXX )
sharedir=$(perl -MFS::Test -e "print FS::Test::share_dir()")
echo "Starting test mode."
freeside-test-start
echo "Saving results to $tempdir."
freeside-test-fetch -d $tempdir
echo "Exiting test mode."
freeside-test-stop || true
diffname=freeside-test.`date +%Y%m%d`.diff
echo "Writing diff to $diffname."
diff -urb "$sharedir/output" "$tempdir" > $diffname
diffstat -C $diffname
|