Commit 7ae89758 authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov

tests: remember to clean everything on make clean

If we forget to clean some of this stuff, we can get into strange states
where zdtm.py thinks it has constructed the root, but really hasn't, and
can't construct the root because it partially exists.

v2: kill all the extra debugging crap from v1
Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent f7bc8400
......@@ -52,6 +52,10 @@ clean_root:
$(Q) $(RM) -r ./etc
$(Q) $(RM) -r ./dev
$(Q) $(RM) -r ./bin
$(Q) $(RM) -r ./sbin
$(Q) $(RM) -r ./proc
$(Q) $(RM) -r ./usr
$(Q) $(RM) -r ./.constructed
clean: clean_root
$(RM) zdtm_ct zdtm-tst-list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment