summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKerin Millar <kfm@plushkava.net>2024-08-03 05:19:23 +0100
committerKerin Millar <kfm@plushkava.net>2024-08-03 05:22:39 +0100
commit7e82a40f39b75efa66ccbd73580d4c3a051b155e (patch)
tree1f0d411b9a8bb6fe14208eb0918a2433e724152c
parentAlter a variable name in quote_args() (diff)
downloadgentoo-functions-7e82a40f39b75efa66ccbd73580d4c3a051b155e.tar.gz
gentoo-functions-7e82a40f39b75efa66ccbd73580d4c3a051b155e.tar.bz2
gentoo-functions-7e82a40f39b75efa66ccbd73580d4c3a051b155e.zip
test-functions: jettison a few shellcheck exemptions
They are no longer applicable. Signed-off-by: Kerin Millar <kfm@plushkava.net>
-rwxr-xr-xtest-functions3
1 files changed, 1 insertions, 2 deletions
diff --git a/test-functions b/test-functions
index db89e73..7d75eda 100755
--- a/test-functions
+++ b/test-functions
@@ -1,5 +1,5 @@
#!/bin/sh
-# shellcheck disable=2015,2154,2164,2181,2317
+# shellcheck disable=2015,2164,2317
# Requires mktemp(1), which is not a standard utility, but is commonly
# available. The implementations provided by GNU coreutils, busybox and toybox
@@ -12,7 +12,6 @@ bailout() {
}
assign_tmpdir() {
- # shellcheck disable=1007
dir=$(mktemp -d) \
&& chdir "${dir}" \
|| bailout "Couldn't create or change to the temp dir"