testsuite: remove .gitignore files when populating rootfs
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 5 Mar 2015 16:06:37 +0000 (13:06 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 6 Mar 2015 02:56:36 +0000 (23:56 -0300)
commit0f079cba76fcd10544798aa8d2318975d9a7e7fd
treed10cd87d843bedd08172daa3cd15c70fa8dd91fb
parentda6c0d2f52390fe7ed6c40f6aa9799edfeb19dcb
testsuite: remove .gitignore files when populating rootfs

Usually this file is added to keep a directory existing in the
repository but without any real content. In rootfs this can be
problematic if a directory will have all its files inspected. This
happens for kmod_module_get_holders().

Side-note: the 'test-loaded.c' is hit by this problem but doesn't
"notice" because the invalid module returned by get_holders() is not
checked. The modules in its loop are only used to get the name and
generate an output, and NULL was a valid value to generate the name.
Makefile.am