Revision ec48ba70 src/oca/java/test/test.sh
src/oca/java/test/test.sh | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 |
|
|
3 |
# -------------------------------------------------------------------------- # |
|
4 |
# Copyright 2002-2011, OpenNebula Project Leads (OpenNebula.org) # |
|
5 |
# # |
|
6 |
# Licensed under the Apache License, Version 2.0 (the "License"); you may # |
|
7 |
# not use this file except in compliance with the License. You may obtain # |
|
8 |
# a copy of the License at # |
|
9 |
# # |
|
10 |
# http://www.apache.org/licenses/LICENSE-2.0 # |
|
11 |
# # |
|
12 |
# Unless required by applicable law or agreed to in writing, software # |
|
13 |
# distributed under the License is distributed on an "AS IS" BASIS, # |
|
14 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # |
|
15 |
# See the License for the specific language governing permissions and # |
|
16 |
# limitations under the License. # |
|
17 |
#--------------------------------------------------------------------------- # |
|
18 |
|
|
2 | 19 |
# Usage: test.sh <Test_name> |
3 | 20 |
# For instance: test.sh ImageTest |
4 | 21 |
|
... | ... | |
16 | 33 |
exit -1 |
17 | 34 |
fi |
18 | 35 |
|
36 |
echo "=========================================================================" |
|
37 |
echo "Doing $1" |
|
38 |
echo "=========================================================================" |
|
19 | 39 |
|
20 | 40 |
PID=$$ |
21 | 41 |
|
Also available in: Unified diff