[Git][java-team/css-validator][master] d/t/webapp_validate_common.sh: redirect stderr to stdout on systemctl call

bastif (@bastif) gitlab at salsa.debian.org
Fri Mar 6 07:31:14 GMT 2026



bastif pushed to branch master at Debian Java Maintainers / css-validator


Commits:
e1c80e7c by Fab Stz at 2026-03-06T08:30:18+01:00
d/t/webapp_validate_common.sh: redirect stderr to stdout on systemctl call

- - - - -


1 changed file:

- debian/tests/webapp_validate_common.sh


Changes:

=====================================
debian/tests/webapp_validate_common.sh
=====================================
@@ -89,7 +89,9 @@ start_server()
       ;;
     esac
 
-    sudo systemctl stop --job-mode=triggering "$server"
+    # Need to use 2>&1 because, every now and then, with jetty, systemctl outputs
+    # "Stopping 'jetty9.service', but its triggering units are still active"
+    sudo systemctl stop --job-mode=triggering "$server" 2>&1
     wait_until_not_state "$server" "active"
     sudo systemctl start "$server"
     wait_until_ready "$server" "$port" "$path"



View it on GitLab: https://salsa.debian.org/java-team/css-validator/-/commit/e1c80e7c345eb1f633d760dc580cb39b32a5e02a

-- 
View it on GitLab: https://salsa.debian.org/java-team/css-validator/-/commit/e1c80e7c345eb1f633d760dc580cb39b32a5e02a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20260306/401fcec7/attachment.htm>


More information about the pkg-java-commits mailing list