From ece1e7a7dc6a729452598882f4dcd2d4ad94a139 Mon Sep 17 00:00:00 2001 From: George Spanos Date: Thu, 4 Dec 2025 21:43:42 +0200 Subject: [PATCH] postgresql_db: fix integration test for fedora42 --- .../targets/postgresql_db/tasks/state_dump_restore_role.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/targets/postgresql_db/tasks/state_dump_restore_role.yml b/tests/integration/targets/postgresql_db/tasks/state_dump_restore_role.yml index dfe67a4d..31180e04 100644 --- a/tests/integration/targets/postgresql_db/tasks/state_dump_restore_role.yml +++ b/tests/integration/targets/postgresql_db/tasks/state_dump_restore_role.yml @@ -87,7 +87,7 @@ assert: that: - result is changed - - result.executed_commands[0] is search("/bin/pg_dump") + - result.executed_commands[0] is search("/s?bin/pg_dump") - result.executed_commands[0] is search("-n schema1") - name: pg_restore archive on dst_db with session_role @@ -106,7 +106,7 @@ assert: that: - result is changed - - result.executed_commands[0] is search("/bin/pg_restore") + - result.executed_commands[0] is search("/s?bin/pg_restore") - result.executed_commands[0] is search("--role=") - name: check restored schema1 owner is db_session_role1 @@ -166,7 +166,7 @@ assert: that: - result is changed - - result.executed_commands[0] is search("/bin/pg_dump") + - result.executed_commands[0] is search("/s?bin/pg_dump") - result.executed_commands[0] is search("-n schema1") - result.executed_commands[0] is search("--role=")