Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion t_server/original/client_vm/bin/t_client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ else
fi

LOGDIR=t_client-`hostname`-`date +%Y%m%d-%H%M%S`
if [ -n "$TEST_RUN_GROUP" ]; then
LOGDIR="${LOGDIR}-${TEST_RUN_GROUP}"
fi
LOGDIR_ABS="$PWD/$LOGDIR"
if mkdir $LOGDIR
then :
Expand Down Expand Up @@ -240,7 +243,7 @@ get_ifconfig_route()
# except Linux and MacOS
case $UNAME in
Linux)
if [ -x /usr/bin/resolvectl ] ; then
if [ -x /usr/bin/resolvectl -a -d /run/systemd/system ] ; then
echo "-- linux resolvectl --"
resolvectl status
else
Expand Down
10 changes: 8 additions & 2 deletions t_server/original/run_t_clients.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,18 @@ do
grep "Test sets" $LOG | grep -v none >> $SUMMARY
case $RC in
0) ;; # all good
30) EXIT_CODE=1 ;; # some tests failed
30) # some tests failed
EXIT_CODE=1
echo "Tests failed in ($T/$G)"
echo "-----------------"
cat $LOG
echo "-----------------"
;;
77) ;; # no tests run
*) # unexpected failure, show more details!
echo "Test run $T/$G failed (host=$HOST): rc=$RC" | tee -a $SUMMARY
echo "-----------------"
tail $LOG
cat $LOG
echo "-----------------"
echo ""
exit 1
Expand Down