From 276fb973ab8517f3ec888b4ee2114d982131293c Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 6 May 2014 17:23:50 +0200 Subject: generate: add --in-place option --- tests/t0010-generate-tests.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/t0010-generate-tests.sh') diff --git a/tests/t0010-generate-tests.sh b/tests/t0010-generate-tests.sh index da5e41f..cadb76f 100755 --- a/tests/t0010-generate-tests.sh +++ b/tests/t0010-generate-tests.sh @@ -10,4 +10,10 @@ test_expect_success 'Test "generate" command' ' [[ $("$PASS" show cred | wc -m) -eq 20 ]] ' +test_expect_success 'Test replacement of first line' ' + "$PASS" insert -m cred2 <<<"$(printf "this is a big\\npassword\\nwith\\nmany\\nlines\\nin it bla bla")" && + PATH="$TEST_HOME:$PATH" FAKE_PWGEN_PASSWORD="This is a fake password" "$PASS" generate -i cred2 88 && + [[ $("$PASS" show cred2) == "$(printf "This is a fake password\\npassword\\nwith\\nmany\\nlines\\nin it bla bla")" ]] +' + test_done -- cgit v1.2.3-54-g00ecf ig Portato - A Portage GUIRené 'Necoro' Neumann
summaryrefslogtreecommitdiff
path: root/portato (unfollow)
Commit message (Expand)AuthorFilesLines
2009-09-05Fix an error, where a category vanishes after refreshing, using the EixSQLDat...René 'Necoro' Neumann2-1/+19
2009-09-03And here is the debugging again :) ... using ctypesRené 'Necoro' Neumann1-1/+8
2009-09-03Screw debugging ... prefer the ctypes approach to get rid of yet another c-mo...René 'Necoro' Neumann3-27/+11
2009-09-03Use this wrapper instead of ctypes to set the textdomain and stuff for the gt...René 'Necoro' Neumann1-9/+5
2009-09-03Add small wrapper to C-gettextRené 'Necoro' Neumann2-1/+22
2009-08-31Update messages.potRené 'Necoro' Neumann1-42/+94
2009-08-31Removed the gtk- strings from translationsRené 'Necoro' Neumann7-3639/+3479
2009-08-31Removed the 'translatable' attribute from 'gtk-*' stringsRené 'Necoro' Neumann5-11/+11
2009-08-31Removed TODO. Renamed ChangeLog to TODORené 'Necoro' Neumann2-40/+0
2009-08-27Only import stuff if necessaryRené 'Necoro' Neumann1-8/+8
2009-08-25Release the threadQueue-Lock in syncv0.13René 'Necoro' Neumann1-0/+1
2009-08-25Updated portugese translationAlberto Federman Neto1-650/+687
2009-08-15Update spanish translationDaniel Halens1-245/+258
2009-08-15Use boolean flags instead of obscure C flags for ipc.MessageQueueRené 'Necoro' Neumann3-13/+15
2009-08-15TypoRené 'Necoro' Neumann1-1/+1
2009-08-15Enhanced the extensions.shRené 'Necoro' Neumann1-3/+8
2009-08-15Move eix-format to correct locationRené 'Necoro' Neumann1-0/+0