mirror of https://github.com/containers/podman.git
Merge pull request #17518 from edsantiago/untab
system tests: prevent leading tabs
This commit is contained in:
commit
e8a8433641
|
@ -28,6 +28,11 @@ msg "Checking Cirrus YAML"
|
||||||
# shellcheck disable=SC2154
|
# shellcheck disable=SC2154
|
||||||
showrun $SCRIPT_BASE/cirrus_yaml_test.py
|
showrun $SCRIPT_BASE/cirrus_yaml_test.py
|
||||||
|
|
||||||
|
msg "Checking for leading tabs in system tests"
|
||||||
|
if grep -n ^$'\t' test/system/*; then
|
||||||
|
die "Found leading tabs in system tests. Use spaces to indent, not tabs."
|
||||||
|
fi
|
||||||
|
|
||||||
# Defined by CI config.
|
# Defined by CI config.
|
||||||
# shellcheck disable=SC2154
|
# shellcheck disable=SC2154
|
||||||
if [[ "${DISTRO_NV}" =~ fedora ]]; then
|
if [[ "${DISTRO_NV}" =~ fedora ]]; then
|
||||||
|
|
Loading…
Reference in New Issue