diff options
author | Karel Zak | 2009-01-19 18:08:06 +0100 |
---|---|---|
committer | Karel Zak | 2009-02-11 23:27:55 +0100 |
commit | d42bbae57d1184a7671782151c5413b874b0c23c (patch) | |
tree | 86e74d2eedead7071a706af0ff99fca0da1de8ba /tests/ts/ipcs | |
parent | tests: create expected/$(component)/$(testname) (diff) | |
download | kernel-qcow2-util-linux-d42bbae57d1184a7671782151c5413b874b0c23c.tar.gz kernel-qcow2-util-linux-d42bbae57d1184a7671782151c5413b874b0c23c.tar.xz kernel-qcow2-util-linux-d42bbae57d1184a7671782151c5413b874b0c23c.zip |
tests: add support for subdirs to basic test functions
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/ipcs')
-rw-r--r-- | tests/ts/ipcs/functions.sh (renamed from tests/ts/ipcs/function.sh) | 0 | ||||
-rwxr-xr-x | tests/ts/ipcs/limits | 3 | ||||
-rwxr-xr-x | tests/ts/ipcs/limits2 | 8 |
3 files changed, 4 insertions, 7 deletions
diff --git a/tests/ts/ipcs/function.sh b/tests/ts/ipcs/functions.sh index ff35e75ea..ff35e75ea 100644 --- a/tests/ts/ipcs/function.sh +++ b/tests/ts/ipcs/functions.sh diff --git a/tests/ts/ipcs/limits b/tests/ts/ipcs/limits index 6224ac440..0fb316064 100755 --- a/tests/ts/ipcs/limits +++ b/tests/ts/ipcs/limits @@ -21,10 +21,9 @@ TS_COMPONENT="ipcs" TS_DESC="limits overflow" -. ./ts-ipcs.sh - ts_init "$*" ts_skip_nonroot +. $TS_SELF/functions.sh ts_log "load original values" for i in $IPCS_IDX; do diff --git a/tests/ts/ipcs/limits2 b/tests/ts/ipcs/limits2 index f539e8a6e..17c3c702f 100755 --- a/tests/ts/ipcs/limits2 +++ b/tests/ts/ipcs/limits2 @@ -15,16 +15,14 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # -. ./commands.sh -. ./functions.sh -TS_COMPONENT="ipcs" TS_DESC="basic limits" -. ./ts-ipcs.sh - +. ./functions.sh ts_init "$*" +. $TS_SELF/functions.sh + ts_log "check for difference between kernel and IPC" ipcs_limits_check >> $TS_OUTPUT |