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

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

TEST_CRED="test_cred"
TEST_PASSWORD="Hello world"

test_expect_success 'Test "insert" command' '
	pass_init &&
	echo "$TEST_PASSWORD" | $PASS insert -e "$TEST_CRED" &&
	verify_password "$TEST_CRED" "$TEST_PASSWORD"
'

test_done