Do not run check_shells.sh
This script is not included in the tarball and it doesn't be targetted to run
at build time.
--- a/Makefile.in
+++ b/Makefile.in
@@ -573,7 +573,6 @@ src_ibcacheedit_LDFLAGS = -L$(top_buildd
 src_dump_fts_SOURCES = src/dump_fts.c
 src_dump_fts_LDFLAGS = -L$(top_builddir)/libibnetdisc -libnetdisc
 BUILT_SOURCES = ibdiag_version
-@HAVE_DASH_TRUE@TESTS = tests/check_shells.sh
 EXTRA_DIST = doc scripts include infiniband-diags.spec.in infiniband-diags.spec \
 	$(man_MANS) $(compat_man_pages) autogen.sh etc/*
 
--- a/Makefile.am
+++ b/Makefile.am
@@ -135,10 +135,6 @@ ibdiag_version:
 		fi ; \
 	fi
 
-if HAVE_DASH
-TESTS = tests/check_shells.sh
-endif
-
 EXTRA_DIST = doc scripts include infiniband-diags.spec.in infiniband-diags.spec \
 	$(man_MANS) $(compat_man_pages) autogen.sh etc/*
 
