aboutsummaryrefslogtreecommitdiff
path: root/test/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/setup.sh')
-rw-r--r--test/setup.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/setup.sh b/test/setup.sh
index 5fd7173..4029530 100644
--- a/test/setup.sh
+++ b/test/setup.sh
@@ -72,3 +72,8 @@ test_pass_init() {
rm -rf "$PASSWORD_STORE_DIR"
"$PASS" init "${KEY[@]}"
}
+
+test_pass_git_init() {
+ rm -rf "$PASSWORD_STORE_DIR"
+ "$PASS" init "${KEY[@]}" && "$PASS" git init
+}