Merge pull request #894 from prometheus/superq/ttar_cleanup

Cleanup sys fixtures before unpacking
This commit is contained in:
Ben Kochie 2018-04-14 15:00:39 +02:00 committed by GitHub
commit 4c863f3b5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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 $@