Idris2/tests/base/system_info_os001/run
2023-09-07 14:57:22 +01:00

16 lines
353 B
Plaintext
Executable File

. ../../testutils.sh
case "$(uname)" in
Linux*) EXPECTED_OS=unix ;;
OpenBSD*) EXPECTED_OS=unix ;;
FreeBSD*) EXPECTED_OS=unix ;;
NetBSD*) EXPECTED_OS=unix ;;
Darwin*) EXPECTED_OS=darwin ;;
CYGWIN*) EXPECTED_OS=windows ;;
MINGW*) EXPECTED_OS=windows ;;
*) echo "unknown uname $(uname)" >&2; exit 1; ;;
esac
export EXPECTED_OS
run Os.idr