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
82.1.2 is going to be released next weekJason A. Donenfeld1-6/+0 2015-01-28Bad code is bad.Jason A. Donenfeld1-3/+3 2015-01-28Bump version1.6.5Jason A. Donenfeld1-1/+1 2015-01-28cygwin + gpg4win: convert paths to windows paths when calling gpg4win binary ...Lenz Weber2-1/+26 2015-01-28Skip broken tests.Jason A. Donenfeld1-0/+6 2015-01-28Add unprotected keys for GnuPG 2.1Jason A. Donenfeld11-0/+0 2015-01-28Use more stable with-colons outputJason A. Donenfeld2-3/+3 2015-01-28Revert "Only examine subkeys that are capable of encrypting."Jason A. Donenfeld2-2/+2 2015-01-28Take into account use in testsJason A. Donenfeld1-1/+1 2015-01-28Bump version1.6.4Jason A. Donenfeld1-1/+1 2015-01-27Strip ".gpg" from symlinks as wellTheo Chatzimichos1-2/+2 2015-01-19clip: Show an error message if xclip returns a non-zero exit codeWieland Hoffmann1-3/+2 2015-01-19Correct path for top level grepJason A. Donenfeld1-2/+3