ocaml-fileutils/tests/basic-test.sh
2024-06-19 09:21:14 +01:00

9 lines
207 B
Bash
Executable File

#!/bin/bash -
set -e
set -x
# Compile trivial fileutils program.
echo 'assert (FilePath.compare "/" "/" = 0)' > filetest.ml
ocamlfind ocamlopt -package fileutils filetest.ml -linkpkg -o filetest
./filetest