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 4a43e32c0fc1d0261f72e9621f50d7ac952c0962
parent 651ddc681c6258d516e6449cdb2eb40ccecded0d
Author: Natasha Kerensikova <natgh@instinctive.eu>
Date:   Sat, 16 Nov 2024 10:40:56 +0000

Mock-DISPLAY pass-like test suite is corrected
Diffstat:
Mspec/pass_spec.sh | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/spec/pass_spec.sh b/spec/pass_spec.sh @@ -725,7 +725,7 @@ Describe 'Pass-like command' End It 'displays the password as a QR-code' - DISPLAY=mock + export DISPLAY=mock Skip if 'pass(age) needs bash' check_skip $2 When run script $1 -q fluff/one The status should be success @@ -742,7 +742,7 @@ Describe 'Pass-like command' End It 'displays the given long-option line as a QR-code' - DISPLAY=mock + export DISPLAY=mock Skip if 'pass(age) needs bash' check_skip $2 When run script $1 --qrcode=2 fluff/three The status should be success @@ -759,7 +759,7 @@ Describe 'Pass-like command' End It 'displays the given short-option line as a QR-code' - DISPLAY=mock + export DISPLAY=mock Skip if 'pass(age) needs bash' check_skip $2 When run script $1 -q2 fluff/three The status should be success @@ -776,7 +776,7 @@ Describe 'Pass-like command' End It 'pastes into the clipboard' - DISPLAY=mock + export DISPLAY=mock Skip if 'pass(age) needs bash' check_skip $2 When run script $1 show -c fluff/three The status should be success @@ -791,7 +791,7 @@ Describe 'Pass-like command' End It 'pastes a selected long-option line into the clipboard' - DISPLAY=mock + export DISPLAY=mock Skip if 'pass(age) needs bash' check_skip $2 When run script $1 show --clip=2 fluff/three The status should be success @@ -806,7 +806,7 @@ Describe 'Pass-like command' End It 'pastes a selected short-option line into the clipboard' - DISPLAY=mock + export DISPLAY=mock Skip if 'pass(age) needs bash' check_skip $2 When run script $1 show -c2 fluff/three The status should be success @@ -1629,7 +1629,7 @@ Describe 'Pass-like command' End It 'pastes the generated password into the clipboard' - DISPLAY=mock + export DISPLAY=mock Skip if 'pass(age) needs bash' check_skip $2 When run script $1 generate -nc subdir/new The status should be success @@ -1651,7 +1651,7 @@ Describe 'Pass-like command' End It 'displays the generated password as a QR-code' - DISPLAY=mock + export DISPLAY=mock Skip if 'pass(age) needs bash' check_skip $2 When run script $1 generate -qn new The status should be success