]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
cli-tests/common.sh: remove argument count checks
authorEric Biggers <ebiggers@google.com>
Tue, 14 Sep 2021 21:27:59 +0000 (14:27 -0700)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 14 Sep 2021 21:48:11 +0000 (14:48 -0700)
commit1db83610c3361f2663d908ad3b9b96fde48ac225
tree8fec4ba150804b263455e01a7bab7ae81686cf66
parent955d3305cd117ad83411f75c2b3227fbaea60700
cli-tests/common.sh: remove argument count checks

These confuse the latest version of shellcheck into thinking that
functions which take no arguments actually take arguments, which
triggers a bunch of warnings like "Use func "$@" if function's $1 should
mean script's $1", which causes 'make lint' to fail.  These checks
aren't too useful, so just remove them.
cli-tests/common.sh