summaryrefslogtreecommitdiff
path: root/tests/t0010-generate-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtests/t0010-generate-tests.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/t0010-generate-tests.sh b/tests/t0010-generate-tests.sh
new file mode 100755
index 0000000..96bb820
--- /dev/null
+++ b/tests/t0010-generate-tests.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+test_description='Test generate'
+. ./setup.sh
+
+export TEST_CRED="test_cred"
+export TEST_CRED_LEN=24
+
+test_expect_success 'Test "generate" command' '
+ pass_init &&
+ echo Generating credential "${TEST_CRED}" with length ${TEST_CRED_LEN} &&
+ ${PASS} generate "${TEST_CRED}" ${TEST_CRED_LEN} &&
+ check_cred "${TEST_CRED}"
+'
+
+test_done
f='/feed2imap-go.git/commit/internal/log/log.go?h=v0.4.0&id=99c5ba31e854ae25e4990313096f818b7e0367da&follow=1'>Use our own logger for debug for convenience sakeRené 'Necoro' Neumann1-2/+3 2020-04-19Fix debug logging m(René 'Necoro' Neumann1-2/+2 2020-04-19Rename util.go to log.go. Add verbose modeRené 'Necoro' Neumann4-24/+54 2020-04-19Clean go.modRené 'Necoro' Neumann2-3/+0 2020-04-19Do not print the parsedCfg anymoreRené 'Necoro' Neumann1-1/+1 2020-04-19Increase go-version to 1.14René 'Necoro' Neumann1-2/+2 2020-04-19CI: go vetRené 'Necoro' Neumann1-0/+3 2020-04-19Fetching and parsing the feedsRené 'Necoro' Neumann5-4/+113 2020-04-19Ignore all config*.ymlRené 'Necoro' Neumann1-1/+1