From c02f59ca3a813cbf2c23f947f81cd5351fd0bb5b Mon Sep 17 00:00:00 2001 From: sivel / Matt Martz Date: Tue, 14 Oct 2025 13:05:39 -0500 Subject: [PATCH] fix urls in additional ansible-doc test (#85988) --- test/integration/targets/ansible-doc/runme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/targets/ansible-doc/runme.sh b/test/integration/targets/ansible-doc/runme.sh index 0404be235d8..6ce15b0a9da 100755 --- a/test/integration/targets/ansible-doc/runme.sh +++ b/test/integration/targets/ansible-doc/runme.sh @@ -121,7 +121,7 @@ done echo "testing role text output" # we use sed to strip the role path from the first line -current_role_out="$(ansible-doc -t role -r ./roles test_role1 | sed '1 s/\(^> ROLE: \*test_role1\*\).*(.*)$/\1/')" +current_role_out="$(ansible-doc -t role -r ./roles test_role1 | sed '1 s/\(^> ROLE: \*test_role1\*\).*(.*)$/\1/' | python fix-urls.py)" expected_role_out="$(sed '1 s/\(^> ROLE: \*test_role1\*\).*(.*)$/\1/' fakerole.output)" test "$current_role_out" == "$expected_role_out"