build-sys: treat journal-data/journal-[12].txt as TEST_DATA_FILES
authorEvgeny Vereshchagin <evvers@ya.ru>
Thu, 16 Feb 2017 19:17:19 +0000 (19:17 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Thu, 16 Feb 2017 19:17:19 +0000 (19:17 +0000)
Fixes:
```
Found container virtualization none.
Assertion 'imp.fd >= 0' failed at ../src/test/test-journal-importer.c:43, function test_basic_parsing(). Aborting.
FAIL: test-journal-importer (code: 134)
```
See https://github.com/systemd/systemd/pull/5366#issuecomment-280353804

Makefile.am

index 10839e9..a70ebe6 100644 (file)
@@ -2469,7 +2469,7 @@ test_journal_importer_SOURCES = \
 test_journal_importer_LDADD = \
        libsystemd-shared.la
 
-EXTRA_DIST += \
+TEST_DATA_FILES += \
        test/journal-data/journal-1.txt \
        test/journal-data/journal-2.txt