1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-23 04:25:10 +03:00

fix tests

Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
This commit is contained in:
Casey Connolly 2025-05-26 18:42:22 +02:00
parent 88afc10e95
commit e44ef84b4b
9 changed files with 27 additions and 17 deletions

View file

@ -44,6 +44,9 @@ def progs() -> dict[str, str]:
@pytest.fixture
def bootimg(progs: dict[str, str], tmp_path: Path) -> Callable:
if Path("/in-pmbootstrap").exists():
pytest.skip("Nested chroot unsupported")
path: Path = tmp_path / "boot.img"
cmd = [
progs["mkbootimg"],