# devvm limactl: limactl in devvm's place, on devvm's own Lima home # (whatever LIMA_HOME says), run from devvm's data folder; its arguments, # flags included, its input and its exit code pass through. env LIMA_HOME=/elsewhere exec devvm limactl list -q stub_calls cmp stdout calls exec sh -c 'cat "$STUB_DIR/limactl-env"' stdout '^cwd=\S*/data/devvm LIMA_HOME=\S*/lima$' ! stdout elsewhere # A limactl that echoes what it got and exits 7. chmod 0755 $WORK/bin/limactl env PATH=$WORK/bin${:}$PATH stdin input ! exec devvm limactl shell --start --workdir / devvm-web-x bash -s cmpenv stdout got exec sh -c 'devvm limactl --version