blob: d8101aba06cf26ba56c40369910f06f5af203553 (
plain) (
blame)
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
|