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 |
---|
4 | source default.conf || exit 1 |
---|
5 | source sshtestlib || exit 1 |
---|
6 | source scctestlib || exit 1 |
---|
7 | source webtestlib || exit 1 |
---|
8 | source nettestlib || exit 1 |
---|
9 | source Xtestlib || exit 1 |
---|
10 | source asterisktestlib || exit 1 |
---|
11 | |
---|
12 | |
---|
13 | function 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 | |
---|
22 | function error() |
---|
23 | { |
---|
24 | echo -e "\e[1;31m### $1\e[0m" >&2 |
---|
25 | } |
---|
26 | |
---|
27 | function info() |
---|
28 | { |
---|
29 | echo -e "\e[1;32m### $1\e[0m" >&2 |
---|
30 | |
---|
31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.