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

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

export TEST_CRED="test_cred"
export 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
sing.c + move cgit_parse_query from cgit.c to parsing.cLars Hjemli4-28/+29 2006-12-11Avoid infinite loops in caching layerLars Hjemli3-14/+31 2006-12-11Let 'make install' clear all cachefilesLars Hjemli1-0/+2 2006-12-11Fix cache algorithm loopholeLars Hjemli3-11/+16 2006-12-10Add version identifier in generated filesLars Hjemli2-9/+14 2006-12-10Add license file and copyright noticesLars Hjemli5-0/+372 2006-12-10Add caching infrastructureLars Hjemli9-28/+353