diff options
Diffstat (limited to 'tests/cfg-link.testscript')
-rw-r--r-- | tests/cfg-link.testscript | 46 |
1 files changed, 42 insertions, 4 deletions
diff --git a/tests/cfg-link.testscript b/tests/cfg-link.testscript index 5d903f2..26496eb 100644 --- a/tests/cfg-link.testscript +++ b/tests/cfg-link.testscript @@ -4,10 +4,7 @@ .include common.testscript cfg_create += 2>! - -# @@ To verify the linking result use cfg-list command rather than pkg-status, -# when implemented. -# +cfg_info += --link test.arguments += -d cfg @@ -44,6 +41,18 @@ acfg_uuid = '28f48b4b-b5d9-4712-b98c-1930df1c4228' id: 1 EOE + $cfg_info -d cfg >>/~"%EOO%"; + path: $~/cfg/ + %uuid: .{36}% + type: target + name: main + + path: $~/acfg/ + uuid: $acfg_uuid + type: target + name: shared + EOO + $pkg_status -d cfg libfoo >'libfoo unknown'; $pkg_status -d acfg libfoo >'libfoo unknown'; @@ -107,6 +116,23 @@ acfg_uuid = '28f48b4b-b5d9-4712-b98c-1930df1c4228' rm -r acfg; $cfg_create -d acfg --name 'shared' --uuid "$acfg_uuid" &acfg/***; + $cfg_info -d cfg >>/~"%EOO%"; + path: $~/cfg/ + %uuid: .{36}% + type: target + name: test + + path: $~/acfg/ + uuid: $acfg_uuid + type: target + name: shared + + path: $~/acfg2/ + %uuid: .{36}% + type: target + name: shared + EOO + $pkg_status -d cfg libfoo >'libfoo unknown'; $pkg_status -d acfg2 libfoo >'libfoo unknown'; @@ -134,6 +160,18 @@ acfg_uuid = '28f48b4b-b5d9-4712-b98c-1930df1c4228' id: 1 EOE + $cfg_info -d acfg2 >>/~"%EOO%"; + path: $~/acfg2/ + %uuid: .{36}% + type: target + name: shared + + path: $~/cfg/ + %uuid: .{36}% + type: target + name: test + EOO + $pkg_status -d cfg libfoo >'libfoo unknown'; $pkg_status -d acfg2 libfoo >'libfoo unknown'; |