Browse Source

Cleanup sys fixtures before unpacking

Make sure we cleanup the sys fixtures before unpacking to avoid obsolete
files and conflicts from sticking around.

Signed-off-by: Ben Kochie <superq@gmail.com>
pull/894/head
Ben Kochie 7 years ago
parent
commit
1bdfe77315
  1. 1
      Makefile

1
Makefile

@ -91,6 +91,7 @@ skip-test-32bit:
collector/fixtures/sys/.unpacked: collector/fixtures/sys.ttar
@echo ">> extracting sysfs fixtures"
if [ -d collector/fixtures/sys ] ; then rm -r collector/fixtures/sys ; fi
./ttar -C collector/fixtures -x -f collector/fixtures/sys.ttar
touch $@

Loading…
Cancel
Save