]>
Commit | Line | Data |
---|---|---|
908eaf68 | 1 | #!/bin/bash |
6bf19c94 CH |
2 | # |
3 | # Copyright (C) 2009 Red Hat, Inc. | |
4 | # Copyright (c) 2000-2003,2006 Silicon Graphics, Inc. All Rights Reserved. | |
5 | # | |
6 | # This program is free software; you can redistribute it and/or | |
7 | # modify it under the terms of the GNU General Public License as | |
8 | # published by the Free Software Foundation. | |
9 | # | |
10 | # This program is distributed in the hope that it would be useful, | |
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | # GNU General Public License for more details. | |
14 | # | |
15 | # You should have received a copy of the GNU General Public License | |
e8c212d6 | 16 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
6bf19c94 | 17 | # |
6bf19c94 CH |
18 | # all tests should use a common language setting to prevent golden |
19 | # output mismatches. | |
20 | export LANG=C | |
21 | ||
22 | PATH=".:$PATH" | |
23 | ||
6bf19c94 | 24 | HOSTOS=`uname -s` |
cceaf1db | 25 | arch=`uname -m` |
96914159 | 26 | [[ "$arch" =~ "ppc64" ]] && qemu_arch=ppc64 || qemu_arch="$arch" |
6bf19c94 | 27 | |
48259488 PB |
28 | # make sure we have a standard umask |
29 | umask 022 | |
30 | ||
48259488 PB |
31 | _optstr_add() |
32 | { | |
33 | if [ -n "$1" ]; then | |
34 | echo "$1,$2" | |
35 | else | |
36 | echo "$2" | |
37 | fi | |
38 | } | |
39 | ||
6bf19c94 | 40 | # make sure this script returns success |
a2d9c0c4 | 41 | true |