test.sh 373 B

123456789101112131415
  1. #!/bin/sh
  2. #
  3. # $OpenBSD: test.sh,v 1.1 2015/10/24 14:22:14 jasper Exp $
  4. # Simple JNA tests to ensure Clojure can still call native library functions
  5. expected=`mktemp`
  6. results=`mktemp`
  7. echo "Hello, World\n-> 42\nint: 42\nfloat: 42.00\n# ignore statvfs" > $expected
  8. /usr/local/bin/clojure files/jna.clj > $results
  9. cmp $expected $results || exit 1
  10. rm -f $expected $results