summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2016-04-08 13:53:03 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2016-04-08 13:53:03 +0000
commit17d6dede6afea3aa014688f793a1e0464767ffaa (patch)
tree9e5d23a34fa9e7ee29b9997f288ba8962eb13ecf /Makefile.am
parent710a8858a930a13da8dabbba61d64eb8f420b448 (diff)
build-sys: test/sys depends on test/sys.tar.xz
Fixes: $ ls -ld test/sys drwxr-xr-x. 12 vagrant vagrant 4096 Jan 6 2012 test/sys $ git pull Updating d4337c1..710a885 Fast-forward ... test/sys.tar.xz | Bin 261380 -> 165116 bytes test/udev-test.pl | 67 ++++++++++++----- $ sudo make check TESTS=test/udev-test.pl ... FAIL: test/udev-test.pl $ rm -r test/sys $ make test/sys $ sudo make check TESTS=test/udev-test.pl ... PASS: test/udev-test.pl
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index d670ae1984..c566b1f6e4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3829,9 +3829,11 @@ check_DATA += \
endif
# packed sysfs test tree
-test/sys:
+test/sys: test/sys.tar.xz
+ -rm -rf test/sys
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)tar -C test/ -xJf $(top_srcdir)/test/sys.tar.xz
+ -touch test/sys
test-sys-distclean:
-rm -rf test/sys