summaryrefslogtreecommitdiff
path: root/tests/t0010-generate-tests.sh
blob: fea9d44cb97be79401e17f03c383f845807baac9 (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