diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-02-05 21:41:24 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-02-06 09:19:04 +0100 |
commit | 7a17e41dcfad2a45d3acced2596f7359bbcd1075 (patch) | |
tree | 1014afaf36886db05f222ff495b75bf2827b3142 /.semaphore | |
parent | NEWS: adjust commas, avoid double negative (diff) | |
download | systemd-7a17e41dcfad2a45d3acced2596f7359bbcd1075.tar.xz systemd-7a17e41dcfad2a45d3acced2596f7359bbcd1075.zip |
test: drop whitespace after shell redirection operators
(The one case that is left unchanged is '< <(subcommand)'.)
This way, the style with no gap was already dominant. This way, the reader
immediately knows that ' < ' is a comparison operator and ' << ' is a shift.
In a few cases, replace custom EOF replacement by just EOF. There is no point
in using someting like "_EOL" unless "EOF" appears in the text.
Diffstat (limited to '.semaphore')
-rwxr-xr-x | .semaphore/semaphore-runner.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.semaphore/semaphore-runner.sh b/.semaphore/semaphore-runner.sh index b0d32bd136..1ceaee1f8d 100755 --- a/.semaphore/semaphore-runner.sh +++ b/.semaphore/semaphore-runner.sh @@ -28,14 +28,14 @@ create_container() { # enable source repositories so that apt-get build-dep works sudo lxc-attach -n "$CONTAINER" -- sh -ex <<EOF -sed 's/^deb/deb-src/' /etc/apt/sources.list >> /etc/apt/sources.list.d/sources.list +sed 's/^deb/deb-src/' /etc/apt/sources.list >>/etc/apt/sources.list.d/sources.list # We might attach the console too soon while ! systemctl --quiet --wait is-system-running; do sleep 1; done # Manpages database trigger takes a lot of time and is not useful in a CI echo 'man-db man-db/auto-update boolean false' | debconf-set-selections # Speed up dpkg, image is thrown away after the test mkdir -p /etc/dpkg/dpkg.cfg.d/ -echo 'force-unsafe-io' > /etc/dpkg/dpkg.cfg.d/unsafe_io +echo 'force-unsafe-io' >/etc/dpkg/dpkg.cfg.d/unsafe_io # For some reason, it is necessary to run this manually or the interface won't be configured # Note that we avoid networkd, as some of the tests will break it later on dhclient @@ -74,7 +74,7 @@ for phase in "${PHASES[@]}"; do # craft changelog UPSTREAM_VER="$(git describe | sed 's/^v//;s/-/./g')" - cat << EOF > debian/changelog.new + cat <<EOF >debian/changelog.new systemd (${UPSTREAM_VER}.0) UNRELEASED; urgency=low * Automatic build for upstream test @@ -92,7 +92,7 @@ EOF # enable more unit tests sed -i '/^CONFFLAGS =/ s/=/= --werror -Dtests=unsafe -Dsplit-usr=true -Dslow-tests=true -Dfuzz-tests=true -Dman=true /' debian/rules # no orig tarball - echo '1.0' > debian/source/format + echo '1.0' >debian/source/format # build source package dpkg-buildpackage -S -I -I"$(basename "$CACHE_DIR")" -d -us -uc -nc |