test/system: Silence SC1090

Otherwise https://www.shellcheck.net/ would complain:
  Line 218:
  source <(echo "$output")
         ^---------------^ SC1090 (warning): ShellCheck can't follow
                           non-constant source. Use a directive to
                           specify location.

See: https://www.shellcheck.net/wiki/SC1090

https://github.com/containers/toolbox/pull/1347
This commit is contained in:
Debarshi Ray 2023-07-07 18:31:22 +02:00
parent 341ae55f9d
commit 41349f4ee4

View file

@ -211,6 +211,7 @@ teardown() {
assert [ ${#lines[@]} -gt 0 ] assert [ ${#lines[@]} -gt 0 ]
assert [ ${#stderr_lines[@]} -eq 0 ] assert [ ${#stderr_lines[@]} -eq 0 ]
# shellcheck disable=SC1090
source <(echo "$output") source <(echo "$output")
run echo "$name" run echo "$name"
@ -234,6 +235,7 @@ teardown() {
assert [ ${#lines[@]} -gt 0 ] assert [ ${#lines[@]} -gt 0 ]
assert [ ${#stderr_lines[@]} -eq 0 ] assert [ ${#stderr_lines[@]} -eq 0 ]
# shellcheck disable=SC1090
source <(echo "$output") source <(echo "$output")
run echo "$name" run echo "$name"