From: OFED and Debian Developement and Discussion
 <pkg-ofed-devel@lists.alioth.debian.org>
Date: Tue, 5 Jan 2016 01:14:56 +0100
Subject: comment_test_out

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.
---
 Makefile.am | 4 ----
 Makefile.in | 1 -
 2 files changed, 5 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 93af707..44d32ea 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -148,10 +148,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/*
 
diff --git a/Makefile.in b/Makefile.in
index 6573884..e3e4259 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -900,7 +900,6 @@ src_dump_fts_LDFLAGS = -L$(top_builddir)/libibnetdisc -libnetdisc
 @ENABLE_RDMA_NDD_TRUE@src_rdma_ndd_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS)
 @ENABLE_RDMA_NDD_TRUE@src_rdma_ndd_LDADD = libcommon.a $(UDEV_LIBS)
 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/*
 
