]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Complain if we can't run radclient
authorAlan T. DeKok <aland@freeradius.org>
Fri, 28 Dec 2012 13:26:57 +0000 (08:26 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 28 Dec 2012 13:26:57 +0000 (08:26 -0500)
src/tests/runtests.sh

index fcafc813124d297641e9a35fcebfff75927e2533..9253044a2d3ea37f331f4b447482fbf16c725316 100755 (executable)
@@ -48,6 +48,10 @@ do
 done
 
 $BIN_PATH/radclient `cat .bar` -xFd . 127.0.0.1:$PORT auth $SECRET > radclient.log 2>&1
+if [ "$?" != "0" ]; then
+  echo "Failed running $BIN_PATH/radclient"
+  exit 1
+fi
 
 for x in `cat .foo`
 do