aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Weingärtner <timo@tiwe.de>2026-03-05 19:22:39 +0100
committerTimo Weingärtner <timo@tiwe.de>2026-03-07 22:25:16 +0100
commit19304907075d2cc69805dae81493f28483be305b (patch)
tree388e8f4ffb84f930c1b9dd7b0085298db843cbfe
parent7fc3abd4b250ceae28c2b0705625d708260cfc38 (diff)
downloadssh-agent-filter-19304907075d2cc69805dae81493f28483be305b.tar.gz
tests: work around https://github.com/kward/shunit2/issues/112
-rwxr-xr-xtests2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests b/tests
index d222e7e..415be38 100755
--- a/tests
+++ b/tests
@@ -38,7 +38,7 @@ oneTimeSetUp () {
}
oneTimeTearDown () {
- [ -z "$SSH_AGENT_PID" ] || kill "$SSH_AGENT_PID"
+ [ -z "$SSH_AGENT_PID" ] || { kill "$SSH_AGENT_PID"; unset SSH_AGENT_PID; }
}
with_saf_in_tmp () {