pashage

Yet Another Opinionated Re-engineering of the Unix Password Store
git clone https://git.instinctive.eu/pashage.git
Log | Files | Refs | README | LICENSE

commit bee5dc2136b7ffc1e4d2ac33a567d49fa60f91d3
parent 903b287e6b9f1ffb6904b1fb74001836a1fd010f
Author: Natasha Kerensikova <natgh@instinctive.eu>
Date:   Mon, 27 Oct 2025 19:06:40 +0000

Exit code is tested with internal `EDIT_CMD` rather than external `EDITOR`
Diffstat:
Mspec/action_spec.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spec/action_spec.sh b/spec/action_spec.sh @@ -858,9 +858,9 @@ Describe 'Action Functions' The error should equal "$(result)" End - It 'reports EDITOR exit code' + It 'reports EDIT_CMD exit code' exit42() { mocklog editor "$@"; return 42; } - EDITOR=exit42 + EDIT_CMD=exit42 result() { %text:expand #|$ mktemp -u ${SECURE_TMPDIR}/XXXXXX