Statistics
| Branch: | Tag: | Revision:

root / htools / cli-tests-defs.sh @ 36c70d4d

History | View | Annotate | Download (1.1 kB)

1 01c23d75 Iustin Pop
#
2 01c23d75 Iustin Pop
3 01c23d75 Iustin Pop
# Copyright (C) 2012 Google Inc.
4 01c23d75 Iustin Pop
5 01c23d75 Iustin Pop
# This program is free software; you can redistribute it and/or modify
6 01c23d75 Iustin Pop
# it under the terms of the GNU General Public License as published by
7 01c23d75 Iustin Pop
# the Free Software Foundation; either version 2 of the License, or
8 01c23d75 Iustin Pop
# (at your option) any later version.
9 01c23d75 Iustin Pop
10 01c23d75 Iustin Pop
# This program is distributed in the hope that it will be useful, but
11 01c23d75 Iustin Pop
# WITHOUT ANY WARRANTY; without even the implied warranty of
12 01c23d75 Iustin Pop
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 01c23d75 Iustin Pop
# General Public License for more details.
14 01c23d75 Iustin Pop
15 01c23d75 Iustin Pop
# You should have received a copy of the GNU General Public License
16 01c23d75 Iustin Pop
# along with this program; if not, write to the Free Software
17 01c23d75 Iustin Pop
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 01c23d75 Iustin Pop
# 02110-1301, USA.
19 01c23d75 Iustin Pop
20 01c23d75 Iustin Pop
# This is an shell testing configuration fragment.
21 01c23d75 Iustin Pop
22 25cdf177 Iustin Pop
HBINARY=${HBINARY:-./htools/htools-hpc}
23 01c23d75 Iustin Pop
24 6bbd76d2 Iustin Pop
TESTDATA_DIR=${TOP_SRCDIR:-.}/test/data/htools
25 6bbd76d2 Iustin Pop
26 01c23d75 Iustin Pop
hbal() {
27 01c23d75 Iustin Pop
  HTOOLS=hbal $HBINARY "$@"
28 01c23d75 Iustin Pop
}
29 01c23d75 Iustin Pop
30 01c23d75 Iustin Pop
hscan() {
31 01c23d75 Iustin Pop
  HTOOLS=hscan $HBINARY "$@"
32 01c23d75 Iustin Pop
}
33 01c23d75 Iustin Pop
34 01c23d75 Iustin Pop
hail() {
35 01c23d75 Iustin Pop
  HTOOLS=hail $HBINARY "$@"
36 01c23d75 Iustin Pop
}
37 01c23d75 Iustin Pop
38 01c23d75 Iustin Pop
hspace() {
39 01c23d75 Iustin Pop
  HTOOLS=hspace $HBINARY "$@"
40 01c23d75 Iustin Pop
}
41 01c23d75 Iustin Pop
42 01c23d75 Iustin Pop
hinfo() {
43 01c23d75 Iustin Pop
  HTOOLS=hinfo $HBINARY "$@"
44 01c23d75 Iustin Pop
}
45 01c23d75 Iustin Pop
46 01c23d75 Iustin Pop
ALL_ROLES="hbal hscan hail hspace hinfo"