diff --git a/Makefile.am b/Makefile.am
index d4aa5b75a5bd2acbe8187c551e73ac76336b663b..ff553590faf7474317f0831dfb78040e545e4dc0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,7 +15,7 @@ EXTRA_DIST = BUGS
 #	rm $(distdir)/TODO
 installcheck-local:
 if LAUNCHSTYLE_SET
-	/bin/sh $(DESTDIR)$(bindir)/music_tests.sh
+	/bin/sh $(DESTDIR)$(bindir)/music_tests
 else
 	@echo "checkinstall target is supported only when compiled with openMPI or MPICH libraries."
 	@exit 1
diff --git a/configure.ac b/configure.ac
index 08d261363ff3cdef06e0ec1fb8738cfe97fc6dd8..bed02894d862f1dc47da51388eb8b6dc22a7732d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -412,7 +412,7 @@ AC_CONFIG_FILES([
   utils/Makefile
   examples/Makefile
   testsuite/Makefile
-  testsuite/music_tests.sh
+  testsuite/music_tests
   testsuite/unittests/catch/Makefile
   testsuite/sanitytests/Makefile
   music-config/Makefile
diff --git a/testsuite/music_tests.sh.in b/testsuite/music_tests.in
similarity index 100%
rename from testsuite/music_tests.sh.in
rename to testsuite/music_tests.in