]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: make the test actually test
authorFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 22 Dec 2023 12:16:06 +0000 (13:16 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Sat, 23 Dec 2023 15:37:30 +0000 (16:37 +0100)
Follow-up for dd25a95763e6ee52d40f4012ffeb2ce719f26b8d.

test/units/testsuite-74.run.sh

index d43d17ca6124a05a77414da48db8ac691d61721d..1b4daf8bf480786ced6b52241f50343a0b978110 100755 (executable)
@@ -229,7 +229,7 @@ assert_eq "$A" "$B"
 
 # Check that invoking the tool under the uid0 alias name works
 uid0 ls /
-echo "$(uid0 echo foo)" = "foo"
+assert_eq "$(uid0 echo foo)" "foo"
 
 umount /proc/version
 rm "$V"