mirror of
https://github.com/prometheus/node_exporter
synced 2025-03-22 18:57:40 +00:00
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>
This commit is contained in:
parent
9e485f1157
commit
1bdfe77315
1
Makefile
1
Makefile
@ -91,6 +91,7 @@ skip-test-32bit:
|
|||||||
|
|
||||||
collector/fixtures/sys/.unpacked: collector/fixtures/sys.ttar
|
collector/fixtures/sys/.unpacked: collector/fixtures/sys.ttar
|
||||||
@echo ">> extracting sysfs fixtures"
|
@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
|
./ttar -C collector/fixtures -x -f collector/fixtures/sys.ttar
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user