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
RevLine 
[1407]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
[3186]14 $BIN_PATH$c --server '(INVALID)' < /dev/null > /dev/null 2> /dev/null
[1407]15 R=$?
16
17 if [ "$R" -le 64 ]
18 then
[1411]19  _ok
[1407]20  echo ok
21 else
[1411]22  _failed
[1407]23  echo "FAILED! ret=$R"
24 fi
25
26done
27
28disp_sum
[1408]29ret
[1407]30
31#ll
Note: See TracBrowser for help on using the repository browser.