source: tests/testlib @ 3b59591

Last change on this file since 3b59591 was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100755
File size: 557 bytes
Line 
1#!/bin/bash
2# (C)2009 DatuX - Released under GPL
3# Generic testlibary. Include deze in je test scripts
4source default.conf || exit 1
5source sshtestlib || exit 1
6source scctestlib || exit 1
7source webtestlib || exit 1
8source nettestlib || exit 1
9source Xtestlib || exit 1
10source asterisktestlib || exit 1
11
12
13function pausetest()
14{
15        echo -e "\e[1;32m### pause: $DESCRIPTION1 \e[0m" >&2
16        echo "Sleeping $1..."
17        sleep $1 || exit 1
18        DESCRIPTION1=
19}
20
21
22function error()
23{
24        echo -e "\e[1;31m### $1\e[0m" >&2
25}
26
27function info()
28{
29        echo -e "\e[1;32m### $1\e[0m" >&2
30
31}
Note: See TracBrowser for help on using the repository browser.