From 5d4843491433bfd53bda485acc46f91e0e978cc4 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sun, 7 Jan 2007 12:06:07 +0000 Subject: [PATCH] =?UTF-8?q?=20=20*=20Don=E2=80=99t=20run=20the=20testsuite?= =?UTF-8?q?=20if=20/bin/cat=20is=20statically=20linked.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/testsuite.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/testsuite.sh b/test/testsuite.sh index 8e5e516..0159dc1 100755 --- a/test/testsuite.sh +++ b/test/testsuite.sh @@ -61,6 +61,11 @@ else fi if [ ! -f "$FDCAT" -o ! -f "$STREAMCAT" ]; then echo "error: test/fdcat or test/streamcat are missing" + exit 1 +fi +if file /bin/cat | grep -q 'statically linked'; then + echo "error: /bin/cat is statically linked" + exit 1 fi FAILED=0 TESTED=0