From 17d6dede6afea3aa014688f793a1e0464767ffaa Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Fri, 8 Apr 2016 13:53:03 +0000 Subject: [PATCH] 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 --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index d670ae19847..c566b1f6e4d 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 -- 2.47.3