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 363f842c4c079bb9c97b9784c46974296f129ff0
parent 01e117c384689f8487df6d1f2af53840a0210b97
Author: Natasha Kerensikova <natgh@instinctive.eu>
Date:   Sat,  2 Nov 2024 15:57:29 +0000

Version command is fully covered by integrated suites
Diffstat:
Mspec/pashage_extra_spec.sh | 2+-
Mspec/pass_spec.sh | 2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/spec/pashage_extra_spec.sh b/spec/pashage_extra_spec.sh @@ -781,7 +781,7 @@ Describe 'Integrated Command Functions' # Describe 'cmd_move' is not needed (covered by 'cmd_copy_move') # Describe 'cmd_random' # Describe 'cmd_usage' -# Describe 'cmd_version' +# Describe 'cmd_version' is not needed (fully covered in pass_spec.sh) Describe 'unreachable defensive code' # This sections breaks the end-to-end scheme of this file diff --git a/spec/pass_spec.sh b/spec/pass_spec.sh @@ -2818,6 +2818,8 @@ Describe 'Pass-like command' Skip if 'pass(age) needs bash' check_skip $2 When run script $1 version The status should be success + The output should include "$2:" + The output should match pattern "*v[0-9].[0-9].[0-9]*" The output should include 'password manager' The output should start with '=============' The output should end with '============='