lockbox

password manager
Log | Files | Refs | README | LICENSE

commit 5c765f9fc8f4c0ae5e9493267e4d20674878bd6f
parent c48d16ab2c12d774f6e96a5a5c768e80fa7ffbc2
Author: Sean Enck <sean@ttypty.com>
Date:   Thu, 14 Jul 2022 18:57:53 -0400

make a few more things go into make

Diffstat:
Mtests/Makefile | 5+++--
Mtests/run.sh | 5++---
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/Makefile b/tests/Makefile @@ -1,5 +1,6 @@ BUILD := +DATA := bin all: - ./run.sh $(BUILD) - diff -u bin/lb.log expected.log + ./run.sh $(BUILD) $(DATA) + diff -u $(DATA)/actual.log expected.log diff --git a/tests/run.sh b/tests/run.sh @@ -1,6 +1,6 @@ #!/bin/bash BIN="$1" -TESTS="bin" +TESTS="$2" export LOCKBOX_STORE="$TESTS/lb" export LOCKBOX_KEYMODE="plaintext" @@ -55,7 +55,6 @@ _run() { "$BIN/lb-rw" -file bin/lb/keys/one2.lb -key "test" -keymode "plaintext" -mode "decrypt" } -LOG=$TESTS/lb.log _hook > $HOOK chmod 755 $HOOK -_run 2>&1 | sed "s#$LOCKBOX_STORE##g" > $LOG +_run 2>&1 | sed "s#$LOCKBOX_STORE##g" > $TESTS/actual.log