source: roaraudio/tests/test-runnable.sh @ 5870:4ea810a09919

Last change on this file since 5870:4ea810a09919 was 5185:9c42709e2c89, checked in by phi, 13 years ago

added server type +invalid

  • Property exe set to *
File size: 354 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
[5185]14 $EXEC_HELPER $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.