xref: /freebsd/contrib/pjdfstest/travis/test.sh (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1#!/bin/sh
2
3set -ex
4
5cd $(dirname $0)/..
6
7df .
8uname -a
9
10case "$(uname)" in
11Darwin)
12	sw_vers -productVersion
13	mount
14	# FIXME: OSX has test issues that need to be addressed per Issue #13.
15	exit 0
16	;;
17FreeBSD)
18	mount -p
19	;;
20Linux)
21	for release_file in /etc/lsb-release /etc/os-release; do
22		echo "$release_file.. ->"
23		cat $release_file
24	done
25	mount
26	;;
27esac
28
29sudo prove -rv .
30