Skip to content

Commit

Permalink
tomcat: Use script_output for escape characters
Browse files Browse the repository at this point in the history
  • Loading branch information
dzedro committed Sep 26, 2024
1 parent 99e917e commit 419d345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Tomcat/ModjkTest.pm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ sub func_conn_apache2_tomcat() {
select_serial_terminal();
systemctl('stop apache2');
systemctl('stop tomcat');
assert_script_run(
script_output(
"echo \"\$(cat <<EOF
JkMount /* ajp13
JkMount /*.jsp ajp13
Expand All @@ -61,7 +61,7 @@ sub conn_apache2_tomcat() {

# Define a worker "ajp13" which listens behind the above AJP 1.3 Connector address and port
assert_script_run('cp /usr/share/doc/packages/apache2-mod_jk/workers.properties /etc/tomcat/workers.properties');
assert_script_run(
script_output(
"echo \"\$(cat <<EOF
worker.list=ajp13
worker.ajp13.reference=worker.template
Expand Down

0 comments on commit 419d345

Please sign in to comment.