Merge pull request #894 from prometheus/superq/ttar_cleanup
Cleanup sys fixtures before unpacking
This commit is contained in:
commit
4c863f3b5d
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