source: roaraudio/tests/test-runnable.sh @ 1408:b23afd37a809

Last change on this file since 1408:b23afd37a809 was 1408:b23afd37a809, checked in by phi, 15 years ago

return number of fails

  • Property exe set to *
File size: 383 bytes
Line 
1#!/bin/sh
2
3TEST_NAME='Runnable test'
4TEST_DESC='Test clients for runnability'
5
6. ./common.sh
7
8CLIENTS="$1"
9
10for c in $CLIENTS;
11do
12 printf "%-16s : " "$c"
13
14 $LD_LIBRARY_PATH$c --server '(INVALID)' < /dev/null > /dev/null 2> /dev/null
15 R=$?
16
17 if [ "$R" -le 64 ]
18 then
19  OK=`expr $OK + 1`
20  echo ok
21 else
22  FAILED=`expr $FAILED + 1`
23  echo "FAILED! ret=$R"
24 fi
25
26done
27
28disp_sum
29ret
30
31#ll
Note: See TracBrowser for help on using the repository browser.