summaryrefslogtreecommitdiff
path: root/tests/t0100-insert-tests.sh
blob: 5820e45665e782f5b61148f0129e4db519d13fb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

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

test_expect_success 'Test "insert" command' '
	pass init $KEY1 &&
	echo "Hello world" | pass insert -e cred1 &&
	[[ $(pass show cred1) == "Hello world" ]]
'

test_done