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

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

export TEST_CRED="test_cred"
export TEST_CRED_LEN=24

test_expect_success 'Test "generate" command' '
	pass_init &&
	echo Generating credential "${TEST_CRED}" with length ${TEST_CRED_LEN} &&
	$PASS generate "${TEST_CRED}" ${TEST_CRED_LEN} &&
	check_cred "${TEST_CRED}"
'

test_done
ions into ui-shared.cLars Hjemli4-82/+99 2006-12-11Rename config.c to parsing.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