]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: fix remaining shellcheck warnings
authorKarel Zak <kzak@redhat.com>
Tue, 5 May 2026 11:21:10 +0000 (13:21 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 5 May 2026 11:21:10 +0000 (13:21 +0200)
commit462bd9266e38e4c42086838b2890dd9ecb5cc08e
tree31da34d7ba2da56de3ec9cede97047b18f18ae65
parent480f67fe03f98c552581f647428c77657b5dc6bd
tests: fix remaining shellcheck warnings

 - fstab-devname: remove broken '|| >>' pattern (SC2188), the bare
   redirection after || has no command
 - fstab-all: quote $(basename ...) to prevent word splitting (SC2046)
 - libmount/lock, fsck/ismounted: use ':' no-op with bare file
   truncation redirections (SC2188)

Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/fsck/ismounted
tests/ts/libmount/lock
tests/ts/mount/fstab-all
tests/ts/mount/fstab-devname