m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/tests/t0010-generate-tests.sh
blob: 735f70d47830f2fe2dcea4bd2c0816fc635d578f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

test_description='Test generate'
. ./setup.sh

test_expect_success 'Test "generate" command' '
	"$PASS" init $KEY1 &&
	"$PASS" generate cred 19 &&
	[[ $("$PASS" show cred | wc -m) -eq 20 ]]
'

test_done