mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
203bc3335c
switch MODJAVA_VER to 11 and adjust the extra clojure test (which needs to be run interactively with lang/clojure set up for the local user unfortunately.) ok sthen@
13 lines
321 B
Bash
13 lines
321 B
Bash
#!/bin/sh
|
|
|
|
# Simple JNA tests to ensure Clojure can still call native library functions
|
|
|
|
expected=`mktemp`
|
|
results=`mktemp`
|
|
echo "Hello, World\n-> 42\nint: 42\nfloat: 42.00\n# ignore statvfs" > $expected
|
|
cd files && /usr/local/bin/clojure -M jna.clj > $results
|
|
|
|
cmp $expected $results || exit 1
|
|
|
|
rm -f $expected $results
|