ocaml-fileutils/tests/basic-test.sh

9 lines
207 B
Bash
Raw Normal View History

2024-06-19 08:21:14 +00:00
#!/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