Skip to content

Commit

Permalink
Simply sideloading and purge instructions
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Parrott <[email protected]>
  • Loading branch information
tomponline committed Aug 9, 2024
1 parent f5f8757 commit 19aadd2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ For faster repeated runs, you might want to tell `snap` that it can purge the LX
without taking any snapshot:

```
export PURGE_LXD=1
./bin/local-run tests/interception latest/edge
PURGE_LXD=1 ./bin/local-run tests/interception latest/edge
```

Note: if you need to run tests on temporary machines, [Testflinger reservations](https://docs.google.com/document/d/11Kot68mnBY9Wq9DXRzTVrKpx5cMkkhBC5RrM51eyybY) might be useful.
Expand All @@ -20,8 +19,7 @@ To test a custom build of LXD, you can set the `LXD_SIDELOAD_PATH` environment v
This will be copied to `/var/snap/lxd/common/lxd.debug` and the daemon will be reloaded before the test run.

```
export LXD_SIDELOAD_PATH=/tmp/lxd
./bin/local-run tests/interception latest/edge
LXD_SIDELOAD_PATH=/tmp/lxd ./bin/local-run tests/interception latest/edge
```


Expand Down

0 comments on commit 19aadd2

Please sign in to comment.