summaryrefslogtreecommitdiff
path: root/test/e2e/hooks
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-04-27 18:44:02 +0200
committerPaul Holzinger <pholzing@redhat.com>2022-04-29 14:06:54 +0200
commita48c37df3765f42c779ac0674eb021f955ed9c07 (patch)
treeee491d29f01c292d36bf8aa09d9211a51cbc88b1 /test/e2e/hooks
parent69c479b16e19f4f919fa820aeafe90cb113b8e0a (diff)
downloadpodman-a48c37df3765f42c779ac0674eb021f955ed9c07.tar.gz
podman-a48c37df3765f42c779ac0674eb021f955ed9c07.tar.bz2
podman-a48c37df3765f42c779ac0674eb021f955ed9c07.zip
fix broken hooks-dir test
The test has been broken since it was added 4 years ago. Instead of using hardcoded paths we should use tmp files. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'test/e2e/hooks')
-rw-r--r--test/e2e/hooks/checkhook.json5
-rwxr-xr-xtest/e2e/hooks/checkhook.sh4
2 files changed, 0 insertions, 9 deletions
diff --git a/test/e2e/hooks/checkhook.json b/test/e2e/hooks/checkhook.json
deleted file mode 100644
index 5a9bc86d1..000000000
--- a/test/e2e/hooks/checkhook.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "cmd" : [".*"],
- "hook" : "/tmp/checkhook.sh",
- "stage" : [ "prestart" ]
-}
diff --git a/test/e2e/hooks/checkhook.sh b/test/e2e/hooks/checkhook.sh
deleted file mode 100755
index 8b755cb40..000000000
--- a/test/e2e/hooks/checkhook.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-echo $@ >> /run/hookscheck
-read line
-echo $line >> /run/hookscheck