#1111143#5
Date:
2025-08-15 05:59:26 UTC
From:
To:
Dear Maintainer,

I noticed that there are some tests[1] defined for the package in the debian salsa repository.
would it be possible to enable autopkgtest and run these test cases as part of autopkgtest?
if possible, could you please consider the same.

[1] https://salsa.debian.org/pkg-debconf/debconf/-/tree/master/Test?ref_type=heads

Thanks & Regards
Shivanand K

#1111143#10
Date:
2025-08-15 08:00:38 UTC
From:
To:
While I think it would be good to have autopkgtests, the tests aren't
currently the sorts of things that you can run automatically and get
pass/fail responses; they're more like sample code that one can
experiment with manually.  So this is not particularly easy.

#1111143#15
Date:
2025-08-15 11:16:25 UTC
From:
To:
Hello Colin,

Thanks for the quick reply.

Ah, I see, thank you the information.

Before creating debian bug, we tried running these test cases locally in a Debian PC, however faced few issues.
In order to solve the issues, we made some test code changes and pushed them to a branch[1].

But not sure whether the test code changes [2] are really necessary or Are we missing anything while running test cases?
So, we need your help to understand this, so could you please have a look at the changes and provide comments/suggestions.

The test cases are passed with the above changes and also added additional files (debian/tests/control, debian/tests/unit) for autopkgtest and confirmed the test cases works fine in the autopkgtest environment[3].

Please note all the test code changes are pushed in a single commit as of now, we will revise this further.

[1]  https://salsa.debian.org/kshivanand/debconf/-/commits/shiva/update-test-code
[2] https://salsa.debian.org/kshivanand/debconf/-/commit/4442da5f7bf50b1a56c4dd443d8847a3bddceb54
[3] https://salsa.debian.org/kshivanand/debconf/-/commit/6b2eb85120442a4970042d3637d5e5848498ac04

Thanks & Regards
Shivanand K
-----Original Message----- From: Colin Watson <cjwatson@debian.org> Sent: 15 August 2025 13:31 To: kunijadar shivanand(TSIP DITC_DIT-OST) <Shivanand.Kunijadar@toshiba-tsip.com>; 1111143@bugs.debian.org Cc: debconf-devel@lists.alioth.debian.org; dinesh kumar(TSIP DITC_DIT-OST) <dinesh.kumar@toshiba-tsip.com>; balakumar adithya(TSIP DITC_DIT-OST) <Adithya.Balakumar@toshiba-tsip.com>; sanglikar zaiba(TSIP TEUR) <Zaiba.Sanglikar@toshiba-tsip.com>; sahithi akunuri(TSIP TEUR) <akunuri.sahithi@toshiba-tsip.com> While I think it would be good to have autopkgtests, the tests aren't currently the sorts of things that you can run automatically and get pass/fail responses; they're more like sample code that one can experiment with manually. So this is not particularly easy.