Skip to content

Commit 6cde86f

Browse files
committed
tests/containers/fips-nginx: fix typos and add trap in build.sh
Fixes #4477
1 parent 486c64b commit 6cde86f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/containers/fips-nginx/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# fips-nginx Container
22

3-
This is used by the `fips.enable.https` test to verify that using
3+
This is used by the `fips.enable.tls` test to verify that using
44
TLS works in FIPS mode by having Ignition fetch a remote resource
55
over HTTPS with FIPS compatible algorithms.
66

tests/containers/fips-nginx/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ fi
1414
ip="$1"
1515

1616
tmpdir="$(mktemp -d)"
17-
cp Containerfile ${tmpdir}
17+
trap 'rm -rf -- "${tmpdir}"' EXIT
18+
19+
cp Containerfile "${tmpdir}"
1820
cd ${tmpdir}
1921

2022
# Prepare index.html

0 commit comments

Comments
 (0)