---
 tests/t0011-passphrase-test.sh | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100755 tests/t0011-passphrase-test.sh

diff --git a/tests/t0011-passphrase-test.sh b/tests/t0011-passphrase-test.sh
new file mode 100755
index 0000000..7130497
--- /dev/null
+++ b/tests/t0011-passphrase-test.sh
@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+
+test_description='Test passphrase generate'
+cd "$(dirname "$0")"
+. ./setup.sh
+
+test_expect_success 'Test "passphrase" command' '
+       "$PASS" init $KEY1 &&
+       "$PASS" passphrase -m 4 -w 2 cred &&
+       [[ $("$PASS" show cred | wc -m) -eq 10 ]]
+'
+
+test_done
-- 
2.8.0

_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to