From 19aadd2211c4fb5b6ff370bd44611c2fe4c86d3e Mon Sep 17 00:00:00 2001 From: Thomas Parrott Date: Fri, 9 Aug 2024 11:15:04 +0100 Subject: [PATCH] Simply sideloading and purge instructions Signed-off-by: Thomas Parrott --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b85865062..92b45b8a8 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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 ```