#!/usr/local/bin/bash
clear
export PS4='\e[90m+${LINENO} in ${#BASH_SOURCE[@]}>${FUNCNAME[0]}:${BASH_SOURCE[@]##*/} \e[0m'
#set -x

echo "starting: $0 <LOG_LEVEL=$1>"

echo "sourcing init"
source init
source test.suite

echo "EXPECTED_RETURN_VALUE=$EXPECTED_RETURN_VALUE"
#check.debug.level 6

this.isSourced
expect 1 "started by main in interactive.test.debug" "$RESULT"




important.log "
now in $0
"
echo "type h during the planned error to see help..... continue tith typing c    stop with typing q"
problem.log "you will have an planned ERROR on: broken"
broken

stop.log "next messages are silenced if you pressed s"
console.log   "can you see console.log"
important.log "can you see important.log"
warn.log      "can you see warn.log"

echo "switching log level back to $1"
check.debug.level $1
