]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: make the symlink helpers a bit more quiet
authorFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 27 Sep 2022 11:47:59 +0000 (13:47 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 27 Sep 2022 13:10:18 +0000 (15:10 +0200)
and show only errors/warnings.

test/units/testsuite-64.sh

index 58f96ecce8f8cafc9156aad2deca467e5cf828dd..8ded8b6e2df9266e1a45167f6f92fb064c418871 100755 (executable)
@@ -24,7 +24,6 @@ helper_check_device_symlinks() {(
 
     while read -r link; do
         target="$(readlink -f "$link")"
-        echo "$link -> $target"
         # Both checks should do virtually the same thing, but check both to be
         # on the safe side
         if [[ ! -e "$link" || ! -e "$target" ]]; then
@@ -48,8 +47,6 @@ helper_check_udev_watch() {(
 
     while read -r link; do
         target="$(readlink "$link")"
-        echo "$link -> $target"
-
         if [[ ! -L "/run/udev/watch/$target" ]]; then
             echo >&2 "ERROR: symlink /run/udev/watch/$target does not exist"
             return 1