source: roaraudio/tests/test-runnable.sh @ 3186:03f115e06e7b

Last change on this file since 3186:03f115e06e7b was 3186:03f115e06e7b, checked in by phi, 14 years ago

make test work with soname set

  • Property exe set to *
File size: 344 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 $BIN_PATH$c --server '(INVALID)' < /dev/null > /dev/null 2> /dev/null
15 R=$?
16
17 if [ "$R" -le 64 ]
18 then
19  _ok
20  echo ok
21 else
22  _failed
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.