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:
parent
88afc10e95
commit
e44ef84b4b
9 changed files with 27 additions and 17 deletions
|
@ -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"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue