From 6083652089b4df0aa5ce455b1db6103379545ac6 Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Thu, 10 Mar 2011 21:16:51 +0000 Subject: [PATCH] Avoid using "-" in tests, some old systems has bug in getopt. git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@440 36d66b0a-2a48-0410-832c-cd162a569da5 --- tests/compat-test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/compat-test b/tests/compat-test index 1a86a8f..f6c732a 100755 --- a/tests/compat-test +++ b/tests/compat-test @@ -172,7 +172,8 @@ $CRYPTSETUP -q luksClose $DEV_NAME || fail prepare "[14] format/open - passphrase on stdin & new line" wipe # stdin defined by "-" must take even newline -echo -n $'foo\nbar' | $CRYPTSETUP -q luksFormat $LOOPDEV - || fail +#echo -n $'foo\nbar' | $CRYPTSETUP -q luksFormat $LOOPDEV - || fail +echo -n $'foo\nbar' | $CRYPTSETUP -q --key-file=- luksFormat $LOOPDEV || fail echo -n $'foo\nbar' | $CRYPTSETUP -q --key-file=- luksOpen $LOOPDEV $DEV_NAME || fail $CRYPTSETUP -q luksClose $DEV_NAME || fail echo -n $'foo\nbar' | $CRYPTSETUP -q luksOpen $LOOPDEV $DEV_NAME 2>/dev/null && fail -- 2.7.4