]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: check the colored --version output
authorFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 14 Apr 2023 19:07:51 +0000 (21:07 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 14 Apr 2023 19:07:51 +0000 (21:07 +0200)
test/units/testsuite-01.sh

index cd18a9fd740c3570b5331055b4c020964648e0a4..91dd47ca145717d2612746507b62376a7aab7a0f 100755 (executable)
@@ -3,6 +3,9 @@
 set -eux
 set -o pipefail
 
+# Check if the colored --version output behaves correctly
+SYSTEMD_COLORS=256 systemctl --version
+
 # Check if we properly differentiate between a full systemd setup and a "light"
 # version of it that's done during daemon-reexec
 #