CustomPiOS icon indicating copy to clipboard operation
CustomPiOS copied to clipboard

This is Pr #240 with unit testing

Open guysoft opened this issue 10 months ago • 3 comments

May not be merged, see talk in #240

guysoft avatar Feb 22 '25 22:02 guysoft

I ran your unit test but I fail to see what the unit test has to do with the proposed changes. Nothing about the unit test seems to be using common.sh?

jxmx avatar Feb 23 '25 20:02 jxmx

I ran your unit test but I fail to see what the unit test has to do with the proposed changes. Nothing about the unit test seems to be using common.sh? Start of line of test_qemu_setup.sh

DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Source the main script
source "${DIR}"/../src/common.sh

Then you can see plenty of uses of chroot_correct_qemu which is now part of common.sh

guysoft avatar Feb 24 '25 08:02 guysoft

I added a test for "debian" and it looks okay.

jxmx avatar Feb 26 '25 15:02 jxmx