From 7b00d81ea7786cd132615c9eba1d4abb38ed27f4 Mon Sep 17 00:00:00 2001 From: Josh Rabinowitz Date: Sat, 14 Apr 2018 16:14:10 -0400 Subject: [PATCH] change to test CI --- tests/test_cat.bats | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test_cat.bats b/tests/test_cat.bats index 91000f1f..e3509755 100644 --- a/tests/test_cat.bats +++ b/tests/test_cat.bats @@ -27,6 +27,10 @@ function teardown { @test "run 'cat' with password argument" { + # these two lines are needed for CI? Previous run stalled. + cp "$FILE_TO_HIDE" "${FILE_TO_HIDE}2" + rm -f "$FILE_TO_HIDE" + local password=$(test_user_password "$TEST_DEFAULT_USER") run git secret cat -d "$TEST_GPG_HOMEDIR" -p "$password" "$FILE_TO_HIDE" @@ -35,6 +39,10 @@ function teardown { # $output is the output from 'git secret cat' above # note that currently content may differ by a newline [ "$FILE_CONTENTS" == "$output" ] + + # these two lines needed for CI? Previous run stalled. + touch "$FILE_TO_HIDE)" + rm "${FILE_TO_HIDE}2" } @test "run 'cat' with wrong filename" {