Commit 6215dac7 authored by Niels Möller's avatar Niels Möller

* testsuite/setup-env: New file. Wine workaround. Can't get

../.lib into wine's dll search path, so create additional
symlinks.
* testsuite/teardown-env: ...and delete them here.
* examples/setup-env: Similar links setup here.
* examples/teardown-env: ... and deleted.

Rev: nettle/examples/setup-env:1.3
Rev: nettle/examples/teardown-env:1.3
parent f505d896
......@@ -2,6 +2,15 @@
set -e
# Workaround, it seems difficult to convince wine to put ../lib into PATH.
case "$EMULATOR" in
wine*)
for f in ../.lib/*.dll ; do
ln -s "$f" .
done
;;
esac
if [ -x rsa-keygen$EXEEXT ] ; then
$EMULATOR ./rsa-keygen -r rsa-decrypt$EXEEXT -o testkey || exit 1
fi
......@@ -4,4 +4,8 @@ rm -rf testkey testkey.pub testsignature testsignature2 \
testdata testtmp \
testciphertext testcleartext
case "$EMULATOR" in
wine*)
rm `find . -type l -name '*.dll'`
;;
esac
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment