]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
rename tests/conftest.c
authorGene Czarcinski <gene@czarc.net>
Tue, 19 Mar 2013 18:36:28 +0000 (14:36 -0400)
committerEric Blake <eblake@redhat.com>
Tue, 19 Mar 2013 19:13:28 +0000 (13:13 -0600)
To prevent confusion with configure's popular name
for a file, rename conftest.c to test_conf.c which
is consistent with the invoking test_conf.sh
Signed-off-by: Gene Czarcinski <gene@czarc.net>
.gitignore
tests/Makefile.am
tests/test_conf.c [moved from tests/conftest.c with 100% similarity]
tests/test_conf.sh

index 68030d504a45a169a68ede3889a225331b2e5598..4b448203c66c76ea3ddd00e4a752a8b9f871a464 100644 (file)
 /tests/statstest
 /tests/storagebackendsheepdogtest
 /tests/sysinfotest
+/tests/test_conf
 /tests/utiltest
 /tests/viratomictest
 /tests/virauthconfigtest
index 6bb946a16cde26849c108511934010a3982c72b8..3abd698108676a0c023b0e0919e93d582f9b1619 100644 (file)
@@ -88,7 +88,7 @@ EXTRA_DIST =          \
        xml2vmxdata \
        .valgrind.supp
 
-test_helpers = commandhelper ssh conftest
+test_helpers = commandhelper ssh test_conf
 test_programs = virshtest sockettest \
        nodeinfotest virbuftest \
        commandtest seclabeltest \
@@ -507,9 +507,9 @@ virshtest_SOURCES = \
        testutils.c testutils.h
 virshtest_LDADD = $(LDADDS)
 
-conftest_SOURCES = \
-       conftest.c
-conftest_LDADD = $(LDADDS)
+test_conf_SOURCES = \
+       test_conf.c
+test_conf_LDADD = $(LDADDS)
 
 nodeinfotest_SOURCES = \
        nodeinfotest.c testutils.h testutils.c
similarity index 100%
rename from tests/conftest.c
rename to tests/test_conf.c
index aa7abf6ca0eea5e4167c3c41cd0fa999a8474da2..2920e283165506673376adc44cea7f47f798f0f6 100755 (executable)
@@ -12,7 +12,7 @@ data_dir=$abs_srcdir/confdata
 for f in $(cd "$data_dir" && echo *.conf)
 do
     i=`expr $i + 1`
-    "$abs_builddir/conftest" "$data_dir/$f" > "$f-actual"
+    "$abs_builddir/test_conf" "$data_dir/$f" > "$f-actual"
     expected="$data_dir"/`echo "$f" | sed s+\.conf$+\.out+`
     if compare "$expected" "$f-actual"; then
         ret=0