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

test_description='Test insert'
cd "$(dirname "$0")"
. ./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
ohover-highlight'> 2012-10-03Make --no-echo default, and rename to --echo.Jason A. Donenfeld2-10/+10 Reported-by: Paul Wise <pabs@debian.org> 2012-09-30Check error code of gpg before copying to clipboard.1.4.1Jason A. Donenfeld1-1/+3 2012-09-30Explicitly use gpg2 rather than relying on symlink.Jason A. Donenfeld7-17/+14 2012-09-24Style fixes.1.4Jason A. Donenfeld4-8/+10 2012-09-23Fix style.Jason A. Donenfeld1-11/+9