Skip to content
Snippets Groups Projects
Commit ea8623c4 authored by alex's avatar alex
Browse files

- PTLDEBUG var to control debug set

parent 794cb3c1
No related merge requests found
...@@ -39,6 +39,7 @@ SOCKETSERVER=${SOCKETSERVER:-socketserver} ...@@ -39,6 +39,7 @@ SOCKETSERVER=${SOCKETSERVER:-socketserver}
SOCKETCLIENT=${SOCKETCLIENT:-socketclient} SOCKETCLIENT=${SOCKETCLIENT:-socketclient}
IOPENTEST1=${IOPENTEST1:-iopentest1} IOPENTEST1=${IOPENTEST1:-iopentest1}
IOPENTEST2=${IOPENTEST2:-iopentest2} IOPENTEST2=${IOPENTEST2:-iopentest2}
PTLDEBUG=${PTLDEBUG:-0}
if [ $UID -ne 0 ]; then if [ $UID -ne 0 ]; then
RUNAS_ID="$UID" RUNAS_ID="$UID"
...@@ -95,7 +96,7 @@ run_one() { ...@@ -95,7 +96,7 @@ run_one() {
if ! mount | grep -q $DIR; then if ! mount | grep -q $DIR; then
$START $START
fi fi
echo -1 >/proc/sys/portals/debug echo $PTLDEBUG >/proc/sys/portals/debug
log "== test $1: $2" log "== test $1: $2"
export TESTNAME=test_$1 export TESTNAME=test_$1
test_$1 || error "test_$1: exit with rc=$?" test_$1 || error "test_$1: exit with rc=$?"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment