ifcfg-rh: fix some missing tests in tarball

The tests were missing, and because of the way the test was structured,
the tests passed.
This commit is contained in:
Dan Williams 2011-03-21 17:44:47 -05:00
parent 69a135debb
commit 6cbb44bc97
2 changed files with 6 additions and 1 deletions

View file

@ -46,5 +46,8 @@ EXTRA_DIST = \
iscsiadm-test-bad-ipaddr \
iscsiadm-test-bad-gateway \
iscsiadm-test-bad-dns1 \
iscsiadm-test-bad-dns2
iscsiadm-test-bad-dns2 \
iscsiadm-test-bad-entry \
iscsiadm-test-bad-record

View file

@ -9935,6 +9935,8 @@ test_read_ibft_malformed (const char *name, const char *iscsiadm_path)
gboolean ignore_error = FALSE;
GError *error = NULL;
g_assert (g_file_test (iscsiadm_path, G_FILE_TEST_EXISTS));
connection = connection_from_file (TEST_IFCFG_IBFT_STATIC,
NULL,
TYPE_ETHERNET,