1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

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
This commit is contained in:
Evgeny Vereshchagin 2016-04-08 13:53:03 +00:00
parent 710a8858a9
commit 17d6dede6a

View File

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