From 9aa0006c274e53e09bf597a9339c82632b217763 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sun, 7 Aug 2022 01:35:12 +0000 Subject: [PATCH] tests: improve circular reference tests to make use of the circular reference diagnostic --- tests/basic.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/basic.sh b/tests/basic.sh index d9c8f2c..4a929df 100755 --- a/tests/basic.sh +++ b/tests/basic.sh @@ -212,16 +212,16 @@ libs_circular2_body() { export PKG_CONFIG_PATH="${selfdir}/lib1" atf_check \ - -o inline:"-lcircular-3 -lcircular-1 -lcircular-2 \n" \ - pkgconf --libs circular-2 + -o inline:"circular-1: breaking circular reference (circular-1 -> circular-2 -> circular-1)\n" \ + pkgconf circular-2 --validate } libs_circular1_body() { export PKG_CONFIG_PATH="${selfdir}/lib1" atf_check \ - -o inline:"-lcircular-2 -lcircular-3 -lcircular-1 \n" \ - pkgconf --libs circular-1 + -o inline:"circular-3: breaking circular reference (circular-3 -> circular-1 -> circular-3)\n" \ + pkgconf circular-1 --validate } libs_circular_directpc_body()