Rename textfile test program
diff --git a/.gitignore b/.gitignore
index c20a0a0..dc4ab92 100644
--- a/.gitignore
+++ b/.gitignore
@@ -72,7 +72,7 @@
 test/lmptest
 test/ipctest
 test/btiotest
-test/test_textfile
+test/test-textfile
 rfcomm/rfcomm
 compat/dund
 compat/hidd
diff --git a/Makefile.tools b/Makefile.tools
index 19bbd69..aee5af1 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -130,7 +130,7 @@
 noinst_PROGRAMS += test/gaptest test/sdptest test/scotest \
 			test/attest test/hstest test/avtest test/ipctest \
 					test/lmptest test/bdaddr test/agent \
-					test/btiotest test/test_textfile
+					test/btiotest test/test-textfile
 
 test_hciemu_LDADD = @GLIB_LIBS@ lib/libbluetooth.la
 
@@ -163,7 +163,7 @@
 test_btiotest_SOURCES = test/btiotest.c src/btio.h src/btio.c
 test_btiotest_LDADD = @GLIB_LIBS@ lib/libbluetooth.la
 
-test_test_textfile_SOURCES = test/test_textfile.c src/textfile.h src/textfile.c
+test_test_textfile_SOURCES = test/test-textfile.c src/textfile.h src/textfile.c
 
 dist_man_MANS += test/rctest.1 test/hciemu.1
 
diff --git a/test/test_textfile.c b/test/test-textfile.c
similarity index 100%
rename from test/test_textfile.c
rename to test/test-textfile.c