Commit 4f34b218 authored by Niels Möller's avatar Niels Möller
Browse files

Fix for windows lineending in nettle-pbkdf2-test.

parent 03b633b4
2014-05-28 Niels Möller <>
* testsuite/nettle-pbkdf2-test: Delete carriage return characters
from output.
* (LIBHOGWEED_LIBS): Be explicit and link with, not -lnettle.
(LIBHOGWEED_LINK): Drop -L. flag, no longer needed, and previously
......@@ -13,9 +13,11 @@ test_pbkdf2 () {
# $expected contains more than one space.
length=`expr "$expected" : '.*' / 2`
# Delete carriage return characters, needed when testing with
# wine.
printf "%s" "$password" | $EMULATOR ../tools/nettle-pbkdf2 \
-i "$iters" -l "$length" "$salt" > test1.out
echo "$expected" > test2.out
-i "$iters" -l "$length" "$salt" | tr -d '\r' > test1.out
echo "$expected" | tr -d '\r' > test2.out
if cmp test1.out test2.out ; then
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