git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13bc950
)
fix quote bug
author
Jan Pospíšil
<honik@ntc.zcu.cz>
Tue, 2 Sep 2008 15:52:26 +0000
(15:52 +0000)
committer
Jan Pospíšil
<honik@ntc.zcu.cz>
Tue, 2 Sep 2008 15:52:26 +0000
(15:52 +0000)
org.glite.testsuites.ctb/LB/lb-common.sh
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.testsuites.ctb/LB/lb-common.sh
b/org.glite.testsuites.ctb/LB/lb-common.sh
index
4a44ab7
..
33d3150
100755
(executable)
--- a/
org.glite.testsuites.ctb/LB/lb-common.sh
+++ b/
org.glite.testsuites.ctb/LB/lb-common.sh
@@
-83,8
+83,8
@@
function check_exec()
return $TEST_ERROR
fi
# XXX: maybe use bash's command type?
- ret=`which $1 > /dev/null 2>&1`
- if [ $? -eq 0 ] && [ -x
"$ret" ]; then
+
local
ret=`which $1 > /dev/null 2>&1`
+ if [ $? -eq 0 ] && [ -x
$ret ]; then
return $TEST_OK
else
return $TEST_ERROR
@@
-127,8
+127,7
@@
function check_listener()
req_program=$1
req_port=$2
if [ -z $1 ]; then
- print_newline
- print_error "No program name entered"
+ set_error "No program name entered"
return $TEST_ERROR
fi
@@
-142,5
+141,4
@@
function check_listener()
else
return $TEST_OK
fi
-
}