diff --git a/.gitmodules b/.gitmodules index dbfb31cc2a6a4cef4110c77309b0f828fe99af44..30e5a569f6ce0f8031bde9246116752f582e8a39 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "common"] path = common url = https://gitee.com/opencloudos-testing/tsuite.git +[submodule "tst-open-ltp"] + path = tst-open-ltp + url = https://gitee.com/opencloudos-testing/tst-open-ltp.git diff --git a/README.md b/README.md index 32b2b0cb1c8c14ddbdaced1f1af1499440c0df33..01640b585f0e09ce5252cc2b474a7820fc36acd1 100644 --- a/README.md +++ b/README.md @@ -1 +1,11 @@ -# 自研测试套 \ No newline at end of file +# 自研测试套 + +#### 安装运行路径 +``` +tst-ltp/ +├── ltp.test/ -- 执行测试用例后,测试过程日志保存在此路径 +│   └── run/ +├── tst-open-ltp/ +│   ├── ltp/ +│   ├── ltp.install/ -- 编译后的文件安装在此路径 +``` \ No newline at end of file diff --git a/lib/ts_common.sh b/lib/ts_common.sh index 6ef4aa8ba6fd9a86dd551496018152d6225edfac..dabd0d92aacd3277f9bb54dd9940048e6a1f47d7 100644 --- a/lib/ts_common.sh +++ b/lib/ts_common.sh @@ -4,13 +4,150 @@ # 1、以下划线"_"开头的函数和变量用例不能直接调用 # 2、环境变量全大写,全局变量加上"g_"前置,局部变量统一加"local"修饰 +g_test_dir="${TST_TS_TOPDIR}/ltp.test" +g_install_dir="${TST_TS_TOPDIR}/tst-open-ltp/ltp.install" + +ts_setup() { + msg "this is ts_setup" + + # 安装测试所需但缺失的软件包 + yum -y install libaio* + yum -y install libcap* + yum -y install genisoimage + yum -y install iproute-tc* + yum -y install dnsmasq* + yum -y install rpcbind nfs-utils bind + yum -y install httpd* + yum -y install vsftpd + yum -y install libmnl* + yum -y install dhcp* + yum -y install telnet* + yum -y install libcap* + yum -y install acl-debugsource libacl-devel + yum -y install git + yum -y install gcc cmake automake autoconf + yum -y install vim + + # 启动测试所需的服务 + systemctl start nfs-server.service + systemctl enable nfs-server.service + + # 设置机器超时时间 + setup_env_var LTP_TIMEOUT_MUL "300" + + # 创建测试目录 + mkdir -p "$g_test_dir" + + # 创建scsi用例所需路径 + mkdir -p /test/growfiles + return 0 +} + tc_setup_common() { - msg "this is tc_setup_common" + msg "this is tc_setup_common" + echo "===== env start =====" + env + echo "===== env end =====" return 0 } tc_teardown_common() { msg "this is tc_teardown_common" + echo 100 > /proc/sys/vm/vfs_cache_pressure return 0 } +# 判断ltp用例执行结果是否skip +# $1 -- 执行结果路径 +# 返回值:0 -- skip,1 -- 非skip +is_test_skip(){ + local run_path="$1" + + grep -A 5 "^Summary:" "$run_path/testcase.log" | grep "^failed[[:blank:]]*[1-9]$" && return 1 +} + +# 执行ltp用例 +# $1 -- 用例所在文件 +# $2 -- 用例名称 +ltp_run_testcase(){ + local ret=0 + local ltp_ret=0 + local run_flag=0 + local case_file=$1 + local case_name=$2 + + local tst_block=/dev/vdb + if [ -n "$TST_DEVICE_BLOCK" ] && [ -b "$TST_DEVICE_BLOCK" ]; then + tst_block="$TST_DEVICE_BLOCK" + elif [ ! -b "$tst_block" ]; then + for b in $(lsblk -f | grep -v NAME | grep -v "/" | grep "^nvme\|^vd\|^sd" | awk '{print $1}'); do + fdisk -l "/dev/$b" | grep -i "Start[[:blank:]]*End" && continue + tst_block="/dev/$b" + break + done + if [ ! -b "$tst_block" ]; then + dd if=/dev/zero of="${g_test_dir}/floppy.img" bs=1M count=1024 + losetup /dev/loop1 "${g_test_dir}/floppy.img" + tst_block="/dev/loop1" + fi + fi + msg "tst_block=$tst_block" + skip_if_false [ -b "$tst_block" ] + + rm -rf "${g_test_dir}/run" + mkdir -p "${g_test_dir}/run/tmp" + cd "${g_install_dir}" + # 将用例对应的命令写入文件 + if ! cat "${g_install_dir}"/runtest/$case_file | grep "^$case_name[[:blank:]]"; then + echo "get command for testcase $case_name fail" + return 1 + fi + cat "${g_install_dir}"/runtest/* | grep -w "^$case_name" > "${g_test_dir}/run/testcase.run" + echo "testcase.run >>>>" + cat "${g_test_dir}/run/testcase.run" + echo "<<<< testcase.run" + + # 执行用例 + ./runltp -p \ + -C "${g_test_dir}/run/testcase.fail" \ + -T "${g_test_dir}/run/testcase.nofully" \ + -d "${g_test_dir}/run/tmp" \ + -f "${g_test_dir}/run/testcase.run" \ + -l "${g_test_dir}/run/testcase.result" \ + -o "${g_test_dir}/run/testcase.log" \ + -B "ext4" \ + -z "$tst_block" -Z ext4 + ltp_ret=$? + msg "runltp exit with code $ltp_ret" + if [ $ltp_ret -ne 0 ]; then + ret=1 + fi + + # 打印测试日志 + for f in testcase.fail testcase.nofully testcase.run testcase.result testcase.log; do + echo "=====[ show ${g_test_dir}/run/$f ]=====" + [ -f "${g_test_dir}/run/$f" ] && cat "${g_test_dir}/run/$f" + echo "=====[ show ${g_test_dir}/run/$f ]=====" + done + + if [ $ret -ne 0 ]; then + # 用例如果失败了,就把内核日志也一起打印出来 + echo "====[ show ${g_test_dir}/run/dmesg.lasg.log ]====" + [ -f "${g_test_dir}/run/dmesg.lasg.log" ] && cat "${g_test_dir}/run/dmesg.lasg.log" + echo "====[ dmesg -c ]====" + dmesg -c + fi + + # 检查执行结果 + echo "check ${g_test_dir}/run/testcase.fail" + [ $(cat "${g_test_dir}/run/testcase.fail" | wc -l) -ne 0 ] && { echo "some testcase fail"; ret=1; } + + local ltp_total=$(grep "Total Tests:" "${g_test_dir}/run/testcase.result" | awk '{print $NF}') + local ltp_skip=$(grep "Total Skipped Tests:" "${g_test_dir}/run/testcase.result" | awk '{print $NF}') + if [ "$ltp_total" == "$ltp_skip" ]; then + skip_test "all test skip" + fi + + return $ret +} + diff --git a/lib/ts_setup b/lib/ts_setup index 3aaab92fd653d304f55b0cdb9823d6da64b7ab01..c34cc82869dbe0386e02e3b4a1d42fc4e098a428 100755 --- a/lib/ts_setup +++ b/lib/ts_setup @@ -4,9 +4,41 @@ [ -z "$TST_TS_TOPDIR" ] && export TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" source "${TST_TS_TOPDIR}/common/lib/common.sh" +g_test_dir="${TST_TS_TOPDIR}/ltp.test" + ts_setup() { - # 测试套setup脚本,在这里增加setup操作 msg "this is ts_setup" + + # 安装测试所需但缺失的软件包 + yum -y install libaio* + yum -y install libcap* + yum -y install genisoimage + yum -y install iproute-tc* + yum -y install dnsmasq* + yum -y install rpcbind nfs-utils bind + yum -y install httpd* + yum -y install vsftpd + yum -y install libmnl* + yum -y install dhcp* + yum -y install telnet* + yum -y install libcap* + yum -y install acl-debugsource libacl-devel + yum -y install git + yum -y install gcc cmake automake autoconf + yum -y install vim + + # 启动测试所需的服务 + systemctl start nfs-server.service + systemctl enable nfs-server.service + + # 设置机器超时时间 + setup_env_var LTP_TIMEOUT_MUL "300" + + # 创建测试目录 + mkdir -p "$g_test_dir" + + # 创建scsi用例所需路径 + mkdir -p /test/growfiles return 0 } diff --git a/testcase/Makefile b/testcase/Makefile index 1b4db5bcbf65a82a67d32917028e601b2dd629ba..3a59447423ca653dff6bd94c5e63d9a8f07c29a4 100644 --- a/testcase/Makefile +++ b/testcase/Makefile @@ -8,6 +8,7 @@ LDFLAGS += LDFLAGS += all: $(ALL_BIN) + ../tst-open-ltp/ltp/tst-build.sh $(ALL_BIN):%.test:%.o $(CC) $^ -o $@ $(LDFLAGS) @@ -17,5 +18,8 @@ $(ALL_OBJ):%.o:%.c clean: rm -rfv $(ALL_OBJ) $(ALL_BIN) + make -C ../tst-open-ltp/ltp clean + rm -rfv ../tst-open-ltp/ltp.install + rm -rfv ../ltp.test cleanall: clean diff --git a/testcase/can/ltp.can.can_bcm01.sh b/testcase/can/ltp.can.can_bcm01.sh new file mode 100755 index 0000000000000000000000000000000000000000..83434d8bd8288c5b6fa016711ded6c9d3d2d17c5 --- /dev/null +++ b/testcase/can/ltp.can.can_bcm01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-686780406 +# @用例名称: ltp.can.can_bcm01 +# @用例级别: 3 +# @用例标签: aarch64不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.can.can_bcm01 + # @预期结果:1: 用例返回0 + ltp_run_testcase can can_bcm01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/can/ltp.can.can_filter.sh b/testcase/can/ltp.can.can_filter.sh new file mode 100755 index 0000000000000000000000000000000000000000..e6c3341a2b2e490758a6c6bd6b750af7358fcf95 --- /dev/null +++ b/testcase/can/ltp.can.can_filter.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-669423472 +# @用例名称: ltp.can.can_filter +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.can.can_filter + # @预期结果:1: 用例返回0 + ltp_run_testcase can can_filter + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/can/ltp.can.can_rcv_own_msgs.sh b/testcase/can/ltp.can.can_rcv_own_msgs.sh new file mode 100755 index 0000000000000000000000000000000000000000..6f803b6d1f5b9c40eacbeef7bb20027147715434 --- /dev/null +++ b/testcase/can/ltp.can.can_rcv_own_msgs.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-678228030 +# @用例名称: ltp.can.can_rcv_own_msgs +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.can.can_rcv_own_msgs + # @预期结果:1: 用例返回0 + ltp_run_testcase can can_rcv_own_msgs + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/capability/ltp.capability.cap_bounds.sh b/testcase/capability/ltp.capability.cap_bounds.sh new file mode 100755 index 0000000000000000000000000000000000000000..9cbdf2a57b72d4544e0652839d7d9a2e9a74539d --- /dev/null +++ b/testcase/capability/ltp.capability.cap_bounds.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172825-159859479 +# @用例名称: ltp.capability.cap_bounds +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.capability.cap_bounds + # @预期结果:1: 用例返回0 + ltp_run_testcase capability cap_bounds + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/capability/ltp.capability.check_keepcaps01.sh b/testcase/capability/ltp.capability.check_keepcaps01.sh new file mode 100755 index 0000000000000000000000000000000000000000..34972bf763548979029c0e28331c3dd0e926ce0d --- /dev/null +++ b/testcase/capability/ltp.capability.check_keepcaps01.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172825-316071079 +# @用例名称: ltp.capability.check_keepcaps01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.capability.check_keepcaps01 + # @预期结果:1: 用例返回0 + ltp_run_testcase capability check_keepcaps01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/capability/ltp.capability.check_keepcaps02.sh b/testcase/capability/ltp.capability.check_keepcaps02.sh new file mode 100755 index 0000000000000000000000000000000000000000..4527bd56204aa02a7a07c08450fd7e9f3a0b2e98 --- /dev/null +++ b/testcase/capability/ltp.capability.check_keepcaps02.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172825-394646377 +# @用例名称: ltp.capability.check_keepcaps02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.capability.check_keepcaps02 + # @预期结果:1: 用例返回0 + ltp_run_testcase capability check_keepcaps02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/capability/ltp.capability.check_keepcaps03.sh b/testcase/capability/ltp.capability.check_keepcaps03.sh new file mode 100755 index 0000000000000000000000000000000000000000..13f9fc3ba83e1ea82ec9c35237d655a660f9eae6 --- /dev/null +++ b/testcase/capability/ltp.capability.check_keepcaps03.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172825-475182566 +# @用例名称: ltp.capability.check_keepcaps03 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.capability.check_keepcaps03 + # @预期结果:1: 用例返回0 + ltp_run_testcase capability check_keepcaps03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/capability/ltp.capability.filecaps.sh b/testcase/capability/ltp.capability.filecaps.sh new file mode 100755 index 0000000000000000000000000000000000000000..666933999d29d8976a6b68b90c084319fef042b9 --- /dev/null +++ b/testcase/capability/ltp.capability.filecaps.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172825-238124181 +# @用例名称: ltp.capability.filecaps +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.capability.filecaps + # @预期结果:1: 用例返回0 + ltp_run_testcase capability filecaps + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.ar_sh.sh b/testcase/commands/ltp.commands.ar_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..2067e84fb79af3737881e82b0e6e57c76cdf65c9 --- /dev/null +++ b/testcase/commands/ltp.commands.ar_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-709214141 +# @用例名称: ltp.commands.ar_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.ar_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands ar_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.cp01_sh.sh b/testcase/commands/ltp.commands.cp01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..3086fb722bd0b02a83a837de85f73617dec5245a --- /dev/null +++ b/testcase/commands/ltp.commands.cp01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-803513482 +# @用例名称: ltp.commands.cp01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.cp01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands cp01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.cpio01_sh.sh b/testcase/commands/ltp.commands.cpio01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..85b9c07bde352a7c0f13d215e9837bb0fbf3ff42 --- /dev/null +++ b/testcase/commands/ltp.commands.cpio01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-774319315 +# @用例名称: ltp.commands.cpio01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.cpio01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands cpio01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.df01_sh.sh b/testcase/commands/ltp.commands.df01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..aa7bd5e9958c3589262e6d69d012a622eec9240d --- /dev/null +++ b/testcase/commands/ltp.commands.df01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141446-267578252 +# @用例名称: ltp.commands.df01_sh +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.df01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands df01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.du01_sh.sh b/testcase/commands/ltp.commands.du01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..8654034555f1f9b62a2a69a59a57bf62d09bcb25 --- /dev/null +++ b/testcase/commands/ltp.commands.du01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-837470052 +# @用例名称: ltp.commands.du01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.du01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands du01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.file01_sh.sh b/testcase/commands/ltp.commands.file01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..24b2f3089e0d00fed5c24533f570713f38c66b4a --- /dev/null +++ b/testcase/commands/ltp.commands.file01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-747784936 +# @用例名称: ltp.commands.file01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.file01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands file01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.gdb01_sh.sh b/testcase/commands/ltp.commands.gdb01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..ea0e131cf2b7bf34c03ef90b1ed9c2019206bbc8 --- /dev/null +++ b/testcase/commands/ltp.commands.gdb01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-069053573 +# @用例名称: ltp.commands.gdb01_sh +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.gdb01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands gdb01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.gzip01_sh.sh b/testcase/commands/ltp.commands.gzip01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..bc10b769d251061f0316ee717b9a0c92c7f93294 --- /dev/null +++ b/testcase/commands/ltp.commands.gzip01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-792387289 +# @用例名称: ltp.commands.gzip01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.gzip01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands gzip01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.insmod01_sh.sh b/testcase/commands/ltp.commands.insmod01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..10cadeb9bce96b3eb652eee1b3ac3f7b146bd2f2 --- /dev/null +++ b/testcase/commands/ltp.commands.insmod01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-041944718 +# @用例名称: ltp.commands.insmod01_sh +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.insmod01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands insmod01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.keyctl01_sh.sh b/testcase/commands/ltp.commands.keyctl01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..4ec2bc110eb6dca3584878472d595cfc7772f565 --- /dev/null +++ b/testcase/commands/ltp.commands.keyctl01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-060447516 +# @用例名称: ltp.commands.keyctl01_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.keyctl01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands keyctl01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.ld01_sh.sh b/testcase/commands/ltp.commands.ld01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..3296f78148559e78447f75fa2f2fc37ef86600e0 --- /dev/null +++ b/testcase/commands/ltp.commands.ld01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-719860545 +# @用例名称: ltp.commands.ld01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.ld01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands ld01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.ldd01_sh.sh b/testcase/commands/ltp.commands.ldd01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..99305630964df50a6a4a56fb4fa29451724dd15c --- /dev/null +++ b/testcase/commands/ltp.commands.ldd01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-730567784 +# @用例名称: ltp.commands.ldd01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.ldd01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands ldd01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.ln01_sh.sh b/testcase/commands/ltp.commands.ln01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..2c9aba2937533006cbcc6406d68a9702b845eede --- /dev/null +++ b/testcase/commands/ltp.commands.ln01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-812084823 +# @用例名称: ltp.commands.ln01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.ln01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands ln01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.lsmod01_sh.sh b/testcase/commands/ltp.commands.lsmod01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..b7adfd14330bb8f0bc55c51d8204a26f48e0155e --- /dev/null +++ b/testcase/commands/ltp.commands.lsmod01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-031670750 +# @用例名称: ltp.commands.lsmod01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.lsmod01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands lsmod01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.mkdir01_sh.sh b/testcase/commands/ltp.commands.mkdir01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..9ab29c14ca74e292e451e92d001c2c2c92b1ea27 --- /dev/null +++ b/testcase/commands/ltp.commands.mkdir01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-820413621 +# @用例名称: ltp.commands.mkdir01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.mkdir01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands mkdir01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.mkfs01_btrfs_sh.sh b/testcase/commands/ltp.commands.mkfs01_btrfs_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..52d34699e91341ca89070e1b602a4ab1e1301e46 --- /dev/null +++ b/testcase/commands/ltp.commands.mkfs01_btrfs_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-967727029 +# @用例名称: ltp.commands.mkfs01_btrfs_sh +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.mkfs01_btrfs_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands mkfs01_btrfs_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.mkfs01_ext2_sh.sh b/testcase/commands/ltp.commands.mkfs01_ext2_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..63d2625a804e98ab31a57316db9c00802aaa3eae --- /dev/null +++ b/testcase/commands/ltp.commands.mkfs01_ext2_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-920967248 +# @用例名称: ltp.commands.mkfs01_ext2_sh +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.mkfs01_ext2_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands mkfs01_ext2_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.mkfs01_ext3_sh.sh b/testcase/commands/ltp.commands.mkfs01_ext3_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..2347239a9b97813c7741f2c7cc958910f00c56bf --- /dev/null +++ b/testcase/commands/ltp.commands.mkfs01_ext3_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-932986702 +# @用例名称: ltp.commands.mkfs01_ext3_sh +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.mkfs01_ext3_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands mkfs01_ext3_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.mkfs01_ext4_sh.sh b/testcase/commands/ltp.commands.mkfs01_ext4_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..392a7adc489d2012083b5cb7ff5c8f0e67968d87 --- /dev/null +++ b/testcase/commands/ltp.commands.mkfs01_ext4_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-942841365 +# @用例名称: ltp.commands.mkfs01_ext4_sh +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.mkfs01_ext4_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands mkfs01_ext4_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.mkfs01_minix_sh.sh b/testcase/commands/ltp.commands.mkfs01_minix_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..81c49149c0d49d5b26b800927b410128137d628e --- /dev/null +++ b/testcase/commands/ltp.commands.mkfs01_minix_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-976425267 +# @用例名称: ltp.commands.mkfs01_minix_sh +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.mkfs01_minix_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands mkfs01_minix_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.mkfs01_msdos_sh.sh b/testcase/commands/ltp.commands.mkfs01_msdos_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..a1b3eefa9072ad6780cef752db650cf42463868f --- /dev/null +++ b/testcase/commands/ltp.commands.mkfs01_msdos_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-985112176 +# @用例名称: ltp.commands.mkfs01_msdos_sh +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.mkfs01_msdos_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands mkfs01_msdos_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.mkfs01_ntfs_sh.sh b/testcase/commands/ltp.commands.mkfs01_ntfs_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..aa870d3d94e34582ca974a780a1c9c89748a2d09 --- /dev/null +++ b/testcase/commands/ltp.commands.mkfs01_ntfs_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-002043412 +# @用例名称: ltp.commands.mkfs01_ntfs_sh +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.mkfs01_ntfs_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands mkfs01_ntfs_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.mkfs01_sh.sh b/testcase/commands/ltp.commands.mkfs01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..83f35903a6211b1b280a16f906c1de75d23db9ea --- /dev/null +++ b/testcase/commands/ltp.commands.mkfs01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-911563498 +# @用例名称: ltp.commands.mkfs01_sh +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.mkfs01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands mkfs01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.mkfs01_vfat_sh.sh b/testcase/commands/ltp.commands.mkfs01_vfat_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..8980184620693ab7cd053924b02838297364a3a7 --- /dev/null +++ b/testcase/commands/ltp.commands.mkfs01_vfat_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-993568632 +# @用例名称: ltp.commands.mkfs01_vfat_sh +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.mkfs01_vfat_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands mkfs01_vfat_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.mkfs01_xfs_sh.sh b/testcase/commands/ltp.commands.mkfs01_xfs_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..8e94f2b9d016f06512690d9aa056d21878698f21 --- /dev/null +++ b/testcase/commands/ltp.commands.mkfs01_xfs_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-958999756 +# @用例名称: ltp.commands.mkfs01_xfs_sh +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.mkfs01_xfs_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands mkfs01_xfs_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.mkswap01_sh.sh b/testcase/commands/ltp.commands.mkswap01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..8bf8362761de0d51bcd94ad9f5b13687a4cc89ed --- /dev/null +++ b/testcase/commands/ltp.commands.mkswap01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-010621376 +# @用例名称: ltp.commands.mkswap01_sh +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.mkswap01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands mkswap01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.mv01_sh.sh b/testcase/commands/ltp.commands.mv01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c9b006019ef309c191952e9bfd1cbf248da6f3b --- /dev/null +++ b/testcase/commands/ltp.commands.mv01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-828919149 +# @用例名称: ltp.commands.mv01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.mv01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands mv01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.nm01_sh.sh b/testcase/commands/ltp.commands.nm01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..f7b795f2a557ace251241ff313a54159c497508b --- /dev/null +++ b/testcase/commands/ltp.commands.nm01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-739197184 +# @用例名称: ltp.commands.nm01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.nm01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands nm01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.shell_test01.sh b/testcase/commands/ltp.commands.shell_test01.sh new file mode 100755 index 0000000000000000000000000000000000000000..68412632d6a45aea1ec770a69e055fc9f90b20df --- /dev/null +++ b/testcase/commands/ltp.commands.shell_test01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-105315046 +# @用例名称: ltp.commands.shell_test01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.shell_test01 + # @预期结果:1: 用例返回0 + ltp_run_testcase commands shell_test01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.sysctl01_sh.sh b/testcase/commands/ltp.commands.sysctl01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..ca1fb89bdaef045c55982325e30b0ccf27b9d2ba --- /dev/null +++ b/testcase/commands/ltp.commands.sysctl01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-086846241 +# @用例名称: ltp.commands.sysctl01_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.sysctl01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands sysctl01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.sysctl02_sh.sh b/testcase/commands/ltp.commands.sysctl02_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..b3572f60bf8bd1c315d01c61caa64dfb60e94d7b --- /dev/null +++ b/testcase/commands/ltp.commands.sysctl02_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-095399288 +# @用例名称: ltp.commands.sysctl02_sh +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.sysctl02_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands sysctl02_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.tar01_sh.sh b/testcase/commands/ltp.commands.tar01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..e4738d10dec151487085e9267bde6f5052399c83 --- /dev/null +++ b/testcase/commands/ltp.commands.tar01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-756680043 +# @用例名称: ltp.commands.tar01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.tar01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands tar01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.unshare01_sh.sh b/testcase/commands/ltp.commands.unshare01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..06857bbfff872f7903baef79be9505d56ef80f99 --- /dev/null +++ b/testcase/commands/ltp.commands.unshare01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-077467339 +# @用例名称: ltp.commands.unshare01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.unshare01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands unshare01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.unzip01_sh.sh b/testcase/commands/ltp.commands.unzip01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..2fc6d8efb685a9f39898fea05c6b3467c22e138f --- /dev/null +++ b/testcase/commands/ltp.commands.unzip01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212947-783358471 +# @用例名称: ltp.commands.unzip01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.unzip01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands unzip01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.wc01_sh.sh b/testcase/commands/ltp.commands.wc01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..176bc89d7daaf521df7f9393d95ca1ecf8ea2f03 --- /dev/null +++ b/testcase/commands/ltp.commands.wc01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-050825458 +# @用例名称: ltp.commands.wc01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.wc01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands wc01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/commands/ltp.commands.which01_sh.sh b/testcase/commands/ltp.commands.which01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..e28fc69e4c18d63d6332279e6f3b50c398db9ee3 --- /dev/null +++ b/testcase/commands/ltp.commands.which01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-022500688 +# @用例名称: ltp.commands.which01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.commands.which01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase commands which01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.clock_gettime03.sh b/testcase/containers/ltp.containers.clock_gettime03.sh new file mode 100755 index 0000000000000000000000000000000000000000..63c1e6680f357deb68d74ba275ae0e377e37a106 --- /dev/null +++ b/testcase/containers/ltp.containers.clock_gettime03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-877135032 +# @用例名称: ltp.containers.clock_gettime03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.clock_gettime03 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers clock_gettime03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.clock_nanosleep03.sh b/testcase/containers/ltp.containers.clock_nanosleep03.sh new file mode 100755 index 0000000000000000000000000000000000000000..e22f5b07102b66fcd1e5407491529b8e5456add1 --- /dev/null +++ b/testcase/containers/ltp.containers.clock_nanosleep03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-868598856 +# @用例名称: ltp.containers.clock_nanosleep03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.clock_nanosleep03 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers clock_nanosleep03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.mesgq_nstest_clone.sh b/testcase/containers/ltp.containers.mesgq_nstest_clone.sh new file mode 100755 index 0000000000000000000000000000000000000000..5b6a68ffe3c07e78b7228b91c317818e31e4e852 --- /dev/null +++ b/testcase/containers/ltp.containers.mesgq_nstest_clone.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-567578655 +# @用例名称: ltp.containers.mesgq_nstest_clone +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.mesgq_nstest_clone + # @预期结果:1: 用例返回0 + ltp_run_testcase containers mesgq_nstest_clone + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.mesgq_nstest_none.sh b/testcase/containers/ltp.containers.mesgq_nstest_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..1605b1806d76502c881d7b2ada01337aebfee3c4 --- /dev/null +++ b/testcase/containers/ltp.containers.mesgq_nstest_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-558732610 +# @用例名称: ltp.containers.mesgq_nstest_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.mesgq_nstest_none + # @预期结果:1: 用例返回0 + ltp_run_testcase containers mesgq_nstest_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.mesgq_nstest_unshare.sh b/testcase/containers/ltp.containers.mesgq_nstest_unshare.sh new file mode 100755 index 0000000000000000000000000000000000000000..b6f06357edde10af8c7791c060c5e30766983f31 --- /dev/null +++ b/testcase/containers/ltp.containers.mesgq_nstest_unshare.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-576252178 +# @用例名称: ltp.containers.mesgq_nstest_unshare +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.mesgq_nstest_unshare + # @预期结果:1: 用例返回0 + ltp_run_testcase containers mesgq_nstest_unshare + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.mountns01.sh b/testcase/containers/ltp.containers.mountns01.sh new file mode 100755 index 0000000000000000000000000000000000000000..1f264a0533f728adc5775f4956ff8225fe6c04fc --- /dev/null +++ b/testcase/containers/ltp.containers.mountns01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-751033402 +# @用例名称: ltp.containers.mountns01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.mountns01 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers mountns01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.mountns02.sh b/testcase/containers/ltp.containers.mountns02.sh new file mode 100755 index 0000000000000000000000000000000000000000..054f428201bb7ea21eceec77375cc3235a659fad --- /dev/null +++ b/testcase/containers/ltp.containers.mountns02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-759508463 +# @用例名称: ltp.containers.mountns02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.mountns02 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers mountns02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.mountns03.sh b/testcase/containers/ltp.containers.mountns03.sh new file mode 100755 index 0000000000000000000000000000000000000000..70fc80cb156d15908b0e480692efb13e73637136 --- /dev/null +++ b/testcase/containers/ltp.containers.mountns03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-768170795 +# @用例名称: ltp.containers.mountns03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.mountns03 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers mountns03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.mountns04.sh b/testcase/containers/ltp.containers.mountns04.sh new file mode 100755 index 0000000000000000000000000000000000000000..a030737699953bc485c05512ea6ff072e31086a1 --- /dev/null +++ b/testcase/containers/ltp.containers.mountns04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-776772613 +# @用例名称: ltp.containers.mountns04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.mountns04 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers mountns04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.mqns_01.sh b/testcase/containers/ltp.containers.mqns_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5c1ad17043d770a21d123f68225089b77c82697 --- /dev/null +++ b/testcase/containers/ltp.containers.mqns_01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-260081752 +# @用例名称: ltp.containers.mqns_01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.mqns_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers mqns_01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.mqns_01_clone.sh b/testcase/containers/ltp.containers.mqns_01_clone.sh new file mode 100755 index 0000000000000000000000000000000000000000..47d802ee9a8b534a2af301f59a21da3c20d556d5 --- /dev/null +++ b/testcase/containers/ltp.containers.mqns_01_clone.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-268666559 +# @用例名称: ltp.containers.mqns_01_clone +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.mqns_01_clone + # @预期结果:1: 用例返回0 + ltp_run_testcase containers mqns_01_clone + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.mqns_01_unshare.sh b/testcase/containers/ltp.containers.mqns_01_unshare.sh new file mode 100755 index 0000000000000000000000000000000000000000..fe9f394d11ed609ff32832badcb9ecca8c10ce5b --- /dev/null +++ b/testcase/containers/ltp.containers.mqns_01_unshare.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172825-550557925 +# @用例名称: ltp.containers.mqns_01_unshare +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.mqns_01_unshare + # @预期结果:1: 用例返回0 + ltp_run_testcase containers mqns_01_unshare + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.mqns_02.sh b/testcase/containers/ltp.containers.mqns_02.sh new file mode 100755 index 0000000000000000000000000000000000000000..9833f1e5b3eb768e0cce0dd4b7c8d28e9c14c7ab --- /dev/null +++ b/testcase/containers/ltp.containers.mqns_02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-280039103 +# @用例名称: ltp.containers.mqns_02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.mqns_02 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers mqns_02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.mqns_02_clone.sh b/testcase/containers/ltp.containers.mqns_02_clone.sh new file mode 100755 index 0000000000000000000000000000000000000000..7e89f91f4de14596800929e954e8c5e82d335472 --- /dev/null +++ b/testcase/containers/ltp.containers.mqns_02_clone.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-288505618 +# @用例名称: ltp.containers.mqns_02_clone +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.mqns_02_clone + # @预期结果:1: 用例返回0 + ltp_run_testcase containers mqns_02_clone + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.mqns_02_unshare.sh b/testcase/containers/ltp.containers.mqns_02_unshare.sh new file mode 100755 index 0000000000000000000000000000000000000000..c7cef68ef100fa416c0c82c072f29d2fc8e3879d --- /dev/null +++ b/testcase/containers/ltp.containers.mqns_02_unshare.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172825-623905393 +# @用例名称: ltp.containers.mqns_02_unshare +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.mqns_02_unshare + # @预期结果:1: 用例返回0 + ltp_run_testcase containers mqns_02_unshare + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.mqns_03_clone.sh b/testcase/containers/ltp.containers.mqns_03_clone.sh new file mode 100755 index 0000000000000000000000000000000000000000..d6e8d92e7f8c342dfc90951d8ff51d9a375a7450 --- /dev/null +++ b/testcase/containers/ltp.containers.mqns_03_clone.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-307674223 +# @用例名称: ltp.containers.mqns_03_clone +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.mqns_03_clone + # @预期结果:1: 用例返回0 + ltp_run_testcase containers mqns_03_clone + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.mqns_03_unshare.sh b/testcase/containers/ltp.containers.mqns_03_unshare.sh new file mode 100755 index 0000000000000000000000000000000000000000..5dccffc0b7f26eb9dce51567ff1664b7f19cd424 --- /dev/null +++ b/testcase/containers/ltp.containers.mqns_03_unshare.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172825-695600703 +# @用例名称: ltp.containers.mqns_03_unshare +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.mqns_03_unshare + # @预期结果:1: 用例返回0 + ltp_run_testcase containers mqns_03_unshare + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.mqns_04_clone.sh b/testcase/containers/ltp.containers.mqns_04_clone.sh new file mode 100755 index 0000000000000000000000000000000000000000..49a63107a2a6975c649f5cb8ae84cfa17fc3c917 --- /dev/null +++ b/testcase/containers/ltp.containers.mqns_04_clone.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-326227404 +# @用例名称: ltp.containers.mqns_04_clone +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.mqns_04_clone + # @预期结果:1: 用例返回0 + ltp_run_testcase containers mqns_04_clone + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.mqns_04_unshare.sh b/testcase/containers/ltp.containers.mqns_04_unshare.sh new file mode 100755 index 0000000000000000000000000000000000000000..3437b7eabc1aaa5904fcbbe953f369c70f1b778a --- /dev/null +++ b/testcase/containers/ltp.containers.mqns_04_unshare.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172825-766554320 +# @用例名称: ltp.containers.mqns_04_unshare +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.mqns_04_unshare + # @预期结果:1: 用例返回0 + ltp_run_testcase containers mqns_04_unshare + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.msg_comm.sh b/testcase/containers/ltp.containers.msg_comm.sh new file mode 100755 index 0000000000000000000000000000000000000000..8338852e26cba296dc7a56413bd03ecd51cbbcc4 --- /dev/null +++ b/testcase/containers/ltp.containers.msg_comm.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-584880737 +# @用例名称: ltp.containers.msg_comm +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.msg_comm + # @预期结果:1: 用例返回0 + ltp_run_testcase containers msg_comm + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_breakns_ip_ipv4_ioctl.sh b/testcase/containers/ltp.containers.netns_breakns_ip_ipv4_ioctl.sh new file mode 100755 index 0000000000000000000000000000000000000000..9b7ae913d04b85a350a3d388627ad32dc52e5f35 --- /dev/null +++ b/testcase/containers/ltp.containers.netns_breakns_ip_ipv4_ioctl.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-400681556 +# @用例名称: ltp.containers.netns_breakns_ip_ipv4_ioctl +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_breakns_ip_ipv4_ioctl + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_breakns_ip_ipv4_ioctl + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_breakns_ip_ipv4_netlink.sh b/testcase/containers/ltp.containers.netns_breakns_ip_ipv4_netlink.sh new file mode 100755 index 0000000000000000000000000000000000000000..0633ea56e7404d1a20b52403f40b94b03a37c0e8 --- /dev/null +++ b/testcase/containers/ltp.containers.netns_breakns_ip_ipv4_netlink.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-383586293 +# @用例名称: ltp.containers.netns_breakns_ip_ipv4_netlink +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_breakns_ip_ipv4_netlink + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_breakns_ip_ipv4_netlink + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_breakns_ip_ipv6_ioctl.sh b/testcase/containers/ltp.containers.netns_breakns_ip_ipv6_ioctl.sh new file mode 100755 index 0000000000000000000000000000000000000000..150f3f28178a160005e71805e01eb8caa639e783 --- /dev/null +++ b/testcase/containers/ltp.containers.netns_breakns_ip_ipv6_ioctl.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-409448253 +# @用例名称: ltp.containers.netns_breakns_ip_ipv6_ioctl +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_breakns_ip_ipv6_ioctl + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_breakns_ip_ipv6_ioctl + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_breakns_ip_ipv6_netlink.sh b/testcase/containers/ltp.containers.netns_breakns_ip_ipv6_netlink.sh new file mode 100755 index 0000000000000000000000000000000000000000..67e0f0ea8984aab4dc288f491d26ba9a03f5d4ee --- /dev/null +++ b/testcase/containers/ltp.containers.netns_breakns_ip_ipv6_netlink.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-392145701 +# @用例名称: ltp.containers.netns_breakns_ip_ipv6_netlink +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_breakns_ip_ipv6_netlink + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_breakns_ip_ipv6_netlink + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_breakns_ns_exec_ipv4_ioctl.sh b/testcase/containers/ltp.containers.netns_breakns_ns_exec_ipv4_ioctl.sh new file mode 100755 index 0000000000000000000000000000000000000000..7bc3e793c76b7a4447f0d69476a796c604d55cb9 --- /dev/null +++ b/testcase/containers/ltp.containers.netns_breakns_ns_exec_ipv4_ioctl.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-365400818 +# @用例名称: ltp.containers.netns_breakns_ns_exec_ipv4_ioctl +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_breakns_ns_exec_ipv4_ioctl + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_breakns_ns_exec_ipv4_ioctl + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_breakns_ns_exec_ipv4_netlink.sh b/testcase/containers/ltp.containers.netns_breakns_ns_exec_ipv4_netlink.sh new file mode 100755 index 0000000000000000000000000000000000000000..738bf5db3489627c8fd491c3c0351489f26a15b8 --- /dev/null +++ b/testcase/containers/ltp.containers.netns_breakns_ns_exec_ipv4_netlink.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-348115147 +# @用例名称: ltp.containers.netns_breakns_ns_exec_ipv4_netlink +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_breakns_ns_exec_ipv4_netlink + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_breakns_ns_exec_ipv4_netlink + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_breakns_ns_exec_ipv6_ioctl.sh b/testcase/containers/ltp.containers.netns_breakns_ns_exec_ipv6_ioctl.sh new file mode 100755 index 0000000000000000000000000000000000000000..6beeec4915a94d9202f0adf67197fdc932242319 --- /dev/null +++ b/testcase/containers/ltp.containers.netns_breakns_ns_exec_ipv6_ioctl.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-374862436 +# @用例名称: ltp.containers.netns_breakns_ns_exec_ipv6_ioctl +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_breakns_ns_exec_ipv6_ioctl + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_breakns_ns_exec_ipv6_ioctl + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_breakns_ns_exec_ipv6_netlink.sh b/testcase/containers/ltp.containers.netns_breakns_ns_exec_ipv6_netlink.sh new file mode 100755 index 0000000000000000000000000000000000000000..a7b36704588d302774bd89428993184cf34577c8 --- /dev/null +++ b/testcase/containers/ltp.containers.netns_breakns_ns_exec_ipv6_netlink.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-356712608 +# @用例名称: ltp.containers.netns_breakns_ns_exec_ipv6_netlink +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_breakns_ns_exec_ipv6_netlink + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_breakns_ns_exec_ipv6_netlink + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_comm_ip_ipv4_ioctl.sh b/testcase/containers/ltp.containers.netns_comm_ip_ipv4_ioctl.sh new file mode 100755 index 0000000000000000000000000000000000000000..9e8d341006b8434b3c6bf4dc484ed6ed02fd535e --- /dev/null +++ b/testcase/containers/ltp.containers.netns_comm_ip_ipv4_ioctl.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-471428579 +# @用例名称: ltp.containers.netns_comm_ip_ipv4_ioctl +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_comm_ip_ipv4_ioctl + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_comm_ip_ipv4_ioctl + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_comm_ip_ipv4_netlink.sh b/testcase/containers/ltp.containers.netns_comm_ip_ipv4_netlink.sh new file mode 100755 index 0000000000000000000000000000000000000000..870e89ea53662e7ede8dae51af34e914b00fba2a --- /dev/null +++ b/testcase/containers/ltp.containers.netns_comm_ip_ipv4_netlink.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-452387313 +# @用例名称: ltp.containers.netns_comm_ip_ipv4_netlink +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_comm_ip_ipv4_netlink + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_comm_ip_ipv4_netlink + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_comm_ip_ipv6_ioctl.sh b/testcase/containers/ltp.containers.netns_comm_ip_ipv6_ioctl.sh new file mode 100755 index 0000000000000000000000000000000000000000..d8586caae29ebb3d81cbb3ba6eb0a1ed22a2c0e7 --- /dev/null +++ b/testcase/containers/ltp.containers.netns_comm_ip_ipv6_ioctl.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-479848698 +# @用例名称: ltp.containers.netns_comm_ip_ipv6_ioctl +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_comm_ip_ipv6_ioctl + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_comm_ip_ipv6_ioctl + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_comm_ip_ipv6_netlink.sh b/testcase/containers/ltp.containers.netns_comm_ip_ipv6_netlink.sh new file mode 100755 index 0000000000000000000000000000000000000000..b5a9ec8665bea946e4ab43f44744ef696b745530 --- /dev/null +++ b/testcase/containers/ltp.containers.netns_comm_ip_ipv6_netlink.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-460947945 +# @用例名称: ltp.containers.netns_comm_ip_ipv6_netlink +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_comm_ip_ipv6_netlink + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_comm_ip_ipv6_netlink + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_comm_ns_exec_ipv4_ioctl.sh b/testcase/containers/ltp.containers.netns_comm_ns_exec_ipv4_ioctl.sh new file mode 100755 index 0000000000000000000000000000000000000000..b92eb9090aa21a979245fc2c744451f558da582c --- /dev/null +++ b/testcase/containers/ltp.containers.netns_comm_ns_exec_ipv4_ioctl.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-435166104 +# @用例名称: ltp.containers.netns_comm_ns_exec_ipv4_ioctl +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_comm_ns_exec_ipv4_ioctl + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_comm_ns_exec_ipv4_ioctl + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_comm_ns_exec_ipv4_netlink.sh b/testcase/containers/ltp.containers.netns_comm_ns_exec_ipv4_netlink.sh new file mode 100755 index 0000000000000000000000000000000000000000..baa8b3b08a667bd118e0a07b7349f9a47599d82d --- /dev/null +++ b/testcase/containers/ltp.containers.netns_comm_ns_exec_ipv4_netlink.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-417939855 +# @用例名称: ltp.containers.netns_comm_ns_exec_ipv4_netlink +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_comm_ns_exec_ipv4_netlink + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_comm_ns_exec_ipv4_netlink + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_comm_ns_exec_ipv6_ioctl.sh b/testcase/containers/ltp.containers.netns_comm_ns_exec_ipv6_ioctl.sh new file mode 100755 index 0000000000000000000000000000000000000000..6f0386637981ffaa5e80fe09c5896248062facf6 --- /dev/null +++ b/testcase/containers/ltp.containers.netns_comm_ns_exec_ipv6_ioctl.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-443791477 +# @用例名称: ltp.containers.netns_comm_ns_exec_ipv6_ioctl +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_comm_ns_exec_ipv6_ioctl + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_comm_ns_exec_ipv6_ioctl + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_comm_ns_exec_ipv6_netlink.sh b/testcase/containers/ltp.containers.netns_comm_ns_exec_ipv6_netlink.sh new file mode 100755 index 0000000000000000000000000000000000000000..cacc166b876e8a2a320cc4a0d7058e5193ce7170 --- /dev/null +++ b/testcase/containers/ltp.containers.netns_comm_ns_exec_ipv6_netlink.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-426492702 +# @用例名称: ltp.containers.netns_comm_ns_exec_ipv6_netlink +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_comm_ns_exec_ipv6_netlink + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_comm_ns_exec_ipv6_netlink + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_netlink.sh b/testcase/containers/ltp.containers.netns_netlink.sh new file mode 100755 index 0000000000000000000000000000000000000000..69185c53e732ebd50f3d7fa2c7125017e0fa7b15 --- /dev/null +++ b/testcase/containers/ltp.containers.netns_netlink.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-336711977 +# @用例名称: ltp.containers.netns_netlink +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_netlink + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_netlink + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.netns_sysfs.sh b/testcase/containers/ltp.containers.netns_sysfs.sh new file mode 100755 index 0000000000000000000000000000000000000000..000fc43256dbaf45db7fe2b311f356a4fe2025f2 --- /dev/null +++ b/testcase/containers/ltp.containers.netns_sysfs.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-488368403 +# @用例名称: ltp.containers.netns_sysfs +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.netns_sysfs + # @预期结果:1: 用例返回0 + ltp_run_testcase containers netns_sysfs + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.pidns01.sh b/testcase/containers/ltp.containers.pidns01.sh new file mode 100755 index 0000000000000000000000000000000000000000..90e4e0def3ad55ede54bf0c05ab5e5447e896e35 --- /dev/null +++ b/testcase/containers/ltp.containers.pidns01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-128141325 +# @用例名称: ltp.containers.pidns01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.pidns01 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers pidns01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.pidns02.sh b/testcase/containers/ltp.containers.pidns02.sh new file mode 100755 index 0000000000000000000000000000000000000000..f8eeb58b258e46694f3a8bb4b81bfb393dd89d34 --- /dev/null +++ b/testcase/containers/ltp.containers.pidns02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-136626195 +# @用例名称: ltp.containers.pidns02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.pidns02 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers pidns02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.pidns03.sh b/testcase/containers/ltp.containers.pidns03.sh new file mode 100755 index 0000000000000000000000000000000000000000..33ddc2424eac15a213f3b0d6c1717bb7f0ce1a5b --- /dev/null +++ b/testcase/containers/ltp.containers.pidns03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-145188199 +# @用例名称: ltp.containers.pidns03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.pidns03 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers pidns03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.pidns04.sh b/testcase/containers/ltp.containers.pidns04.sh new file mode 100755 index 0000000000000000000000000000000000000000..66eb078e6b7f7d8b7090c78e507e225a4b64947a --- /dev/null +++ b/testcase/containers/ltp.containers.pidns04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-153732770 +# @用例名称: ltp.containers.pidns04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.pidns04 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers pidns04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.pidns05.sh b/testcase/containers/ltp.containers.pidns05.sh new file mode 100755 index 0000000000000000000000000000000000000000..ff2cdeb4857ecccaaaf902e690544f99a0b0180f --- /dev/null +++ b/testcase/containers/ltp.containers.pidns05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-162912520 +# @用例名称: ltp.containers.pidns05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.pidns05 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers pidns05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.pidns06.sh b/testcase/containers/ltp.containers.pidns06.sh new file mode 100755 index 0000000000000000000000000000000000000000..a8c119d693e38f44a5700b713f595fbf83fbbadf --- /dev/null +++ b/testcase/containers/ltp.containers.pidns06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-171525289 +# @用例名称: ltp.containers.pidns06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.pidns06 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers pidns06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.pidns10.sh b/testcase/containers/ltp.containers.pidns10.sh new file mode 100755 index 0000000000000000000000000000000000000000..aa6336e0a555a79daa15960d03f3049ae9d9e4d1 --- /dev/null +++ b/testcase/containers/ltp.containers.pidns10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-180190606 +# @用例名称: ltp.containers.pidns10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.pidns10 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers pidns10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.pidns12.sh b/testcase/containers/ltp.containers.pidns12.sh new file mode 100755 index 0000000000000000000000000000000000000000..decfc67e9ecfb5b594dfef2857b83c256ad1236d --- /dev/null +++ b/testcase/containers/ltp.containers.pidns12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-188734616 +# @用例名称: ltp.containers.pidns12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.pidns12 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers pidns12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.pidns13.sh b/testcase/containers/ltp.containers.pidns13.sh new file mode 100755 index 0000000000000000000000000000000000000000..8a72d971163d9376e07ae2e54d2c3c07471a8819 --- /dev/null +++ b/testcase/containers/ltp.containers.pidns13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-197241718 +# @用例名称: ltp.containers.pidns13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.pidns13 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers pidns13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.pidns16.sh b/testcase/containers/ltp.containers.pidns16.sh new file mode 100755 index 0000000000000000000000000000000000000000..7c654776f3aa33800a2053a5c75351a864198ba2 --- /dev/null +++ b/testcase/containers/ltp.containers.pidns16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-205767353 +# @用例名称: ltp.containers.pidns16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.pidns16 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers pidns16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.pidns17.sh b/testcase/containers/ltp.containers.pidns17.sh new file mode 100755 index 0000000000000000000000000000000000000000..c2e1cd93ec9fee34143d54e35fc46240c42ccaff --- /dev/null +++ b/testcase/containers/ltp.containers.pidns17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-214942234 +# @用例名称: ltp.containers.pidns17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.pidns17 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers pidns17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.pidns20.sh b/testcase/containers/ltp.containers.pidns20.sh new file mode 100755 index 0000000000000000000000000000000000000000..f19ad134ff8d0613a43f56727da0cb5875c0e1a9 --- /dev/null +++ b/testcase/containers/ltp.containers.pidns20.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-223827232 +# @用例名称: ltp.containers.pidns20 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.pidns20 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers pidns20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.pidns30.sh b/testcase/containers/ltp.containers.pidns30.sh new file mode 100755 index 0000000000000000000000000000000000000000..e20da9a96cb319b3af5ab0a8463909bb3361f53f --- /dev/null +++ b/testcase/containers/ltp.containers.pidns30.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-232448166 +# @用例名称: ltp.containers.pidns30 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.pidns30 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers pidns30 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.pidns31.sh b/testcase/containers/ltp.containers.pidns31.sh new file mode 100755 index 0000000000000000000000000000000000000000..4d7ab82faf4cac4303cd12485335ac87aae7ba98 --- /dev/null +++ b/testcase/containers/ltp.containers.pidns31.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-240906376 +# @用例名称: ltp.containers.pidns31 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.pidns31 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers pidns31 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.pidns32.sh b/testcase/containers/ltp.containers.pidns32.sh new file mode 100755 index 0000000000000000000000000000000000000000..d996e53ab955d9328506c5edf9f4d4b007cf6a7b --- /dev/null +++ b/testcase/containers/ltp.containers.pidns32.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-249374314 +# @用例名称: ltp.containers.pidns32 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.pidns32 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers pidns32 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.sem_comm.sh b/testcase/containers/ltp.containers.sem_comm.sh new file mode 100755 index 0000000000000000000000000000000000000000..9a9f378e9cf9e9e5d0a0390255e07a772618b519 --- /dev/null +++ b/testcase/containers/ltp.containers.sem_comm.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-649050570 +# @用例名称: ltp.containers.sem_comm +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.sem_comm + # @预期结果:1: 用例返回0 + ltp_run_testcase containers sem_comm + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.sem_nstest_clone.sh b/testcase/containers/ltp.containers.sem_nstest_clone.sh new file mode 100755 index 0000000000000000000000000000000000000000..2312251b01da146ad449f7480d6fdf7cf82b25f6 --- /dev/null +++ b/testcase/containers/ltp.containers.sem_nstest_clone.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-601811021 +# @用例名称: ltp.containers.sem_nstest_clone +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.sem_nstest_clone + # @预期结果:1: 用例返回0 + ltp_run_testcase containers sem_nstest_clone + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.sem_nstest_none.sh b/testcase/containers/ltp.containers.sem_nstest_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..e88e973119c62e8c475ed4f748374af5334db650 --- /dev/null +++ b/testcase/containers/ltp.containers.sem_nstest_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-593339748 +# @用例名称: ltp.containers.sem_nstest_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.sem_nstest_none + # @预期结果:1: 用例返回0 + ltp_run_testcase containers sem_nstest_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.sem_nstest_unshare.sh b/testcase/containers/ltp.containers.sem_nstest_unshare.sh new file mode 100755 index 0000000000000000000000000000000000000000..bd318d11f6f6d7d34eadfe613342e40621cb1552 --- /dev/null +++ b/testcase/containers/ltp.containers.sem_nstest_unshare.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-610342017 +# @用例名称: ltp.containers.sem_nstest_unshare +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.sem_nstest_unshare + # @预期结果:1: 用例返回0 + ltp_run_testcase containers sem_nstest_unshare + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.semtest_2ns_clone.sh b/testcase/containers/ltp.containers.semtest_2ns_clone.sh new file mode 100755 index 0000000000000000000000000000000000000000..41bafc19743161f94ec27290bdf0f8a04ddc23ce --- /dev/null +++ b/testcase/containers/ltp.containers.semtest_2ns_clone.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-632052127 +# @用例名称: ltp.containers.semtest_2ns_clone +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.semtest_2ns_clone + # @预期结果:1: 用例返回0 + ltp_run_testcase containers semtest_2ns_clone + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.semtest_2ns_none.sh b/testcase/containers/ltp.containers.semtest_2ns_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..9bcb881422537741db3b3a137c6b945167f4b4b9 --- /dev/null +++ b/testcase/containers/ltp.containers.semtest_2ns_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-618810967 +# @用例名称: ltp.containers.semtest_2ns_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.semtest_2ns_none + # @预期结果:1: 用例返回0 + ltp_run_testcase containers semtest_2ns_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.semtest_2ns_unshare.sh b/testcase/containers/ltp.containers.semtest_2ns_unshare.sh new file mode 100755 index 0000000000000000000000000000000000000000..4a813c0dbecd0d8673c5be965da4564dbcd6c21c --- /dev/null +++ b/testcase/containers/ltp.containers.semtest_2ns_unshare.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-640639880 +# @用例名称: ltp.containers.semtest_2ns_unshare +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.semtest_2ns_unshare + # @预期结果:1: 用例返回0 + ltp_run_testcase containers semtest_2ns_unshare + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.shm_comm.sh b/testcase/containers/ltp.containers.shm_comm.sh new file mode 100755 index 0000000000000000000000000000000000000000..511de2727e695afde495333eab89db780bf0f3c5 --- /dev/null +++ b/testcase/containers/ltp.containers.shm_comm.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-550090767 +# @用例名称: ltp.containers.shm_comm +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.shm_comm + # @预期结果:1: 用例返回0 + ltp_run_testcase containers shm_comm + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.shmem_2nstest_clone.sh b/testcase/containers/ltp.containers.shmem_2nstest_clone.sh new file mode 100755 index 0000000000000000000000000000000000000000..944867ed73aa5b5c287f62871a3540bfcf97b2df --- /dev/null +++ b/testcase/containers/ltp.containers.shmem_2nstest_clone.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-532983540 +# @用例名称: ltp.containers.shmem_2nstest_clone +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.shmem_2nstest_clone + # @预期结果:1: 用例返回0 + ltp_run_testcase containers shmem_2nstest_clone + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.shmem_2nstest_none.sh b/testcase/containers/ltp.containers.shmem_2nstest_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..3de5c4340e9aa3367278e2d88f4ab478a04bdb72 --- /dev/null +++ b/testcase/containers/ltp.containers.shmem_2nstest_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-524360603 +# @用例名称: ltp.containers.shmem_2nstest_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.shmem_2nstest_none + # @预期结果:1: 用例返回0 + ltp_run_testcase containers shmem_2nstest_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.shmem_2nstest_unshare.sh b/testcase/containers/ltp.containers.shmem_2nstest_unshare.sh new file mode 100755 index 0000000000000000000000000000000000000000..dff4b20c4a809c261da13becec889718b5b6d521 --- /dev/null +++ b/testcase/containers/ltp.containers.shmem_2nstest_unshare.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-541525567 +# @用例名称: ltp.containers.shmem_2nstest_unshare +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.shmem_2nstest_unshare + # @预期结果:1: 用例返回0 + ltp_run_testcase containers shmem_2nstest_unshare + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.shmnstest_clone.sh b/testcase/containers/ltp.containers.shmnstest_clone.sh new file mode 100755 index 0000000000000000000000000000000000000000..326e03a28dafc3b78e1754b090070bb6cdaa163a --- /dev/null +++ b/testcase/containers/ltp.containers.shmnstest_clone.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-507365546 +# @用例名称: ltp.containers.shmnstest_clone +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.shmnstest_clone + # @预期结果:1: 用例返回0 + ltp_run_testcase containers shmnstest_clone + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.shmnstest_none.sh b/testcase/containers/ltp.containers.shmnstest_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..ac7bed62870124af62d0ff6879db946feeac2f0f --- /dev/null +++ b/testcase/containers/ltp.containers.shmnstest_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-498776652 +# @用例名称: ltp.containers.shmnstest_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.shmnstest_none + # @预期结果:1: 用例返回0 + ltp_run_testcase containers shmnstest_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.shmnstest_unshare.sh b/testcase/containers/ltp.containers.shmnstest_unshare.sh new file mode 100755 index 0000000000000000000000000000000000000000..9bd115fd2efe55449cb0a0a072b69977f73de6f7 --- /dev/null +++ b/testcase/containers/ltp.containers.shmnstest_unshare.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-515867137 +# @用例名称: ltp.containers.shmnstest_unshare +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.shmnstest_unshare + # @预期结果:1: 用例返回0 + ltp_run_testcase containers shmnstest_unshare + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.sysinfo03.sh b/testcase/containers/ltp.containers.sysinfo03.sh new file mode 100755 index 0000000000000000000000000000000000000000..e189277ce70403ab11ce83475e5da74c8354879c --- /dev/null +++ b/testcase/containers/ltp.containers.sysinfo03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-859982050 +# @用例名称: ltp.containers.sysinfo03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.sysinfo03 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers sysinfo03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.timens01.sh b/testcase/containers/ltp.containers.timens01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d4d525d101453dc2722fc05fce0fba3c63940ccd --- /dev/null +++ b/testcase/containers/ltp.containers.timens01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-885667080 +# @用例名称: ltp.containers.timens01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.timens01 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers timens01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.timerfd04.sh b/testcase/containers/ltp.containers.timerfd04.sh new file mode 100755 index 0000000000000000000000000000000000000000..e35b590949989df94b559ebb18ab944e36685c2e --- /dev/null +++ b/testcase/containers/ltp.containers.timerfd04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-894301219 +# @用例名称: ltp.containers.timerfd04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.timerfd04 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers timerfd04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.userns01.sh b/testcase/containers/ltp.containers.userns01.sh new file mode 100755 index 0000000000000000000000000000000000000000..946baaa06832029b101fb44c02e349f4f45beb7d --- /dev/null +++ b/testcase/containers/ltp.containers.userns01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-787092457 +# @用例名称: ltp.containers.userns01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.userns01 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers userns01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.userns02.sh b/testcase/containers/ltp.containers.userns02.sh new file mode 100755 index 0000000000000000000000000000000000000000..475451cf758534652308cdc358157b8f7c91c324 --- /dev/null +++ b/testcase/containers/ltp.containers.userns02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-795565885 +# @用例名称: ltp.containers.userns02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.userns02 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers userns02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.userns03.sh b/testcase/containers/ltp.containers.userns03.sh new file mode 100755 index 0000000000000000000000000000000000000000..6abaf44d5e515b7e832dd4a38f4f9eb88044e54b --- /dev/null +++ b/testcase/containers/ltp.containers.userns03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-803967729 +# @用例名称: ltp.containers.userns03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.userns03 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers userns03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.userns04.sh b/testcase/containers/ltp.containers.userns04.sh new file mode 100755 index 0000000000000000000000000000000000000000..bc1ed5dd5c861949aa7f507fc2a4dee991ac651f --- /dev/null +++ b/testcase/containers/ltp.containers.userns04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-812455254 +# @用例名称: ltp.containers.userns04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.userns04 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers userns04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.userns05.sh b/testcase/containers/ltp.containers.userns05.sh new file mode 100755 index 0000000000000000000000000000000000000000..dab4388b397446f866537509653b54541383e115 --- /dev/null +++ b/testcase/containers/ltp.containers.userns05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-820887956 +# @用例名称: ltp.containers.userns05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.userns05 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers userns05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.userns06.sh b/testcase/containers/ltp.containers.userns06.sh new file mode 100755 index 0000000000000000000000000000000000000000..5c1fc3123468ce433c9001fdcd31f7c51ef8822a --- /dev/null +++ b/testcase/containers/ltp.containers.userns06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-829569914 +# @用例名称: ltp.containers.userns06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.userns06 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers userns06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.userns07.sh b/testcase/containers/ltp.containers.userns07.sh new file mode 100755 index 0000000000000000000000000000000000000000..6675a20e7016c63c9de42def96a0254e6701212f --- /dev/null +++ b/testcase/containers/ltp.containers.userns07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-838048361 +# @用例名称: ltp.containers.userns07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.userns07 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers userns07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.userns08.sh b/testcase/containers/ltp.containers.userns08.sh new file mode 100755 index 0000000000000000000000000000000000000000..78dec6d79523abf49072928ab35fac640eec92de --- /dev/null +++ b/testcase/containers/ltp.containers.userns08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-848398722 +# @用例名称: ltp.containers.userns08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.userns08 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers userns08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.utsname01.sh b/testcase/containers/ltp.containers.utsname01.sh new file mode 100755 index 0000000000000000000000000000000000000000..afbc874005859598921865a637b497c4f67fbc32 --- /dev/null +++ b/testcase/containers/ltp.containers.utsname01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141446-331200499 +# @用例名称: ltp.containers.utsname01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.utsname01 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers utsname01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.utsname02.sh b/testcase/containers/ltp.containers.utsname02.sh new file mode 100755 index 0000000000000000000000000000000000000000..efa30a5a43cefa857eee5e69ced34c5c7cba8f48 --- /dev/null +++ b/testcase/containers/ltp.containers.utsname02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141446-395223753 +# @用例名称: ltp.containers.utsname02 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.utsname02 + # @预期结果:1: 用例返回0 + ltp_run_testcase containers utsname02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.utsname03_clone.sh b/testcase/containers/ltp.containers.utsname03_clone.sh new file mode 100755 index 0000000000000000000000000000000000000000..36cd1ac5ae7e35941abb3b3e8444bbe1db57ab55 --- /dev/null +++ b/testcase/containers/ltp.containers.utsname03_clone.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141847-071236849 +# @用例名称: ltp.containers.utsname03_clone +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.utsname03_clone + # @预期结果:1: 用例返回0 + ltp_run_testcase containers utsname03_clone + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.utsname03_unshare.sh b/testcase/containers/ltp.containers.utsname03_unshare.sh new file mode 100755 index 0000000000000000000000000000000000000000..d6f7a7cd69fdfaa9e8c3d140707291ca28518450 --- /dev/null +++ b/testcase/containers/ltp.containers.utsname03_unshare.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141847-135312418 +# @用例名称: ltp.containers.utsname03_unshare +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.utsname03_unshare + # @预期结果:1: 用例返回0 + ltp_run_testcase containers utsname03_unshare + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.utsname04_clone.sh b/testcase/containers/ltp.containers.utsname04_clone.sh new file mode 100755 index 0000000000000000000000000000000000000000..948013a94c98f7a750f1782705378ebef584bde6 --- /dev/null +++ b/testcase/containers/ltp.containers.utsname04_clone.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141847-198834895 +# @用例名称: ltp.containers.utsname04_clone +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.utsname04_clone + # @预期结果:1: 用例返回0 + ltp_run_testcase containers utsname04_clone + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/containers/ltp.containers.utsname04_unshare.sh b/testcase/containers/ltp.containers.utsname04_unshare.sh new file mode 100755 index 0000000000000000000000000000000000000000..436708a1c22fefc1ba09d14496a7858d8d7c201b --- /dev/null +++ b/testcase/containers/ltp.containers.utsname04_unshare.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141847-263110202 +# @用例名称: ltp.containers.utsname04_unshare +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.containers.utsname04_unshare + # @预期结果:1: 用例返回0 + ltp_run_testcase containers utsname04_unshare + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup.sh b/testcase/controllers/ltp.controllers.cgroup.sh new file mode 100755 index 0000000000000000000000000000000000000000..73d033075801c241d4b5c235d7afa73242b22856 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-905457157 +# @用例名称: ltp.controllers.cgroup +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_core01.sh b/testcase/controllers/ltp.controllers.cgroup_core01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ac3c22e7ce57318cea2a1c9eb14d00e951fa79b3 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_core01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141847-326695709 +# @用例名称: ltp.controllers.cgroup_core01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_core01 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_core01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_core02.sh b/testcase/controllers/ltp.controllers.cgroup_core02.sh new file mode 100755 index 0000000000000000000000000000000000000000..2f508e2f48f0a11ce08850056b68eac36930f75d --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_core02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141847-390887969 +# @用例名称: ltp.controllers.cgroup_core02 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_core02 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_core02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_core03.sh b/testcase/controllers/ltp.controllers.cgroup_core03.sh new file mode 100755 index 0000000000000000000000000000000000000000..966c6b303704d9acf6916c6f0f207991df2cccce --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_core03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141847-453597162 +# @用例名称: ltp.controllers.cgroup_core03 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_core03 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_core03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_function_blkio.sh b/testcase/controllers/ltp.controllers.cgroup_fj_function_blkio.sh new file mode 100755 index 0000000000000000000000000000000000000000..4ca39aae9befe180d2b1eaa1389f00dc855eaef4 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_function_blkio.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-127743298 +# @用例名称: ltp.controllers.cgroup_fj_function_blkio +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_function_blkio + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_function_blkio + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_function_cpu.sh b/testcase/controllers/ltp.controllers.cgroup_fj_function_cpu.sh new file mode 100755 index 0000000000000000000000000000000000000000..9fc33c08bbe707daa97e4deb2964300ae24f734c --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_function_cpu.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-085288563 +# @用例名称: ltp.controllers.cgroup_fj_function_cpu +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_function_cpu + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_function_cpu + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_function_cpuacct.sh b/testcase/controllers/ltp.controllers.cgroup_fj_function_cpuacct.sh new file mode 100755 index 0000000000000000000000000000000000000000..4b8b1c9c8c9d916dc450c1c817142ccd0da75af3 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_function_cpuacct.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-093834997 +# @用例名称: ltp.controllers.cgroup_fj_function_cpuacct +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_function_cpuacct + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_function_cpuacct + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_function_cpuset.sh b/testcase/controllers/ltp.controllers.cgroup_fj_function_cpuset.sh new file mode 100755 index 0000000000000000000000000000000000000000..9d0cce53336eac9047311304eaa468823ff027b3 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_function_cpuset.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-076446405 +# @用例名称: ltp.controllers.cgroup_fj_function_cpuset +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_function_cpuset + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_function_cpuset + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_function_debug.sh b/testcase/controllers/ltp.controllers.cgroup_fj_function_debug.sh new file mode 100755 index 0000000000000000000000000000000000000000..17d83a8d0f0f293cd485ada6970f5d55475e6717 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_function_debug.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-067514158 +# @用例名称: ltp.controllers.cgroup_fj_function_debug +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_function_debug + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_function_debug + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_function_devices.sh b/testcase/controllers/ltp.controllers.cgroup_fj_function_devices.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d57e44ebfe1947bac95504f718c763c6cffb92c --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_function_devices.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-119261905 +# @用例名称: ltp.controllers.cgroup_fj_function_devices +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_function_devices + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_function_devices + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_function_freezer.sh b/testcase/controllers/ltp.controllers.cgroup_fj_function_freezer.sh new file mode 100755 index 0000000000000000000000000000000000000000..7f94b802ce844df29474118aa892e973c51bce60 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_function_freezer.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-110714919 +# @用例名称: ltp.controllers.cgroup_fj_function_freezer +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_function_freezer + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_function_freezer + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_function_hugetlb.sh b/testcase/controllers/ltp.controllers.cgroup_fj_function_hugetlb.sh new file mode 100755 index 0000000000000000000000000000000000000000..bf3ffdf421c4096c558d7158ccdaa65e68fde3d6 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_function_hugetlb.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-162046385 +# @用例名称: ltp.controllers.cgroup_fj_function_hugetlb +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_function_hugetlb + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_function_hugetlb + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_function_memory.sh b/testcase/controllers/ltp.controllers.cgroup_fj_function_memory.sh new file mode 100755 index 0000000000000000000000000000000000000000..3a2f5d479b96cd7faa14012ffce70ceb920ebb5b --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_function_memory.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-102250988 +# @用例名称: ltp.controllers.cgroup_fj_function_memory +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_function_memory + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_function_memory + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_function_net_cls.sh b/testcase/controllers/ltp.controllers.cgroup_fj_function_net_cls.sh new file mode 100755 index 0000000000000000000000000000000000000000..2c23ad2223cf78f8c97c48fc1f551d480f296951 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_function_net_cls.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-136325258 +# @用例名称: ltp.controllers.cgroup_fj_function_net_cls +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_function_net_cls + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_function_net_cls + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_function_net_prio.sh b/testcase/controllers/ltp.controllers.cgroup_fj_function_net_prio.sh new file mode 100755 index 0000000000000000000000000000000000000000..4ef939fa38bfb66ce61ff6dd82c0d810acc03ff8 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_function_net_prio.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-153388031 +# @用例名称: ltp.controllers.cgroup_fj_function_net_prio +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_function_net_prio + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_function_net_prio + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_function_perf_event.sh b/testcase/controllers/ltp.controllers.cgroup_fj_function_perf_event.sh new file mode 100755 index 0000000000000000000000000000000000000000..bca06c7c378ab88a80173f76f823281ed69a2644 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_function_perf_event.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-144938168 +# @用例名称: ltp.controllers.cgroup_fj_function_perf_event +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_function_perf_event + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_function_perf_event + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_10_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_10_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..87e2e6b549fade58650594a7148da167ecbcd813 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_10_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-705435518 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_10_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_10_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_10_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_10_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_10_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..03e453d66a916b13d7d8ded9e398dd5f517d22a4 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_10_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-580334080 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_10_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_10_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_10_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_10_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_10_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..b820caed498acc8063d73b46cb8d5faf7d0de924 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_10_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-642382474 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_10_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_10_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_10_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_1_200_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_1_200_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..0e34fba6d73828dc56f6daf37c241f1349beba5a --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_1_200_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-714255996 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_1_200_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_1_200_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_1_200_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_1_200_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_1_200_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..c849b8302784bb25c08e9515b02f873feff9b0b7 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_1_200_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-588943774 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_1_200_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_1_200_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_1_200_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_1_200_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_1_200_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..b73d79c98e064eea4a21afae3c7265d89f6793c0 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_1_200_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-650969676 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_1_200_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_1_200_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_1_200_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_200_1_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_200_1_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..8eac8586c130c24622c1d4b459f592f512b58428 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_200_1_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-722840743 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_200_1_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_200_1_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_200_1_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_200_1_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_200_1_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..9355d8948eb0c954fa31b7017d36bfbdaf4c1dd5 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_200_1_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-597489808 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_200_1_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_200_1_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_200_1_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_200_1_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_200_1_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..e006e048d8ea89d8bb080c46d62b2c5b06808d47 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_200_1_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-659650031 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_200_1_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_200_1_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_200_1_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_2_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_2_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..d56d1454662e222479ace0a42b9b8da8fdf29f37 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_2_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-670382527 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_2_2_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_2_2_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_2_2_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_2_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_2_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..bf29704a0968103a94dab2dde125420587c93b0d --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_2_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-545996478 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_2_2_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_2_2_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_2_2_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_2_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_2_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..5e275c722c9755f989d1479938c9b0411023414d --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_2_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-608039742 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_2_2_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_2_2_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_2_2_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_9_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_9_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..c15ee18308fd0b16d95980cd0caec7a3e420cc8b --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_9_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-696885588 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_2_9_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_2_9_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_2_9_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_9_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_9_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..8023d0221172900a122918fb94ebe79e18968663 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_9_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-571878796 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_2_9_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_2_9_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_2_9_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_9_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_9_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..c494f7e40d0f5779b7688c24be582bc37146150b --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_2_9_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-633763364 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_2_9_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_2_9_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_2_9_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_3_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_3_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..9703133feba6cff38b3ca8582fb256b8c92e07ee --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_3_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-679766699 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_3_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_3_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_3_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_3_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_3_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..03f23e86a0b948bf4f189738266ccf8cfb4c0c6a --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_3_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-554604678 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_3_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_3_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_3_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_3_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_3_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..fc4efd53ae7e90fd8bbda54e059466f646c12d7e --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_3_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-616577250 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_3_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_3_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_3_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_4_4_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_4_4_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..7ca8cb5f520664e51464b8df1373dd505cf8990a --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_4_4_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-688301092 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_4_4_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_4_4_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_4_4_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_4_4_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_4_4_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..5ae56c508be7ea465fe208b5d59a3bc3e8eddecb --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_4_4_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-563287769 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_4_4_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_4_4_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_4_4_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_4_4_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_4_4_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..73142ca9d01fb5cb8613ee0f4d588cd92d51fb2d --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_blkio_4_4_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-625108706 +# @用例名称: ltp.controllers.cgroup_fj_stress_blkio_4_4_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_blkio_4_4_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_blkio_4_4_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_10_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_10_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..f6dad41cf3d3e30acaa3a6a7d7b8ba84c7eeb20e --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_10_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-737043647 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_10_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_10_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_10_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_10_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_10_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..02c222193d89b3c10a09f751c970cf6850fbd94d --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_10_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-601685884 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_10_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_10_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_10_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_10_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_10_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..d3a0789dd85aff57c3256a726552f9481ba70e33 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_10_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-672770389 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_10_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_10_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_10_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_1_200_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_1_200_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..f76dea76e7faa4860262c3d90ebd473f1e2327d4 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_1_200_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-745526864 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_1_200_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_1_200_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_1_200_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_1_200_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_1_200_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..080a5eb08af5299c7327134ff5fc438e3f6036bd --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_1_200_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-611078733 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_1_200_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_1_200_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_1_200_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_1_200_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_1_200_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..5de6dd25639830db9f09a0c592c7d5e02c58a752 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_1_200_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-681674714 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_1_200_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_1_200_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_1_200_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_200_1_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_200_1_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..7f80bf763e79469b26e651f74d8c3a92c00abbd3 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_200_1_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-754232025 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_200_1_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_200_1_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_200_1_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_200_1_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_200_1_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..80138e30fcba963e683d0f1d9529d3a836781cfc --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_200_1_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-622430197 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_200_1_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_200_1_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_200_1_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_200_1_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_200_1_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..337c1dc50bcc7c7fd87a055c63dd2e9e54e8496a --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_200_1_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-690192695 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_200_1_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_200_1_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_200_1_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_2_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_2_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..480074c19721774bad631b9462b3c2b7b5c195a4 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_2_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-701265659 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_2_2_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_2_2_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_2_2_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_2_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_2_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..991b88e0a7416ad358131f38306695b5933b31cd --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_2_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-565217543 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_2_2_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_2_2_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_2_2_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_2_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_2_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..2dc512f671726f584e12bf44f2550c9c3c92826e --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_2_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-634965888 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_2_2_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_2_2_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_2_2_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_9_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_9_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..30649142df948d9153b6cf2ecb7f07acdf0a7af2 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_9_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-728568345 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_2_9_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_2_9_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_2_9_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_9_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_9_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..121ebe3a0e63519649ce2e01dc69ce58219c8cc1 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_9_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-591951536 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_2_9_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_2_9_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_2_9_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_9_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_9_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..49b35e3ef1adc07d42f2a62dcfbf618879511e32 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_2_9_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-664022046 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_2_9_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_2_9_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_2_9_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_3_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_3_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..a6ae22d8639d41c607d305f07080e382a8e26ae0 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_3_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-711207224 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_3_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_3_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_3_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_3_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_3_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..812c3b41a24a3016d1055760749b23b6e5e06419 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_3_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-573670242 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_3_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_3_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_3_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_3_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_3_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..fcb685de108062786b8fd301bb59a7959f809224 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_3_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-645155127 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_3_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_3_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_3_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_4_4_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_4_4_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..34fced8623a3ae4b039579f30e58558c0f2347c2 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_4_4_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-720056897 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_4_4_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_4_4_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_4_4_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_4_4_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_4_4_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..f3ab46cbac138ab87386b4aa8ae969f665bcce0d --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_4_4_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-582248096 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_4_4_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_4_4_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_4_4_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_4_4_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_4_4_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..611f9dd5d0795e16e1065041395fa8a747c1bb6d --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpu_4_4_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-655220043 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpu_4_4_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpu_4_4_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpu_4_4_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_10_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_10_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..56971d577b2aad5e59babb57cec17325a3b56fb8 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_10_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-928075263 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_10_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_10_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_10_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_10_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_10_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..260310ffe42a72fd6a83d17b328289bd966c42f4 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_10_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-802152429 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_10_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_10_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_10_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_10_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_10_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..f1f08b35346bc99787cf6f9b0e0e943541939053 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_10_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-865672156 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_10_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_10_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_10_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_1_200_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_1_200_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..0c7af03800c330e7a756fc931d664f78ed87013d --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_1_200_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-936662475 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_1_200_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_1_200_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_1_200_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_1_200_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_1_200_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..5f309582057e4129cd5de1b88e85be601d541e2c --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_1_200_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-810866187 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_1_200_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_1_200_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_1_200_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_1_200_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_1_200_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..0aaccee2cfd69828c55d08a23cb546426978333e --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_1_200_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-874366057 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_1_200_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_1_200_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_1_200_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_200_1_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_200_1_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..e6b31daf4ea5c659d57dbf0db7799e2bca6f8429 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_200_1_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-945235199 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_200_1_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_200_1_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_200_1_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_200_1_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_200_1_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..a54b1e19b75f771d71cabfbe947aded6a385f703 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_200_1_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-819435523 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_200_1_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_200_1_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_200_1_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_200_1_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_200_1_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..ad729924107e91d6d9cd4ba477b71633182e3c5c --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_200_1_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-882952998 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_200_1_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_200_1_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_200_1_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_2_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_2_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..5f39b4b22b003e153cb1e2a08fa55fe67d06ec64 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_2_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-893373309 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_2_2_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_2_2_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_2_2_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_2_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_2_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..79ddd834d2ec306a060b399016b324d4e899091c --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_2_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-765652158 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_2_2_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_2_2_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_2_2_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_2_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_2_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..4135b79ec6c1fb05ba1b9af7690f2e5f25ebbb0f --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_2_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-829968928 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_2_2_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_2_2_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_2_2_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_9_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_9_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..2a917e834d86d1b03b454c223679278693534a5d --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_9_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-918875246 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_2_9_each +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_2_9_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_2_9_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_9_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_9_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..34f0338e0c83ce2ba2f22c9ad0f6503d5ee72b1f --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_9_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-793611334 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_2_9_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_2_9_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_2_9_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_9_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_9_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..7ef4c0fb6c41baa786c85ec8ef4305e93a47e086 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_2_9_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-857077511 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_2_9_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_2_9_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_2_9_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_3_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_3_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..5127e6214f017c81043d8b28d908ab165d249721 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_3_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-901928460 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_3_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_3_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_3_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_3_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_3_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..5a1019d01e42e2882c462c992721036ab259942d --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_3_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-774220564 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_3_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_3_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_3_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_3_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_3_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..b3fffe931619a672803f740d665d0edbe2fd830b --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_3_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-838597095 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_3_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_3_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_3_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_4_4_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_4_4_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..47b8087d0034ca82390fb42f819903e6cc14fb8f --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_4_4_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-910419922 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_4_4_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_4_4_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_4_4_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_4_4_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_4_4_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..677334ca1ac41bfaf5f7a4f83e03519a95047c75 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_4_4_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-785008543 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_4_4_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_4_4_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_4_4_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_4_4_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_4_4_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..f1cd34aaf61b617ab20bd7b08043802e4e712cea --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuacct_4_4_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-847621594 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuacct_4_4_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuacct_4_4_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuacct_4_4_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_10_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_10_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..99a784702305b9030b62efcec7fd14ce42d34337 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_10_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-536701145 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_10_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_10_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_10_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_10_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_10_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..d263c87113a9d67a79b462ea39a9dd779c67f090 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_10_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-410779772 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_10_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_10_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_10_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_10_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_10_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..d1dcf2f612e2ff2cc8234c67f3d2a2540a97c130 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_10_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-472712449 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_10_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_10_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_10_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_1_200_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_1_200_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..156456404b06ee694ea2415cdb4289ff06bc5532 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_1_200_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-545270242 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_1_200_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_1_200_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_1_200_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_1_200_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_1_200_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..a3303b7c60635827253729d2fd5405ad195ea19a --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_1_200_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-419340654 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_1_200_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_1_200_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_1_200_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_1_200_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_1_200_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..ac3081913d32732c8747d6182fdfe4f13855affc --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_1_200_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-481441817 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_1_200_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_1_200_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_1_200_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_200_1_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_200_1_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..7c751ca856641e22a5c7176f2f23f9d74ebf4370 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_200_1_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-553900834 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_200_1_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_200_1_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_200_1_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_200_1_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_200_1_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..25443ee5544e8f26811caddd6b4d22c0658cfdba --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_200_1_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-427786821 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_200_1_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_200_1_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_200_1_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_200_1_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_200_1_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..2815ed4e0e8d5de485cc61483d05fee0cc4bd156 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_200_1_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-491667744 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_200_1_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_200_1_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_200_1_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_2_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_2_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..b433f309cfacf9dc5a45500a959159fb17a54b2f --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_2_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-502098906 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_2_2_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_2_2_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_2_2_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_2_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_2_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..141d92987be8337f11b61b64e9a3dc470e373648 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_2_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-376482063 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_2_2_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_2_2_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_2_2_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_2_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_2_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..4cb34349a8d1fbaaf0182769380c4c6904f4acab --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_2_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-438315515 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_2_2_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_2_2_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_2_2_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_9_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_9_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..c897ec4175c4cff06bff5a1c3dd12d7255eabe9c --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_9_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-528058800 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_2_9_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_2_9_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_2_9_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_9_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_9_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..6a7334c0a7600d14ca0875233e7058e4ff417528 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_9_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-402168245 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_2_9_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_2_9_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_2_9_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_9_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_9_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..627b38b8f373e29d748bda1bf6b044e7f45594cf --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_2_9_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-464076497 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_2_9_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_2_9_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_2_9_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_3_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_3_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..de10e1e6d8994429456150d9bde070918980441b --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_3_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-510872225 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_3_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_3_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_3_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_3_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_3_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..0e0b5a0048ff6728905b8f4d92b440512810c67f --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_3_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-385039940 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_3_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_3_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_3_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_3_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_3_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..4403d1cd90d105ce3dc914cb16c5349a3efa0287 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_3_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-446900061 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_3_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_3_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_3_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_4_4_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_4_4_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..31113abaf0e8ebc7dc3ecfb3121dee5b36debb43 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_4_4_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-519473703 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_4_4_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_4_4_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_4_4_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_4_4_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_4_4_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..edda308442c43904881bdaa5989013291ddbd872 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_4_4_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-393603907 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_4_4_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_4_4_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_4_4_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_4_4_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_4_4_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..cd187a7ea6d89cdea3b95a4630afe5fee5d4527e --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_cpuset_4_4_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-455471212 +# @用例名称: ltp.controllers.cgroup_fj_stress_cpuset_4_4_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_cpuset_4_4_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_cpuset_4_4_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_10_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_10_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..1d95a03e4b64ca49346adcabcb3f44623b280fd9 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_10_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-341590033 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_10_3_each +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_10_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_10_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_10_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_10_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..030de05fe5ef2223191721c746efadca2ca78d9b --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_10_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-208170136 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_10_3_none +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_10_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_10_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_10_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_10_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..7c05780ca1cfb5f71234ccd81b201bab6933be53 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_10_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-274865036 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_10_3_one +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_10_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_10_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_1_200_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_1_200_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..44ef6d12c41cee6a0d28867d7c8946d949434a40 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_1_200_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-350098677 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_1_200_each +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_1_200_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_1_200_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_1_200_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_1_200_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..0678e89c753a3b1333da3f19386f095cd582f7f2 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_1_200_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-216796671 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_1_200_none +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_1_200_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_1_200_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_1_200_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_1_200_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..68c7867f59deef47efc5aed0500470621cdf4126 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_1_200_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-283467747 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_1_200_one +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_1_200_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_1_200_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_200_1_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_200_1_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..da373432ed79e07828516794ce8301ce9afe967c --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_200_1_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-364938730 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_200_1_each +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_200_1_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_200_1_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_200_1_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_200_1_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..878ed4669db5461c1e28ecb5259b9c34aed48c04 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_200_1_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-225216629 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_200_1_none +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_200_1_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_200_1_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_200_1_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_200_1_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..056803e2fb3efe58340e8f8478a89a9f5479b330 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_200_1_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-291923231 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_200_1_one +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_200_1_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_200_1_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_2_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_2_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..d4bf2d2660c4d129ad660020540b814ba64d00f4 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_2_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-302245880 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_2_2_each +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_2_2_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_2_2_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_2_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_2_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..7cd908609b8146f54064042ec842601e4979e25d --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_2_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-173411135 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_2_2_none +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_2_2_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_2_2_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_2_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_2_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..f18911e2081a6bebb55f78f6ae41bf205e05a7f8 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_2_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-240499592 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_2_2_one +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_2_2_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_2_2_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_9_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_9_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..17095be5ab08c7ff8c4cb241d979cc5cd4aab4b9 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_9_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-332052052 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_2_9_each +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_2_9_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_2_9_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_9_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_9_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..6b479d8e4a12f35e178e656b64651e786ac6d108 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_9_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-199482097 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_2_9_none +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_2_9_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_2_9_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_9_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_9_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..eb238851163d898d07ab99a77d9f79b25d184d47 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_2_9_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-266259901 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_2_9_one +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_2_9_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_2_9_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_3_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_3_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..069df14255fac5a2073f76a0de114dcdc0dc4f65 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_3_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-314948743 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_3_3_each +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_3_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_3_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_3_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_3_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..55049f305972fb14e18a28cc9a56703b8f5e46e2 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_3_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-181841312 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_3_3_none +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_3_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_3_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_3_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_3_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..a585526c8d2bc3e85fd59047ced4ce8b6cdc3ac2 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_3_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-249007393 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_3_3_one +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_3_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_3_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_4_4_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_4_4_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..088521a24c4298c73b31c06a78ed411f7a68d9cc --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_4_4_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-323484668 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_4_4_each +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_4_4_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_4_4_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_4_4_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_4_4_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..fe05989f8e788c7e4acdd54a3ad6a01186f238bc --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_4_4_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-190991126 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_4_4_none +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_4_4_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_4_4_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_4_4_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_4_4_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..3979adc5f1c5c4d4e3496a6af62e7216b1ca567e --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_debug_4_4_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-257517770 +# @用例名称: ltp.controllers.cgroup_fj_stress_debug_4_4_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_debug_4_4_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_debug_4_4_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_10_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_10_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..38547f0a8d7662ed64386073b46eaf3516fe7a3a --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_10_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-516894834 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_10_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_10_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_10_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_10_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_10_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..173d04dcfe1927abe41843fe9b235240d8053db7 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_10_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-387681019 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_10_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_10_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_10_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_10_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_10_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..e38ded45e74d84102d63d4fadf7f83faab28e7c0 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_10_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-449990592 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_10_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_10_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_10_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_1_200_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_1_200_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..66568953585f9f8374ceafcdc18ccf0ece477788 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_1_200_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-525982582 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_1_200_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_1_200_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_1_200_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_1_200_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_1_200_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..1c796fcdaf5c7cb63492e0180d31a7bafbf66508 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_1_200_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-396326649 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_1_200_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_1_200_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_1_200_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_1_200_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_1_200_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..f308f188e57b5366cf3dd8ac565dc8a1ade5bc93 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_1_200_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-458779361 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_1_200_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_1_200_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_1_200_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_200_1_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_200_1_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..55fa712a6b879718b2275aa9e90a6c7b6b25edec --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_200_1_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-534573830 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_200_1_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_200_1_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_200_1_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_200_1_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_200_1_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..da44a588ae69b52a255f68a6dbc2c4046e55293b --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_200_1_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-404934730 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_200_1_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_200_1_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_200_1_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_200_1_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_200_1_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d0af3a67bdd7dc78db1d90b39ea33574c640be5 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_200_1_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-467436933 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_200_1_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_200_1_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_200_1_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_2_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_2_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..a218b8268e0098b85a06ad7322bc0c7297a6bae6 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_2_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-477938016 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_2_2_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_2_2_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_2_2_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_2_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_2_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..390500dd2ff33f03ef694616cb8c064aba8502f6 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_2_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-349916613 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_2_2_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_2_2_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_2_2_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_2_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_2_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..0752a6f699ee82c900526b7a9999e83f2ea5488c --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_2_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-415552882 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_2_2_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_2_2_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_2_2_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_9_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_9_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..aa2eb10242f7a3cc8b8bd7b27fc581d81d26a704 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_9_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-505370386 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_2_9_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_2_9_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_2_9_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_9_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_9_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..17f2d17c7b15cff205945113d005c9403917daaf --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_9_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-379149633 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_2_9_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_2_9_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_2_9_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_9_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_9_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..5861b0eeebda4d39376fe9bb724412571d7d52ab --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_2_9_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-441399173 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_2_9_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_2_9_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_2_9_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_3_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_3_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..9c76882571bc67e4ba9c5d0e50ff8bafda2f39ae --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_3_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-486588435 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_3_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_3_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_3_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_3_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_3_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..1e6e293afb5a55ad6bc85438e68b96b2d3ffa30b --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_3_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-359630853 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_3_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_3_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_3_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_3_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_3_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..e42600c9b9e4075afab0fb4f8527c5cbb1e900ab --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_3_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-424149911 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_3_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_3_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_3_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_4_4_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_4_4_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..9d70d262175b40125ed4e1eaf664ca94e488b278 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_4_4_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-495243914 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_4_4_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_4_4_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_4_4_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_4_4_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_4_4_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..7968abb42e25d319bfafd6ef7fe50438ab28e88d --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_4_4_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-370504584 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_4_4_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_4_4_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_4_4_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_4_4_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_4_4_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..000d16eb1a90928fd462ee74c9ac39e21053a4ce --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_devices_4_4_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-432764413 +# @用例名称: ltp.controllers.cgroup_fj_stress_devices_4_4_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_devices_4_4_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_devices_4_4_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_10_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_10_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..b1559ee5168a4207b133f09dee52865ef253c3bd --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_10_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-317193492 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_10_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_10_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_10_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_10_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_10_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..925d78b0c3a828c68a53d00238cf0a0373ccc0e1 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_10_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-186659115 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_10_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_10_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_10_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_10_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_10_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..4b0714fe350bf368a27795749e563106062dee5e --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_10_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-249430873 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_10_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_10_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_10_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_1_200_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_1_200_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..465e9c134819101ccb8dc483e6c72b7c7a5bd180 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_1_200_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-325939870 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_1_200_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_1_200_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_1_200_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_1_200_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_1_200_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..b559a088ce676357220092596ed66b366828b894 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_1_200_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-195217543 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_1_200_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_1_200_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_1_200_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_1_200_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_1_200_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..8bec98c72a6ccc0fc4920c2693f82647a89cd256 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_1_200_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-258161973 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_1_200_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_1_200_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_1_200_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_200_1_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_200_1_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..b0b3e4e2b150644c40d87ceb5527074dfd132b6f --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_200_1_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-334447743 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_200_1_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_200_1_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_200_1_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_200_1_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_200_1_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..35a1a89c524fe8853d6a55f8aac543fe839c929c --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_200_1_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-203911704 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_200_1_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_200_1_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_200_1_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_200_1_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_200_1_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..a497b7271539a66866b80777e882c4fd6fa8e4aa --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_200_1_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-267080564 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_200_1_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_200_1_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_200_1_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_2_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_2_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..a3c24850e7c67f85f3a6d6828db12d67a97830f5 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_2_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-277594712 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_2_2_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_2_2_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_2_2_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_2_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_2_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..798dd74c9e5e94aeb0c35e67d767e6251bda15b4 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_2_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-152202089 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_2_2_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_2_2_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_2_2_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_2_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_2_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..7a1beb7e39d8d1d6180173c7b3c7f86be37a861f --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_2_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-214349548 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_2_2_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_2_2_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_2_2_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_9_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_9_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..0d0d1dca89003506d0e8f8bbe8272fc11329446e --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_9_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-308698513 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_2_9_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_2_9_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_2_9_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_9_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_9_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..12eefbc514f3c649a8a881e69629b5723bbcc919 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_9_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-177989760 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_2_9_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_2_9_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_2_9_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_9_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_9_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..33628d3e30cabcfd15d9d5949c28bb2159266765 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_2_9_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-240205277 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_2_9_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_2_9_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_2_9_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_3_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_3_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..9f98ab5ddd11708209d02c6b29d7f18fefe5bc61 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_3_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-286522330 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_3_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_3_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_3_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_3_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_3_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..74be3598f986352f902a5bccccc5e286159963fb --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_3_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-160840636 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_3_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_3_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_3_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_3_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_3_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..ecc32057104b598bcd429b85566a3bd3fedf4104 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_3_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-222947830 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_3_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_3_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_3_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_4_4_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_4_4_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..62219b0f1b2e3b73b174b4f88ba7b3f23685e5cd --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_4_4_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-295037877 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_4_4_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_4_4_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_4_4_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_4_4_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_4_4_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..ddde4969dfd0d7fd8adc524d2676334fc926869c --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_4_4_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-169491325 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_4_4_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_4_4_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_4_4_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_4_4_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_4_4_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..8eb0623e517836c2c29e9b45405f1a27f971850d --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_freezer_4_4_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-231576829 +# @用例名称: ltp.controllers.cgroup_fj_stress_freezer_4_4_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_freezer_4_4_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_freezer_4_4_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_10_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_10_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..8239dbb91bacb4a36deed80f9ff786493ca3d538 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_10_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-469039649 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_10_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_10_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_10_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_10_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_10_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..e1e61f71cc104e3c3a4420f1d040cac6b294ca8e --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_10_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-344380539 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_10_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_10_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_10_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_10_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_10_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..8cffacaba2731cff5b0e6f00c125dad0e74066e8 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_10_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-406491179 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_10_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_10_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_10_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_1_200_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_1_200_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..8c3f11a5323d120e8f1b5cc96ec13d9bc1c9eaaa --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_1_200_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-477838106 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_1_200_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_1_200_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_1_200_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_1_200_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_1_200_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..1da616a1757d24f3cc574de50d53d4dd0bb8aba1 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_1_200_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-353022152 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_1_200_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_1_200_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_1_200_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_1_200_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_1_200_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..7559e964507d5fb62f1aae3ac5a02cfdf161b0c2 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_1_200_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-415114508 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_1_200_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_1_200_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_1_200_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_200_1_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_200_1_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..cf58a6e50987e8cf35583d1d98339066484d4483 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_200_1_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-486453479 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_200_1_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_200_1_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_200_1_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_200_1_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_200_1_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..06e475db4d47112d34738e23599f7b34cedc6fb0 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_200_1_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-361526588 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_200_1_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_200_1_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_200_1_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_200_1_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_200_1_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..52c49b7247422f693968d90cbe856d581c7ff72b --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_200_1_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-423765599 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_200_1_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_200_1_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_200_1_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_2_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_2_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..7b359e1e881cc3ef7f75468791a3fed5783c5586 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_2_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-434304973 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_2_2_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_2_2_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_2_2_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_2_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_2_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..c8955dfb2d362a46fdd29ab98168bf1ac74951e3 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_2_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-307063590 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_2_2_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_2_2_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_2_2_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_2_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_2_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..435b8fff4c94f8396a6a99b38c5fd60ecc4d6cd1 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_2_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-372018584 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_2_2_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_2_2_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_2_2_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_9_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_9_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..a0f634950ed06eef5d525fb6b4c5ca376697acf4 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_9_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-460320451 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_2_9_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_2_9_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_2_9_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_9_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_9_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..ff10ea9d0570f14c5010198955949b2da520a648 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_9_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-335708459 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_2_9_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_2_9_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_2_9_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_9_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_9_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..ca44845ccebb14700097b688ae986996aa4d4036 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_2_9_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-398003094 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_2_9_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_2_9_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_2_9_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_3_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_3_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..b3951b5aba45440f567c496a74055c974e91ba76 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_3_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-442974758 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_3_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_3_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_3_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_3_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_3_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..09f6f6f3e68b6a797a885b1866518b05d3f6a794 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_3_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-317507014 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_3_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_3_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_3_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_3_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_3_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..a1ae0e44f089b48dfc7e3c22cbe17f2fee7dbaf3 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_3_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-380660597 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_3_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_3_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_3_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_4_4_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_4_4_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..2db8358805758baa9262a2d168c7b0a7aa3ec220 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_4_4_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-451573742 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_4_4_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_4_4_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_4_4_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_4_4_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_4_4_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..39a92775109afcc3d3bf8cf3326b751e65b99085 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_4_4_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-326080630 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_4_4_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_4_4_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_4_4_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_4_4_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_4_4_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..6673ed44d6647080dce2ab4311c2428d97c4f64b --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_hugetlb_4_4_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-389376058 +# @用例名称: ltp.controllers.cgroup_fj_stress_hugetlb_4_4_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_hugetlb_4_4_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_hugetlb_4_4_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_10_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_10_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..0d88780634820f0d03fd26629259f99ba30e8ae2 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_10_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-123115153 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_10_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_10_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_10_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_10_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_10_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..04bf65d348db1bb5f11c2ad0d7def834e821a0c6 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_10_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-994593173 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_10_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_10_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_10_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_10_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_10_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..e59554c5761609a6d64b4d93e7ee97425b596e7b --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_10_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-060297138 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_10_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_10_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_10_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_1_200_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_1_200_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..3ddf7b19520173c6a3e5aea49a3a0378c7eedd02 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_1_200_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-131603869 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_1_200_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_1_200_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_1_200_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_1_200_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_1_200_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..93c67dac2f2cf925acddb5c6af8189a2900ada98 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_1_200_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-003023660 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_1_200_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_1_200_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_1_200_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_1_200_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_1_200_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..845899391e3da9966fc213ac62299d6141693574 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_1_200_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-068920056 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_1_200_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_1_200_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_1_200_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_200_1_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_200_1_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..9e33df54b9785c2034a4323bc5b6332fc0f7ce00 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_200_1_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-140138311 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_200_1_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_200_1_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_200_1_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_200_1_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_200_1_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..d1c4e6c5095f4e45bb5f439cce85f2048621a227 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_200_1_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-011579823 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_200_1_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_200_1_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_200_1_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_200_1_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_200_1_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..9f31d72ca492f4926a6d6f967f01c2ff7706ac2d --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_200_1_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-077525832 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_200_1_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_200_1_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_200_1_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_2_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_2_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..9be7a883430144f5c67dfc18696c7240d3524013 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_2_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-088425871 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_2_2_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_2_2_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_2_2_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_2_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_2_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..dc78b1858030937978c0fd9afbd0f16c8fc534c8 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_2_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-956877236 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_2_2_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_2_2_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_2_2_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_2_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_2_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..512fa8329965ce5980c04a854b9c77b4dc27a645 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_2_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-022271853 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_2_2_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_2_2_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_2_2_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_9_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_9_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..faeb8c9c88fda81fe7106e91e13a1b78b95fd435 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_9_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-114556805 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_2_9_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_2_9_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_2_9_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_9_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_9_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..b0fb8b0617d114b9f17ff907e2be9a420e6a6809 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_9_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-986005029 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_2_9_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_2_9_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_2_9_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_9_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_9_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..a6dbf53245e553bddcc04e7bc0a1e4fa2605dd5a --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_2_9_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-048971893 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_2_9_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_2_9_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_2_9_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_3_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_3_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..ae173f10227109d6e710a8dbada97885a37813fe --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_3_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-097114322 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_3_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_3_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_3_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_3_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_3_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..e51807615a9066789fe10b93e8e6d07669e30987 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_3_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-965794155 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_3_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_3_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_3_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_3_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_3_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..65ab9c1193c3680e0a2823c19e762a31d58db004 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_3_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-031702193 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_3_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_3_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_3_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_4_4_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_4_4_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..9b141fd1c8a80cd9cc77b0283d96f921182aadfe --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_4_4_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-105671446 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_4_4_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_4_4_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_4_4_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_4_4_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_4_4_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..e37800ee6ed4b675314ebf7f452db076d8b1f280 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_4_4_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-977261746 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_4_4_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_4_4_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_4_4_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_4_4_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_4_4_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..8987bd05881a9f9851d89f00f7e160efe9bbe61a --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_memory_4_4_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-040299572 +# @用例名称: ltp.controllers.cgroup_fj_stress_memory_4_4_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_memory_4_4_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_memory_4_4_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_10_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_10_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..509c752c15c8274fba735c91c294bc69c6a751de --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_10_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-893424461 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_10_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_10_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_10_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_10_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_10_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..59c364666a21976d238d05e93f2cd9e4e6d31c16 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_10_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-769083657 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_10_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_10_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_10_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_10_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_10_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..07e551a29a661f160f8d0e2a1337cac5e5d0919b --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_10_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-831269838 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_10_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_10_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_10_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_1_200_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_1_200_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..dd8663ef6eaeff7fd9e926ae2fd7e0ed111b21cc --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_1_200_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-906531411 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_1_200_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_1_200_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_1_200_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_1_200_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_1_200_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..bed099d5ad5e2934ea2eb34d28c6451750e441e4 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_1_200_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-777801702 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_1_200_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_1_200_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_1_200_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_1_200_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_1_200_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..c5c2bb8e021c110648bea69cebfd2baff169a6c5 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_1_200_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-839886094 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_1_200_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_1_200_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_1_200_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_200_1_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_200_1_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..ec5aadecd9ea132c8918313493dc484ab21cb187 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_200_1_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-915190487 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_200_1_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_200_1_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_200_1_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_200_1_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_200_1_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..f62b82ca256f6d5b3b898fb9d93ac77e4d8f8b64 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_200_1_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-786406557 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_200_1_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_200_1_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_200_1_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_200_1_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_200_1_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..3bb4fe0d71407b4f657f79a4b48b0bb5025fb391 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_200_1_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-848463998 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_200_1_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_200_1_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_200_1_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_2_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_2_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..c5e1d53659233fe8e53df3cfc9aca515dba3b75e --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_2_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-859012950 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_2_2_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_2_2_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_2_2_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_2_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_2_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..165b5a91ccec19b42bf387c7dc24f042b3618848 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_2_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-734365962 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_2_2_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_2_2_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_2_2_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_2_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_2_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..465c5182dab80becbd5078fb0d5cdbe408b27fbe --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_2_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-796775923 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_2_2_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_2_2_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_2_2_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_9_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_9_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..e9f24040efa2a7ecbbf76fb7364badf4be635361 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_9_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-884886673 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_2_9_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_2_9_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_2_9_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_9_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_9_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..5d61c8ffe44d4bcd92a9a2859f19775a24d4e8ea --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_9_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-760151711 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_2_9_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_2_9_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_2_9_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_9_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_9_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..c50c43a1f979e48351d00204d7b30f8d6fad2a8a --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_2_9_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-822542755 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_2_9_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_2_9_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_2_9_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_3_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_3_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..0d8b46a025aec6affd284d384b42d6ab4f80d052 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_3_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-867641268 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_3_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_3_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_3_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_3_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_3_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..e911abcbabf7a2c3ab728d75a455d0e92da23371 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_3_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-742913890 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_3_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_3_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_3_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_3_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_3_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..d8d021f3a5037876d8bc9f7d61408ef2accdf719 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_3_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-805314342 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_3_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_3_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_3_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_4_4_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_4_4_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..b212cee0f8693d1509134d1655c29ad962aaa646 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_4_4_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-876344997 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_4_4_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_4_4_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_4_4_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_4_4_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_4_4_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..f3a1477ba29a829582273e66cb86ce32ddc21a6f --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_4_4_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-751536817 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_4_4_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_4_4_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_4_4_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_4_4_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_4_4_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..dd41e81bdc747d1615c9a875794a58dc2130b1b9 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_cls_4_4_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-813961636 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_cls_4_4_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_cls_4_4_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_cls_4_4_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_10_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_10_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..38060e9f61d263c23bff63ce3ab93bb3ee54a410 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_10_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-274743663 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_10_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_10_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_10_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_10_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_10_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..59f46279c1d4153eb2f59e38feefa29d279d58a0 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_10_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-149809488 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_10_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_10_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_10_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_10_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_10_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..b274c7635435a551db65461cb28f656621252770 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_10_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-212702613 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_10_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_10_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_10_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_1_200_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_1_200_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..f801eef58911cadf005b862e4bdf404f7bcb9baa --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_1_200_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-283330092 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_1_200_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_1_200_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_1_200_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_1_200_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_1_200_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..c164977c88304ee1258da088e2a970adbe2e81fa --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_1_200_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-158473041 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_1_200_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_1_200_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_1_200_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_1_200_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_1_200_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..2911e50e809fd8022839458c3e69dcfd3f47b833 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_1_200_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-221250531 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_1_200_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_1_200_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_1_200_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_200_1_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_200_1_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..fbda1f5fdb429300d6729d5bdda4a40c7634c9af --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_200_1_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-291833637 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_200_1_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_200_1_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_200_1_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_200_1_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_200_1_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..cbe6e32e3dc00d7aae223615a2019070eeaf97fa --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_200_1_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-167155591 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_200_1_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_200_1_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_200_1_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_200_1_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_200_1_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..60ce07fcde87cda9920630c15e065d8c3f29c8fa --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_200_1_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-229863610 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_200_1_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_200_1_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_200_1_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_2_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_2_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..b99b25da040d9d740aa33ea94aadc76913c68779 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_2_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-240328554 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_2_2_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_2_2_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_2_2_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_2_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_2_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..969b705365ca4698d9a5d13800efa7081ba48b4d --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_2_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-114701232 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_2_2_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_2_2_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_2_2_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_2_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_2_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..5ae3303ea204416b04e2237aa4c5f56cf43e38d8 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_2_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-178039400 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_2_2_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_2_2_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_2_2_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_9_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_9_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..760e14cd3ff4607766196cb27224a3a98a6ed313 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_9_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-266137055 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_2_9_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_2_9_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_2_9_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_9_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_9_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..67bd902de3e59d7caa18e4e66079d64483815c83 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_9_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-140186588 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_2_9_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_2_9_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_2_9_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_9_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_9_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..77cd9acf93253cb59c59b311736bab8d7c5e21a0 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_2_9_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-204073884 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_2_9_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_2_9_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_2_9_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_3_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_3_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..fb2e4cc55607b8854e6072466e20f002e32790e4 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_3_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-248916427 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_3_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_3_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_3_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_3_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_3_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..5ce562b0b8d6c41baf3f3de2e42e8f5714e340b0 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_3_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-123225505 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_3_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_3_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_3_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_3_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_3_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..ca02880f73ff3da57dbdf61019275f2615a168fd --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_3_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-186588820 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_3_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_3_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_3_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_4_4_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_4_4_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..c0011f9ea119edfef3e101fbd8242480dfb8473b --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_4_4_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-257477139 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_4_4_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_4_4_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_4_4_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_4_4_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_4_4_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..bf16f4a943d9b74621800a8ec5bc54a76870158c --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_4_4_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-131653800 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_4_4_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_4_4_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_4_4_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_4_4_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_4_4_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..420e56546fc45b94d02eec81cf62a84ce39bcf49 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_net_prio_4_4_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-195248897 +# @用例名称: ltp.controllers.cgroup_fj_stress_net_prio_4_4_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_net_prio_4_4_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_net_prio_4_4_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_10_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_10_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..21e091ad37cb8c17961f92042b34e7055d03d6c7 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_10_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-086063136 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_10_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_10_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_10_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_10_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_10_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..8618c1b8b8420e2e0e809b9e865089007620b3de --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_10_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-961179987 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_10_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_10_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_10_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_10_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_10_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..dee8df6baa283a0da6075b7f4bccee8eec857a70 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_10_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-023999023 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_10_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_10_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_10_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_1_200_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_1_200_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..d415f86e3460a7b70b1b7813e1241783fe368ac0 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_1_200_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-094626783 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_1_200_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_1_200_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_1_200_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_1_200_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_1_200_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..843f6f4c419540918b70291e72ac86ad3ae6b6d6 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_1_200_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-969769050 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_1_200_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_1_200_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_1_200_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_1_200_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_1_200_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..85c3da3cd8bed49310c1faa3ec1df650e9298f0d --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_1_200_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-032609757 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_1_200_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_1_200_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_1_200_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_200_1_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_200_1_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..b46c53044a5f5004cbdcfa2c1331bbb2007d8c2f --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_200_1_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-103232919 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_200_1_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_200_1_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_200_1_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_200_1_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_200_1_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..00a7d6aeae61a91a0cb44e9c9d8b61aa409d5a0f --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_200_1_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-978554553 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_200_1_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_200_1_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_200_1_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_200_1_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_200_1_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..f1dd02dddb03c0cae64772df423658aa797a1398 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_200_1_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-041108272 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_200_1_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_200_1_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_200_1_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_2_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_2_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..1e0827daab883105dae9597c93a18563b25ec511 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_2_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-051524407 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_2_2_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_2_2_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_2_2_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_2_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_2_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d363f91608f5de6284134a9f2078074ecba0c8f --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_2_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-926806456 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_2_2_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_2_2_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_2_2_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_2_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_2_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..54dce41768b17e3a20ca3a836edc226faf7792e9 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_2_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-989229301 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_2_2_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_2_2_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_2_2_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_9_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_9_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..0d58e3ab1b640986d717fdba7d9601f041335ced --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_9_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-077490232 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_2_9_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_2_9_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_2_9_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_9_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_9_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c912e135b85f87a760959e7e13da93c7aac34d0 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_9_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-952508587 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_2_9_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_2_9_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_2_9_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_9_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_9_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..0071061c0b73129e6c2f76a55daf611930024ebb --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_2_9_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-015310452 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_2_9_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_2_9_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_2_9_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_3_3_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_3_3_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..6d22c4f927c037c56f7106a667946077a37184bd --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_3_3_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-060243534 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_3_3_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_3_3_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_3_3_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_3_3_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_3_3_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..d9608655390a4a43014555eb232ae5a925bdeba1 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_3_3_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-935420978 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_3_3_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_3_3_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_3_3_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_3_3_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_3_3_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..d69b7cc0aa60309c5e1252f368099f4b8a6abaa2 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_3_3_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-997805963 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_3_3_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_3_3_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_3_3_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_4_4_each.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_4_4_each.sh new file mode 100755 index 0000000000000000000000000000000000000000..3ebf55cbd44137f1bb57afb963b2297b3b81fab2 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_4_4_each.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-068892100 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_4_4_each +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_4_4_each + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_4_4_each + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_4_4_none.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_4_4_none.sh new file mode 100755 index 0000000000000000000000000000000000000000..d9b6e8d9d8efac47952681337f7ce7b6c24713f2 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_4_4_none.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212950-944040660 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_4_4_none +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_4_4_none + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_4_4_none + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_4_4_one.sh b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_4_4_one.sh new file mode 100755 index 0000000000000000000000000000000000000000..e985e79a4051ebf2e09973d99d8c67d033bc6e69 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_fj_stress_perf_event_4_4_one.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-006545268 +# @用例名称: ltp.controllers.cgroup_fj_stress_perf_event_4_4_one +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_fj_stress_perf_event_4_4_one + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_fj_stress_perf_event_4_4_one + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cgroup_xattr.sh b/testcase/controllers/ltp.controllers.cgroup_xattr.sh new file mode 100755 index 0000000000000000000000000000000000000000..34a22196d4f0f416d00b28bd1d116eae8f2a37a1 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cgroup_xattr.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-691982709 +# @用例名称: ltp.controllers.cgroup_xattr +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cgroup_xattr + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cgroup_xattr + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.controllers.sh b/testcase/controllers/ltp.controllers.controllers.sh new file mode 100755 index 0000000000000000000000000000000000000000..362ce84ac47ab27567182bc163eb020503ebf2c5 --- /dev/null +++ b/testcase/controllers/ltp.controllers.controllers.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-496969079 +# @用例名称: ltp.controllers.controllers +# @用例级别: 4 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.controllers + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers controllers + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuacct_100_1.sh b/testcase/controllers/ltp.controllers.cpuacct_100_1.sh new file mode 100755 index 0000000000000000000000000000000000000000..7d57c2239b69a6e9a638637fffecad1fe5377760 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuacct_100_1.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-543965985 +# @用例名称: ltp.controllers.cpuacct_100_1 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuacct_100_1 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuacct_100_1 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuacct_100_100.sh b/testcase/controllers/ltp.controllers.cpuacct_100_100.sh new file mode 100755 index 0000000000000000000000000000000000000000..8d4bdc299c42de9d2b70b931d3a08891de08b850 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuacct_100_100.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-552516958 +# @用例名称: ltp.controllers.cpuacct_100_100 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuacct_100_100 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuacct_100_100 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuacct_10_10.sh b/testcase/controllers/ltp.controllers.cpuacct_10_10.sh new file mode 100755 index 0000000000000000000000000000000000000000..0ce143335324cbc2dc1b1ebe45832a4f4f39b1d8 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuacct_10_10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-526994923 +# @用例名称: ltp.controllers.cpuacct_10_10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuacct_10_10 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuacct_10_10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuacct_1_1.sh b/testcase/controllers/ltp.controllers.cpuacct_1_1.sh new file mode 100755 index 0000000000000000000000000000000000000000..5805747a512d98530dfecf972a7bfc9aee252972 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuacct_1_1.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-507605425 +# @用例名称: ltp.controllers.cpuacct_1_1 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuacct_1_1 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuacct_1_1 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuacct_1_10.sh b/testcase/controllers/ltp.controllers.cpuacct_1_10.sh new file mode 100755 index 0000000000000000000000000000000000000000..1fed134d022fe7a140b97d558f15d27d3912e69b --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuacct_1_10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-518371794 +# @用例名称: ltp.controllers.cpuacct_1_10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuacct_1_10 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuacct_1_10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuacct_1_100.sh b/testcase/controllers/ltp.controllers.cpuacct_1_100.sh new file mode 100755 index 0000000000000000000000000000000000000000..ac5376742765ce56e699d4da0257cf664ae819f5 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuacct_1_100.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-535525729 +# @用例名称: ltp.controllers.cpuacct_1_100 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuacct_1_100 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuacct_1_100 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuset_base_ops.sh b/testcase/controllers/ltp.controllers.cpuset_base_ops.sh new file mode 100755 index 0000000000000000000000000000000000000000..c66501d4165b0648a6a37ef4aae1b13f80ea9af3 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuset_base_ops.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-562998865 +# @用例名称: ltp.controllers.cpuset_base_ops +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuset_base_ops + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuset_base_ops + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuset_exclusive.sh b/testcase/controllers/ltp.controllers.cpuset_exclusive.sh new file mode 100755 index 0000000000000000000000000000000000000000..08b2418dbb9a02d788cc33126e83e6f37ff55fe6 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuset_exclusive.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-580540925 +# @用例名称: ltp.controllers.cpuset_exclusive +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuset_exclusive + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuset_exclusive + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuset_hierarchy.sh b/testcase/controllers/ltp.controllers.cpuset_hierarchy.sh new file mode 100755 index 0000000000000000000000000000000000000000..97a298569cbf21f1aca85c7eef0177af16f26062 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuset_hierarchy.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-589093851 +# @用例名称: ltp.controllers.cpuset_hierarchy +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuset_hierarchy + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuset_hierarchy + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuset_hotplug.sh b/testcase/controllers/ltp.controllers.cpuset_hotplug.sh new file mode 100755 index 0000000000000000000000000000000000000000..b3d4baa259c0299797435ef64f8f5dc17cf215c3 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuset_hotplug.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-623924838 +# @用例名称: ltp.controllers.cpuset_hotplug +# @用例级别: 1 +# @用例标签: TK5不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuset_hotplug + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuset_hotplug + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuset_inherit.sh b/testcase/controllers/ltp.controllers.cpuset_inherit.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c6dd7716944d6cd4874958fb09ecdc10f037b91 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuset_inherit.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-571633614 +# @用例名称: ltp.controllers.cpuset_inherit +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuset_inherit + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuset_inherit + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuset_load_balance.sh b/testcase/controllers/ltp.controllers.cpuset_load_balance.sh new file mode 100755 index 0000000000000000000000000000000000000000..11c811d9a10647afcc5eb17dda15d405dc833d05 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuset_load_balance.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-615399152 +# @用例名称: ltp.controllers.cpuset_load_balance +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuset_load_balance + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuset_load_balance + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuset_memory.sh b/testcase/controllers/ltp.controllers.cpuset_memory.sh new file mode 100755 index 0000000000000000000000000000000000000000..356b80a38038bc9852a52be9224c0585491a83e5 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuset_memory.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-632599212 +# @用例名称: ltp.controllers.cpuset_memory +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuset_memory + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuset_memory + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuset_memory_pressure.sh b/testcase/controllers/ltp.controllers.cpuset_memory_pressure.sh new file mode 100755 index 0000000000000000000000000000000000000000..49290be5a3e5bcec085783c72b05cd6c6e93bed9 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuset_memory_pressure.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-645720638 +# @用例名称: ltp.controllers.cpuset_memory_pressure +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuset_memory_pressure + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuset_memory_pressure + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuset_memory_spread.sh b/testcase/controllers/ltp.controllers.cpuset_memory_spread.sh new file mode 100755 index 0000000000000000000000000000000000000000..887fe69d53d6902597a0b46e4777cd62c06fa8f6 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuset_memory_spread.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-657667467 +# @用例名称: ltp.controllers.cpuset_memory_spread +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuset_memory_spread + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuset_memory_spread + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuset_regression_test.sh b/testcase/controllers/ltp.controllers.cpuset_regression_test.sh new file mode 100755 index 0000000000000000000000000000000000000000..63eeaa3654f28ae3f47152348165e4bb04c925bc --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuset_regression_test.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-678854740 +# @用例名称: ltp.controllers.cpuset_regression_test +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuset_regression_test + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuset_regression_test + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuset_sched_domains.sh b/testcase/controllers/ltp.controllers.cpuset_sched_domains.sh new file mode 100755 index 0000000000000000000000000000000000000000..1b35736e08add5b60c158de8b0cde51f63e09ee8 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuset_sched_domains.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-606501721 +# @用例名称: ltp.controllers.cpuset_sched_domains +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuset_sched_domains + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuset_sched_domains + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.cpuset_syscall.sh b/testcase/controllers/ltp.controllers.cpuset_syscall.sh new file mode 100755 index 0000000000000000000000000000000000000000..8f3a6e3fdd1980035640617a6dce4d86b9803d78 --- /dev/null +++ b/testcase/controllers/ltp.controllers.cpuset_syscall.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-597882479 +# @用例名称: ltp.controllers.cpuset_syscall +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.cpuset_syscall + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers cpuset_syscall + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.io_control01.sh b/testcase/controllers/ltp.controllers.io_control01.sh new file mode 100755 index 0000000000000000000000000000000000000000..991e82d8f1cfe0fcf70e0a850b4e521784249ab3 --- /dev/null +++ b/testcase/controllers/ltp.controllers.io_control01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141847-641714595 +# @用例名称: ltp.controllers.io_control01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.io_control01 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers io_control01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcg_control.sh b/testcase/controllers/ltp.controllers.memcg_control.sh new file mode 100755 index 0000000000000000000000000000000000000000..6e9c1702b543fccf3c0072c2a56c2771d2c86872 --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcg_control.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-035974481 +# @用例名称: ltp.controllers.memcg_control +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcg_control + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcg_control + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcg_failcnt.sh b/testcase/controllers/ltp.controllers.memcg_failcnt.sh new file mode 100755 index 0000000000000000000000000000000000000000..3f50e65d8156d3c906fe43f8b46e014150c40607 --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcg_failcnt.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-931120978 +# @用例名称: ltp.controllers.memcg_failcnt +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcg_failcnt + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcg_failcnt + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcg_force_empty.sh b/testcase/controllers/ltp.controllers.memcg_force_empty.sh new file mode 100755 index 0000000000000000000000000000000000000000..81e48f64437156212baae8026d1b3c5c65b0284a --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcg_force_empty.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-939615575 +# @用例名称: ltp.controllers.memcg_force_empty +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcg_force_empty + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcg_force_empty + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcg_limit_in_bytes.sh b/testcase/controllers/ltp.controllers.memcg_limit_in_bytes.sh new file mode 100755 index 0000000000000000000000000000000000000000..a5ee4f240856aca2663f14504e8aa28b11b8844d --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcg_limit_in_bytes.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-948352056 +# @用例名称: ltp.controllers.memcg_limit_in_bytes +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcg_limit_in_bytes + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcg_limit_in_bytes + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcg_max_usage_in_bytes.sh b/testcase/controllers/ltp.controllers.memcg_max_usage_in_bytes.sh new file mode 100755 index 0000000000000000000000000000000000000000..62ad527bf40f1e8106efcfaab64a7e5ddb4e27bd --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcg_max_usage_in_bytes.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-974183048 +# @用例名称: ltp.controllers.memcg_max_usage_in_bytes +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcg_max_usage_in_bytes + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcg_max_usage_in_bytes + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcg_memsw_limit_in_bytes.sh b/testcase/controllers/ltp.controllers.memcg_memsw_limit_in_bytes.sh new file mode 100755 index 0000000000000000000000000000000000000000..6f3ff709f45433861d518fa9b6c64107522bd577 --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcg_memsw_limit_in_bytes.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-991244038 +# @用例名称: ltp.controllers.memcg_memsw_limit_in_bytes +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcg_memsw_limit_in_bytes + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcg_memsw_limit_in_bytes + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcg_move_charge_at_immigrate.sh b/testcase/controllers/ltp.controllers.memcg_move_charge_at_immigrate.sh new file mode 100755 index 0000000000000000000000000000000000000000..1e75f388674395d794052c98545577f143a14bb5 --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcg_move_charge_at_immigrate.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-982709455 +# @用例名称: ltp.controllers.memcg_move_charge_at_immigrate +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcg_move_charge_at_immigrate + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcg_move_charge_at_immigrate + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcg_regression.sh b/testcase/controllers/ltp.controllers.memcg_regression.sh new file mode 100755 index 0000000000000000000000000000000000000000..19b568dd263e5d95df576e4328644bd6d9a2c000 --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcg_regression.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-914017187 +# @用例名称: ltp.controllers.memcg_regression +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcg_regression + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcg_regression + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcg_stat.sh b/testcase/controllers/ltp.controllers.memcg_stat.sh new file mode 100755 index 0000000000000000000000000000000000000000..e91638a09b2f2bb8d1fac268a880aed55558e0e9 --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcg_stat.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-999740519 +# @用例名称: ltp.controllers.memcg_stat +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcg_stat + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcg_stat + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcg_stat_rss.sh b/testcase/controllers/ltp.controllers.memcg_stat_rss.sh new file mode 100755 index 0000000000000000000000000000000000000000..5dc7d9d260846afff29d63283581cccc013c16d5 --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcg_stat_rss.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-956914119 +# @用例名称: ltp.controllers.memcg_stat_rss +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcg_stat_rss + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcg_stat_rss + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcg_stress.sh b/testcase/controllers/ltp.controllers.memcg_stress.sh new file mode 100755 index 0000000000000000000000000000000000000000..d16a9db4c8bcf0ea1a459b31ae16bc8b4320daa3 --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcg_stress.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-027302552 +# @用例名称: ltp.controllers.memcg_stress +# @用例级别: 5 +# @用例标签: 待分析 +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcg_stress + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcg_stress + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcg_subgroup_charge.sh b/testcase/controllers/ltp.controllers.memcg_subgroup_charge.sh new file mode 100755 index 0000000000000000000000000000000000000000..030cf4d6817c7d4169ff6af2b2cc8a597a2e127a --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcg_subgroup_charge.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-965586951 +# @用例名称: ltp.controllers.memcg_subgroup_charge +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcg_subgroup_charge + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcg_subgroup_charge + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcg_test_3.sh b/testcase/controllers/ltp.controllers.memcg_test_3.sh new file mode 100755 index 0000000000000000000000000000000000000000..ff3d6b2424326cf9549c3f9622e34c8cc9700f32 --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcg_test_3.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212948-922646907 +# @用例名称: ltp.controllers.memcg_test_3 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcg_test_3 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcg_test_3 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcg_usage_in_bytes.sh b/testcase/controllers/ltp.controllers.memcg_usage_in_bytes.sh new file mode 100755 index 0000000000000000000000000000000000000000..2f9cb61105782d3b275a897b192127e6b663e86f --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcg_usage_in_bytes.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-018490129 +# @用例名称: ltp.controllers.memcg_usage_in_bytes +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcg_usage_in_bytes + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcg_usage_in_bytes + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcg_use_hierarchy.sh b/testcase/controllers/ltp.controllers.memcg_use_hierarchy.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d783f4e40b6a14e94f04f0b639c871e4f98e773 --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcg_use_hierarchy.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-009106859 +# @用例名称: ltp.controllers.memcg_use_hierarchy +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcg_use_hierarchy + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcg_use_hierarchy + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcontrol01.sh b/testcase/controllers/ltp.controllers.memcontrol01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5d35e0cf06c9e9c67857a7138812eadedeaee97 --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcontrol01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-047501203 +# @用例名称: ltp.controllers.memcontrol01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcontrol01 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcontrol01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcontrol02.sh b/testcase/controllers/ltp.controllers.memcontrol02.sh new file mode 100755 index 0000000000000000000000000000000000000000..655b0e067c6b46b924326f5916269d4fec2bf823 --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcontrol02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212949-056148297 +# @用例名称: ltp.controllers.memcontrol02 +# @用例级别: 2 +# @用例标签: TS2不支持 TK5不支持 eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcontrol02 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcontrol02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcontrol03.sh b/testcase/controllers/ltp.controllers.memcontrol03.sh new file mode 100755 index 0000000000000000000000000000000000000000..7cbe96f0778d1e719bb6f8d706b94295fca2b941 --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcontrol03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141847-516331465 +# @用例名称: ltp.controllers.memcontrol03 +# @用例级别: 3 +# @用例标签: TK5不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcontrol03 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcontrol03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.memcontrol04.sh b/testcase/controllers/ltp.controllers.memcontrol04.sh new file mode 100755 index 0000000000000000000000000000000000000000..25e13b44c1a65f1e51936f592bf21221dba908ca --- /dev/null +++ b/testcase/controllers/ltp.controllers.memcontrol04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141847-578660185 +# @用例名称: ltp.controllers.memcontrol04 +# @用例级别: 3 +# @用例标签: TK5不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.memcontrol04 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers memcontrol04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_1_1.sh b/testcase/controllers/ltp.controllers.pids_1_1.sh new file mode 100755 index 0000000000000000000000000000000000000000..5d84773753e4622d8666df6f57061560c45a3667 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_1_1.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-704678649 +# @用例名称: ltp.controllers.pids_1_1 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_1_1 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_1_1 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_1_10.sh b/testcase/controllers/ltp.controllers.pids_1_10.sh new file mode 100755 index 0000000000000000000000000000000000000000..ec798432f71619c87206f5a1597cb600e3bb9d1e --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_1_10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-725056977 +# @用例名称: ltp.controllers.pids_1_10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_1_10 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_1_10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_1_100.sh b/testcase/controllers/ltp.controllers.pids_1_100.sh new file mode 100755 index 0000000000000000000000000000000000000000..201beac7c2490aa1573af4bcdd7586068164f10c --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_1_100.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-742224707 +# @用例名称: ltp.controllers.pids_1_100 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_1_100 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_1_100 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_1_2.sh b/testcase/controllers/ltp.controllers.pids_1_2.sh new file mode 100755 index 0000000000000000000000000000000000000000..17f195deb6a7e320b5bfc64cedac1f90bd711c8e --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_1_2.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-716462723 +# @用例名称: ltp.controllers.pids_1_2 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_1_2 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_1_2 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_1_50.sh b/testcase/controllers/ltp.controllers.pids_1_50.sh new file mode 100755 index 0000000000000000000000000000000000000000..56c87024f8c1869c232008c16e3d1d8978ac580f --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_1_50.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-733648136 +# @用例名称: ltp.controllers.pids_1_50 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_1_50 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_1_50 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_2_1.sh b/testcase/controllers/ltp.controllers.pids_2_1.sh new file mode 100755 index 0000000000000000000000000000000000000000..0c393269d9476c1c62f0af064f057ca43fec2265 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_2_1.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-750885556 +# @用例名称: ltp.controllers.pids_2_1 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_2_1 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_2_1 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_2_10.sh b/testcase/controllers/ltp.controllers.pids_2_10.sh new file mode 100755 index 0000000000000000000000000000000000000000..c89e651dd08b4e8714eca10f8ef6ce8f7976589f --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_2_10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-768253179 +# @用例名称: ltp.controllers.pids_2_10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_2_10 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_2_10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_2_100.sh b/testcase/controllers/ltp.controllers.pids_2_100.sh new file mode 100755 index 0000000000000000000000000000000000000000..cb34b8ca5593b05dc7f0b7a2ab62121b7d5ce354 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_2_100.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-786159652 +# @用例名称: ltp.controllers.pids_2_100 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_2_100 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_2_100 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_2_2.sh b/testcase/controllers/ltp.controllers.pids_2_2.sh new file mode 100755 index 0000000000000000000000000000000000000000..1a01d446bc38cf4295ce22c9e7009fea02360f4f --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_2_2.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-759518803 +# @用例名称: ltp.controllers.pids_2_2 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_2_2 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_2_2 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_2_50.sh b/testcase/controllers/ltp.controllers.pids_2_50.sh new file mode 100755 index 0000000000000000000000000000000000000000..abf0d956db730377b8259e7d31e9b1ea43905ed1 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_2_50.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-776933144 +# @用例名称: ltp.controllers.pids_2_50 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_2_50 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_2_50 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_3_0.sh b/testcase/controllers/ltp.controllers.pids_3_0.sh new file mode 100755 index 0000000000000000000000000000000000000000..63d17295c60a4953b2bcd46e423c301000b1f284 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_3_0.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-794659810 +# @用例名称: ltp.controllers.pids_3_0 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_3_0 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_3_0 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_3_1.sh b/testcase/controllers/ltp.controllers.pids_3_1.sh new file mode 100755 index 0000000000000000000000000000000000000000..532196a02bf1568fd805d50569f3315bb6f1a4f4 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_3_1.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-803089886 +# @用例名称: ltp.controllers.pids_3_1 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_3_1 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_3_1 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_3_10.sh b/testcase/controllers/ltp.controllers.pids_3_10.sh new file mode 100755 index 0000000000000000000000000000000000000000..fb74fdea33253c64936c963ad04edb9a09e303d6 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_3_10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-811443050 +# @用例名称: ltp.controllers.pids_3_10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_3_10 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_3_10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_3_100.sh b/testcase/controllers/ltp.controllers.pids_3_100.sh new file mode 100755 index 0000000000000000000000000000000000000000..9fa655ec64cfd2ad6510ccedc9559daa65337c0a --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_3_100.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-828448175 +# @用例名称: ltp.controllers.pids_3_100 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_3_100 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_3_100 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_3_50.sh b/testcase/controllers/ltp.controllers.pids_3_50.sh new file mode 100755 index 0000000000000000000000000000000000000000..93a89eb27bfb5d5b46a1be71dda4915a868fdb1a --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_3_50.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-819970678 +# @用例名称: ltp.controllers.pids_3_50 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_3_50 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_3_50 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_4_1.sh b/testcase/controllers/ltp.controllers.pids_4_1.sh new file mode 100755 index 0000000000000000000000000000000000000000..a4a8c808a6bff21a4b6290c628e6d4e8fb29d841 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_4_1.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-837033712 +# @用例名称: ltp.controllers.pids_4_1 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_4_1 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_4_1 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_4_10.sh b/testcase/controllers/ltp.controllers.pids_4_10.sh new file mode 100755 index 0000000000000000000000000000000000000000..313945183cf2e2491aa85412cb08d08f5c18a305 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_4_10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-854463071 +# @用例名称: ltp.controllers.pids_4_10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_4_10 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_4_10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_4_100.sh b/testcase/controllers/ltp.controllers.pids_4_100.sh new file mode 100755 index 0000000000000000000000000000000000000000..6409561aa22e0d8d7c2d31b4ce3a6499d5b6c838 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_4_100.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-871594363 +# @用例名称: ltp.controllers.pids_4_100 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_4_100 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_4_100 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_4_2.sh b/testcase/controllers/ltp.controllers.pids_4_2.sh new file mode 100755 index 0000000000000000000000000000000000000000..3208216c9e1f66eec57f3d6a1e011350928e6692 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_4_2.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-845621415 +# @用例名称: ltp.controllers.pids_4_2 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_4_2 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_4_2 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_4_50.sh b/testcase/controllers/ltp.controllers.pids_4_50.sh new file mode 100755 index 0000000000000000000000000000000000000000..893f8da6aa2477904eecd3181f0207823909fab6 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_4_50.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-863034132 +# @用例名称: ltp.controllers.pids_4_50 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_4_50 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_4_50 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_5_1.sh b/testcase/controllers/ltp.controllers.pids_5_1.sh new file mode 100755 index 0000000000000000000000000000000000000000..67cacfa22a965aa0d84126b24ae16f2d3e9f882c --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_5_1.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-880337296 +# @用例名称: ltp.controllers.pids_5_1 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_5_1 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_5_1 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_6_1.sh b/testcase/controllers/ltp.controllers.pids_6_1.sh new file mode 100755 index 0000000000000000000000000000000000000000..11797ac06a5f4ebdf48b97f9a725cbd996489308 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_6_1.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-888895753 +# @用例名称: ltp.controllers.pids_6_1 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_6_1 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_6_1 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_6_10.sh b/testcase/controllers/ltp.controllers.pids_6_10.sh new file mode 100755 index 0000000000000000000000000000000000000000..1140e5621ce3a4ba54bac2dfe75b8e8eb39ae4a3 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_6_10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-905947885 +# @用例名称: ltp.controllers.pids_6_10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_6_10 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_6_10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_6_100.sh b/testcase/controllers/ltp.controllers.pids_6_100.sh new file mode 100755 index 0000000000000000000000000000000000000000..b3eab193afde921887595e75c3400d3be07b24c0 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_6_100.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-923306673 +# @用例名称: ltp.controllers.pids_6_100 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_6_100 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_6_100 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_6_2.sh b/testcase/controllers/ltp.controllers.pids_6_2.sh new file mode 100755 index 0000000000000000000000000000000000000000..66599d35b0da88eae7c949a628bf2615322cda4c --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_6_2.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-897371585 +# @用例名称: ltp.controllers.pids_6_2 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_6_2 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_6_2 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_6_50.sh b/testcase/controllers/ltp.controllers.pids_6_50.sh new file mode 100755 index 0000000000000000000000000000000000000000..b1c5de04c43e8a1e2e22a1d12f2713607ab6750f --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_6_50.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-914736473 +# @用例名称: ltp.controllers.pids_6_50 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_6_50 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_6_50 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_7_10.sh b/testcase/controllers/ltp.controllers.pids_7_10.sh new file mode 100755 index 0000000000000000000000000000000000000000..b275106f6d6f22de192322bd0342358456e8df4b --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_7_10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-932008077 +# @用例名称: ltp.controllers.pids_7_10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_7_10 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_7_10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_7_100.sh b/testcase/controllers/ltp.controllers.pids_7_100.sh new file mode 100755 index 0000000000000000000000000000000000000000..6683e926b33eee75f02e7be516caf644b1fa8bcc --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_7_100.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-951616525 +# @用例名称: ltp.controllers.pids_7_100 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_7_100 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_7_100 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_7_1000.sh b/testcase/controllers/ltp.controllers.pids_7_1000.sh new file mode 100755 index 0000000000000000000000000000000000000000..d15489a5da5fd915031f9d58d8ac49c777f790b3 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_7_1000.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-968762914 +# @用例名称: ltp.controllers.pids_7_1000 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_7_1000 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_7_1000 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_7_50.sh b/testcase/controllers/ltp.controllers.pids_7_50.sh new file mode 100755 index 0000000000000000000000000000000000000000..f7dbeb7bceb0613478d1a38385a2e7d925b24611 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_7_50.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-940578477 +# @用例名称: ltp.controllers.pids_7_50 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_7_50 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_7_50 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_7_500.sh b/testcase/controllers/ltp.controllers.pids_7_500.sh new file mode 100755 index 0000000000000000000000000000000000000000..ab28bdb3088967415ae7d17daba72334c1dbb6a0 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_7_500.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-960247548 +# @用例名称: ltp.controllers.pids_7_500 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_7_500 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_7_500 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_8_10.sh b/testcase/controllers/ltp.controllers.pids_8_10.sh new file mode 100755 index 0000000000000000000000000000000000000000..b1007d25b82031962840f5745ecc3d370557c9f2 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_8_10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-986182005 +# @用例名称: ltp.controllers.pids_8_10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_8_10 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_8_10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_8_100.sh b/testcase/controllers/ltp.controllers.pids_8_100.sh new file mode 100755 index 0000000000000000000000000000000000000000..dcb343064fb7312f65088284b9033ea8420362c9 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_8_100.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-003316963 +# @用例名称: ltp.controllers.pids_8_100 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_8_100 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_8_100 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_8_2.sh b/testcase/controllers/ltp.controllers.pids_8_2.sh new file mode 100755 index 0000000000000000000000000000000000000000..4efa68a4512393f46c96978838c0e01470491ea4 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_8_2.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-977241051 +# @用例名称: ltp.controllers.pids_8_2 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_8_2 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_8_2 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_8_50.sh b/testcase/controllers/ltp.controllers.pids_8_50.sh new file mode 100755 index 0000000000000000000000000000000000000000..5e5aac4ae7c37c128065942a0e77a6a2fb59f77b --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_8_50.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212951-994686401 +# @用例名称: ltp.controllers.pids_8_50 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_8_50 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_8_50 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_9_10.sh b/testcase/controllers/ltp.controllers.pids_9_10.sh new file mode 100755 index 0000000000000000000000000000000000000000..2e74509fb371adfb7071be518c51faced5a9e013 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_9_10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-020830690 +# @用例名称: ltp.controllers.pids_9_10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_9_10 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_9_10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_9_100.sh b/testcase/controllers/ltp.controllers.pids_9_100.sh new file mode 100755 index 0000000000000000000000000000000000000000..26052f93d3f5373449738b900c95d69dc274a0f7 --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_9_100.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-042416828 +# @用例名称: ltp.controllers.pids_9_100 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_9_100 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_9_100 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_9_2.sh b/testcase/controllers/ltp.controllers.pids_9_2.sh new file mode 100755 index 0000000000000000000000000000000000000000..b8aa0b9ef24572c7f1972e87798e0b0bac7f086b --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_9_2.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-012249681 +# @用例名称: ltp.controllers.pids_9_2 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_9_2 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_9_2 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/controllers/ltp.controllers.pids_9_50.sh b/testcase/controllers/ltp.controllers.pids_9_50.sh new file mode 100755 index 0000000000000000000000000000000000000000..3cfe3eb1c6a3204bfe2f317b42e8caab77fb008c --- /dev/null +++ b/testcase/controllers/ltp.controllers.pids_9_50.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-033876374 +# @用例名称: ltp.controllers.pids_9_50 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.controllers.pids_9_50 + # @预期结果:1: 用例返回0 + ltp_run_testcase controllers pids_9_50 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug02.sh b/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug02.sh new file mode 100755 index 0000000000000000000000000000000000000000..0567977709a9e52bc139fabbe703ec82ee0da1ac --- /dev/null +++ b/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-056413804 +# @用例名称: ltp.cpuhotplug.cpuhotplug02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cpuhotplug.cpuhotplug02 + # @预期结果:1: 用例返回0 + ltp_run_testcase cpuhotplug cpuhotplug02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug03.sh b/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug03.sh new file mode 100755 index 0000000000000000000000000000000000000000..3ad2fce3d200a736e1be558592b81c30925f8a7a --- /dev/null +++ b/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-066804060 +# @用例名称: ltp.cpuhotplug.cpuhotplug03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cpuhotplug.cpuhotplug03 + # @预期结果:1: 用例返回0 + ltp_run_testcase cpuhotplug cpuhotplug03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug04.sh b/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug04.sh new file mode 100755 index 0000000000000000000000000000000000000000..a8c4dea7aa598e3fce9fbf79a4df13752355a8b2 --- /dev/null +++ b/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-075782072 +# @用例名称: ltp.cpuhotplug.cpuhotplug04 +# @用例级别: 3 +# @用例标签: aarch64不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cpuhotplug.cpuhotplug04 + # @预期结果:1: 用例返回0 + ltp_run_testcase cpuhotplug cpuhotplug04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug05.sh b/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug05.sh new file mode 100755 index 0000000000000000000000000000000000000000..9d2c077fb56a7c3b6cdc978a17e22d01493c2a55 --- /dev/null +++ b/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-084380644 +# @用例名称: ltp.cpuhotplug.cpuhotplug05 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cpuhotplug.cpuhotplug05 + # @预期结果:1: 用例返回0 + ltp_run_testcase cpuhotplug cpuhotplug05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug06.sh b/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug06.sh new file mode 100755 index 0000000000000000000000000000000000000000..66034bd6d94645ef62afb1498c487ced713cd2ba --- /dev/null +++ b/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-092949681 +# @用例名称: ltp.cpuhotplug.cpuhotplug06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cpuhotplug.cpuhotplug06 + # @预期结果:1: 用例返回0 + ltp_run_testcase cpuhotplug cpuhotplug06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug07.sh b/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug07.sh new file mode 100755 index 0000000000000000000000000000000000000000..026deda0a2b775ef72f99731b332f196c7eac16d --- /dev/null +++ b/testcase/cpuhotplug/ltp.cpuhotplug.cpuhotplug07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-105911209 +# @用例名称: ltp.cpuhotplug.cpuhotplug07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cpuhotplug.cpuhotplug07 + # @预期结果:1: 用例返回0 + ltp_run_testcase cpuhotplug cpuhotplug07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/crashme/ltp.crashme.crash01.sh b/testcase/crashme/ltp.crashme.crash01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ee989a427002acb4a4682b463a5735c5b8e91834 --- /dev/null +++ b/testcase/crashme/ltp.crashme.crash01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-129824152 +# @用例名称: ltp.crashme.crash01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.crashme.crash01 + # @预期结果:1: 用例返回0 + ltp_run_testcase crashme crash01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/crashme/ltp.crashme.crash02.sh b/testcase/crashme/ltp.crashme.crash02.sh new file mode 100755 index 0000000000000000000000000000000000000000..646ce92054392a913d79cf8af533fb060846492a --- /dev/null +++ b/testcase/crashme/ltp.crashme.crash02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-140406016 +# @用例名称: ltp.crashme.crash02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.crashme.crash02 + # @预期结果:1: 用例返回0 + ltp_run_testcase crashme crash02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/crashme/ltp.crashme.f00f.sh b/testcase/crashme/ltp.crashme.f00f.sh new file mode 100755 index 0000000000000000000000000000000000000000..9fc34562b093b4e54f5fa39698bae3a84eb02c14 --- /dev/null +++ b/testcase/crashme/ltp.crashme.f00f.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-118167837 +# @用例名称: ltp.crashme.f00f +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.crashme.f00f + # @预期结果:1: 用例返回0 + ltp_run_testcase crashme f00f + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/crypto/ltp.crypto.af_alg01.sh b/testcase/crypto/ltp.crypto.af_alg01.sh new file mode 100755 index 0000000000000000000000000000000000000000..924622594d02647142b7d15c9dd94e212f0ed89e --- /dev/null +++ b/testcase/crypto/ltp.crypto.af_alg01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-163917007 +# @用例名称: ltp.crypto.af_alg01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.crypto.af_alg01 + # @预期结果:1: 用例返回0 + ltp_run_testcase crypto af_alg01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/crypto/ltp.crypto.af_alg02.sh b/testcase/crypto/ltp.crypto.af_alg02.sh new file mode 100755 index 0000000000000000000000000000000000000000..5d22d5c0d538d5ad29890f598df2c828b1f1e204 --- /dev/null +++ b/testcase/crypto/ltp.crypto.af_alg02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-172443584 +# @用例名称: ltp.crypto.af_alg02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.crypto.af_alg02 + # @预期结果:1: 用例返回0 + ltp_run_testcase crypto af_alg02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/crypto/ltp.crypto.af_alg03.sh b/testcase/crypto/ltp.crypto.af_alg03.sh new file mode 100755 index 0000000000000000000000000000000000000000..ed26efa49747a61ccf001da07c3303bf3f1138af --- /dev/null +++ b/testcase/crypto/ltp.crypto.af_alg03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-180913125 +# @用例名称: ltp.crypto.af_alg03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.crypto.af_alg03 + # @预期结果:1: 用例返回0 + ltp_run_testcase crypto af_alg03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/crypto/ltp.crypto.af_alg04.sh b/testcase/crypto/ltp.crypto.af_alg04.sh new file mode 100755 index 0000000000000000000000000000000000000000..1a5d9885787047ac982cc803e3c9eed631c50361 --- /dev/null +++ b/testcase/crypto/ltp.crypto.af_alg04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-190402144 +# @用例名称: ltp.crypto.af_alg04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.crypto.af_alg04 + # @预期结果:1: 用例返回0 + ltp_run_testcase crypto af_alg04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/crypto/ltp.crypto.af_alg05.sh b/testcase/crypto/ltp.crypto.af_alg05.sh new file mode 100755 index 0000000000000000000000000000000000000000..49110b66b74dd7804f6850f3fb36c42ac6d0962c --- /dev/null +++ b/testcase/crypto/ltp.crypto.af_alg05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-198908844 +# @用例名称: ltp.crypto.af_alg05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.crypto.af_alg05 + # @预期结果:1: 用例返回0 + ltp_run_testcase crypto af_alg05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/crypto/ltp.crypto.af_alg06.sh b/testcase/crypto/ltp.crypto.af_alg06.sh new file mode 100755 index 0000000000000000000000000000000000000000..4abd63ba05469ad88110f1b94efa132ad312312e --- /dev/null +++ b/testcase/crypto/ltp.crypto.af_alg06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-207427968 +# @用例名称: ltp.crypto.af_alg06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.crypto.af_alg06 + # @预期结果:1: 用例返回0 + ltp_run_testcase crypto af_alg06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/crypto/ltp.crypto.af_alg07.sh b/testcase/crypto/ltp.crypto.af_alg07.sh new file mode 100755 index 0000000000000000000000000000000000000000..20c66de590acc571e0f7448ef20bad0d9627018e --- /dev/null +++ b/testcase/crypto/ltp.crypto.af_alg07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-216022783 +# @用例名称: ltp.crypto.af_alg07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.crypto.af_alg07 + # @预期结果:1: 用例返回0 + ltp_run_testcase crypto af_alg07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/crypto/ltp.crypto.crypto_user01.sh b/testcase/crypto/ltp.crypto.crypto_user01.sh new file mode 100755 index 0000000000000000000000000000000000000000..fda6f4563671c1d13f15ae68fc3b6cbdf521a486 --- /dev/null +++ b/testcase/crypto/ltp.crypto.crypto_user01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-233067603 +# @用例名称: ltp.crypto.crypto_user01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.crypto.crypto_user01 + # @预期结果:1: 用例返回0 + ltp_run_testcase crypto crypto_user01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/crypto/ltp.crypto.crypto_user02.sh b/testcase/crypto/ltp.crypto.crypto_user02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ee3e12ee0f05542e329cb07a0916ed00a5fd1b43 --- /dev/null +++ b/testcase/crypto/ltp.crypto.crypto_user02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-241532365 +# @用例名称: ltp.crypto.crypto_user02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.crypto.crypto_user02 + # @预期结果:1: 用例返回0 + ltp_run_testcase crypto crypto_user02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/crypto/ltp.crypto.pcrypt_aead01.sh b/testcase/crypto/ltp.crypto.pcrypt_aead01.sh new file mode 100755 index 0000000000000000000000000000000000000000..cde52d2fa31fad5ba32ab2fd1c8bea6fd84708c3 --- /dev/null +++ b/testcase/crypto/ltp.crypto.pcrypt_aead01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-224509456 +# @用例名称: ltp.crypto.pcrypt_aead01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.crypto.pcrypt_aead01 + # @预期结果:1: 用例返回0 + ltp_run_testcase crypto pcrypt_aead01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2011-0999.sh b/testcase/cve/ltp.cve.cve-2011-0999.sh new file mode 100755 index 0000000000000000000000000000000000000000..9571d787bb4248f879c6f70c5f3cb6f1bb0b3f8b --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2011-0999.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-252925076 +# @用例名称: ltp.cve.cve-2011-0999 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2011-0999 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2011-0999 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2011-2183.sh b/testcase/cve/ltp.cve.cve-2011-2183.sh new file mode 100755 index 0000000000000000000000000000000000000000..beb84a9dbe37480679a8e6f0b4947766cbf87db0 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2011-2183.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-261718974 +# @用例名称: ltp.cve.cve-2011-2183 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2011-2183 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2011-2183 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2011-2496.sh b/testcase/cve/ltp.cve.cve-2011-2496.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5bb8218137c701dab11f7a431ef6fbed3dbbef2 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2011-2496.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-270475141 +# @用例名称: ltp.cve.cve-2011-2496 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2011-2496 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2011-2496 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2012-0957.sh b/testcase/cve/ltp.cve.cve-2012-0957.sh new file mode 100755 index 0000000000000000000000000000000000000000..c8aa317cbaddcc4f119a8dfb48ab7ce7f06dad9a --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2012-0957.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-279046362 +# @用例名称: ltp.cve.cve-2012-0957 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2012-0957 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2012-0957 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2014-0196.sh b/testcase/cve/ltp.cve.cve-2014-0196.sh new file mode 100755 index 0000000000000000000000000000000000000000..f80b85877ee7ef940d8a920dd751f8e4c3fc7cc4 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2014-0196.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-287436254 +# @用例名称: ltp.cve.cve-2014-0196 +# @用例级别: 1 +# @用例标签: CVE +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2014-0196 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2014-0196 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2015-0235.sh b/testcase/cve/ltp.cve.cve-2015-0235.sh new file mode 100755 index 0000000000000000000000000000000000000000..d4d65cfb1b2d50dfb8ad8fdfbad1ecae776f88e4 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2015-0235.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-295784558 +# @用例名称: ltp.cve.cve-2015-0235 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2015-0235 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2015-0235 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2015-3290.sh b/testcase/cve/ltp.cve.cve-2015-3290.sh new file mode 100755 index 0000000000000000000000000000000000000000..3158532d546cdacc86da1b52631dede61a01807d --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2015-3290.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-320907806 +# @用例名称: ltp.cve.cve-2015-3290 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2015-3290 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2015-3290 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2015-7550.sh b/testcase/cve/ltp.cve.cve-2015-7550.sh new file mode 100755 index 0000000000000000000000000000000000000000..694ee1bdc18ca27edc7b85c1dcddc5464a351a0c --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2015-7550.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-304179288 +# @用例名称: ltp.cve.cve-2015-7550 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2015-7550 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2015-7550 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2016-10044.sh b/testcase/cve/ltp.cve.cve-2016-10044.sh new file mode 100755 index 0000000000000000000000000000000000000000..773959f49d20174c82247c3ef1ef1a36b33c81a4 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2016-10044.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-392399834 +# @用例名称: ltp.cve.cve-2016-10044 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2016-10044 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2016-10044 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2016-4470.sh b/testcase/cve/ltp.cve.cve-2016-4470.sh new file mode 100755 index 0000000000000000000000000000000000000000..83a001e888a8ac284759cc95e404b9bdc935656e --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2016-4470.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-312567287 +# @用例名称: ltp.cve.cve-2016-4470 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2016-4470 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2016-4470 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2016-4997.sh b/testcase/cve/ltp.cve.cve-2016-4997.sh new file mode 100755 index 0000000000000000000000000000000000000000..b608553fe0f9b10d3ea436a56c0cdad1dc884b94 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2016-4997.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-329527638 +# @用例名称: ltp.cve.cve-2016-4997 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2016-4997 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2016-4997 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2016-5195.sh b/testcase/cve/ltp.cve.cve-2016-5195.sh new file mode 100755 index 0000000000000000000000000000000000000000..7d3dfc5a48dddfed47e5b34282d6be2a9ebd8da7 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2016-5195.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-338140928 +# @用例名称: ltp.cve.cve-2016-5195 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2016-5195 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2016-5195 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2016-7042.sh b/testcase/cve/ltp.cve.cve-2016-7042.sh new file mode 100755 index 0000000000000000000000000000000000000000..40aef922b7d769644d87d28689dfae9b1f165b21 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2016-7042.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-346854696 +# @用例名称: ltp.cve.cve-2016-7042 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2016-7042 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2016-7042 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2016-7117.sh b/testcase/cve/ltp.cve.cve-2016-7117.sh new file mode 100755 index 0000000000000000000000000000000000000000..ebe7cd493285fcfa64a77bff23436d2584a91134 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2016-7117.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-355603039 +# @用例名称: ltp.cve.cve-2016-7117 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2016-7117 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2016-7117 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2016-8655.sh b/testcase/cve/ltp.cve.cve-2016-8655.sh new file mode 100755 index 0000000000000000000000000000000000000000..2e3318c5f4e2b49a4447b99bd8c95d976cfcd477 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2016-8655.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-366315357 +# @用例名称: ltp.cve.cve-2016-8655 +# @用例级别: 3 +# @用例标签: CVE +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2016-8655 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2016-8655 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2016-9604.sh b/testcase/cve/ltp.cve.cve-2016-9604.sh new file mode 100755 index 0000000000000000000000000000000000000000..2c58ab599da32ad8cc6ea559ad6f8955797df3a2 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2016-9604.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-374947932 +# @用例名称: ltp.cve.cve-2016-9604 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2016-9604 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2016-9604 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2016-9793.sh b/testcase/cve/ltp.cve.cve-2016-9793.sh new file mode 100755 index 0000000000000000000000000000000000000000..7542e0cbffcb5ee162e80ee6df82f1f5ffa53a36 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2016-9793.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-383716032 +# @用例名称: ltp.cve.cve-2016-9793 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2016-9793 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2016-9793 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-1000111.sh b/testcase/cve/ltp.cve.cve-2017-1000111.sh new file mode 100755 index 0000000000000000000000000000000000000000..60d70f64bcdff3efb68137b14dc80d49be0c2022 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-1000111.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-640230411 +# @用例名称: ltp.cve.cve-2017-1000111 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-1000111 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-1000111 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-1000112.sh b/testcase/cve/ltp.cve.cve-2017-1000112.sh new file mode 100755 index 0000000000000000000000000000000000000000..666f6a66a7c73c2ac80028a56682dcb78da8fe2a --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-1000112.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-648954598 +# @用例名称: ltp.cve.cve-2017-1000112 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-1000112 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-1000112 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-1000364.sh b/testcase/cve/ltp.cve.cve-2017-1000364.sh new file mode 100755 index 0000000000000000000000000000000000000000..a419246383ea0ab83e1e5635df7a48d0ff32dacb --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-1000364.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-573118090 +# @用例名称: ltp.cve.cve-2017-1000364 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-1000364 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-1000364 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-1000380.sh b/testcase/cve/ltp.cve.cve-2017-1000380.sh new file mode 100755 index 0000000000000000000000000000000000000000..1a21091e345818f95b2508b2f8ad352f3473c5d5 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-1000380.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-659111426 +# @用例名称: ltp.cve.cve-2017-1000380 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-1000380 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-1000380 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-1000405.sh b/testcase/cve/ltp.cve.cve-2017-1000405.sh new file mode 100755 index 0000000000000000000000000000000000000000..aa2fea8550f3d44d0cdcec14fb60eb7485e67052 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-1000405.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-669392677 +# @用例名称: ltp.cve.cve-2017-1000405 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-1000405 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-1000405 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-10661.sh b/testcase/cve/ltp.cve.cve-2017-10661.sh new file mode 100755 index 0000000000000000000000000000000000000000..e23299c7449fee82aac17f4769b8ab5ccc074843 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-10661.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-466429411 +# @用例名称: ltp.cve.cve-2017-10661 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-10661 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-10661 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-12192.sh b/testcase/cve/ltp.cve.cve-2017-12192.sh new file mode 100755 index 0000000000000000000000000000000000000000..721a23a90e7854f44242aeca4305d8455df234aa --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-12192.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-475184185 +# @用例名称: ltp.cve.cve-2017-12192 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-12192 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-12192 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-12193.sh b/testcase/cve/ltp.cve.cve-2017-12193.sh new file mode 100755 index 0000000000000000000000000000000000000000..da3eef2bf4b9b681f760f150a8e058288eeebf8f --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-12193.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-483908383 +# @用例名称: ltp.cve.cve-2017-12193 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-12193 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-12193 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-15274.sh b/testcase/cve/ltp.cve.cve-2017-15274.sh new file mode 100755 index 0000000000000000000000000000000000000000..fb87d9175e62dee9bf2d65f2d7a0e8c4e51cfbda --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-15274.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-492447644 +# @用例名称: ltp.cve.cve-2017-15274 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-15274 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-15274 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-15299.sh b/testcase/cve/ltp.cve.cve-2017-15299.sh new file mode 100755 index 0000000000000000000000000000000000000000..18e7e8374c3a030230ee18b9b743732654342084 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-15299.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-501013335 +# @用例名称: ltp.cve.cve-2017-15299 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-15299 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-15299 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-15537.sh b/testcase/cve/ltp.cve.cve-2017-15537.sh new file mode 100755 index 0000000000000000000000000000000000000000..9ef9ab5f1cf07e5e7e6894412bb86d6502f60e59 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-15537.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-509710862 +# @用例名称: ltp.cve.cve-2017-15537 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-15537 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-15537 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-15649.sh b/testcase/cve/ltp.cve.cve-2017-15649.sh new file mode 100755 index 0000000000000000000000000000000000000000..c1cf7856db2a6739a502afe61bcc2c1ec8c34b3f --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-15649.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-518376480 +# @用例名称: ltp.cve.cve-2017-15649 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-15649 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-15649 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-15951.sh b/testcase/cve/ltp.cve.cve-2017-15951.sh new file mode 100755 index 0000000000000000000000000000000000000000..944e3bd5f103d5af3f58e094711170eaab901f33 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-15951.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-527009778 +# @用例名称: ltp.cve.cve-2017-15951 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-15951 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-15951 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-16939.sh b/testcase/cve/ltp.cve.cve-2017-16939.sh new file mode 100755 index 0000000000000000000000000000000000000000..8c1b9c10168b317774c73307e7b6b4b2fdaf29fe --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-16939.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-603808456 +# @用例名称: ltp.cve.cve-2017-16939 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-16939 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-16939 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-16995.sh b/testcase/cve/ltp.cve.cve-2017-16995.sh new file mode 100755 index 0000000000000000000000000000000000000000..94e6827bf86770fb8c0ebc79a6a42680345a7f4a --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-16995.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-614253305 +# @用例名称: ltp.cve.cve-2017-16995 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-16995 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-16995 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-17052.sh b/testcase/cve/ltp.cve.cve-2017-17052.sh new file mode 100755 index 0000000000000000000000000000000000000000..a7cdc254d64e520a83e683a690ef4a7101d3c6f0 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-17052.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-594895266 +# @用例名称: ltp.cve.cve-2017-17052 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-17052 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-17052 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-17053.sh b/testcase/cve/ltp.cve.cve-2017-17053.sh new file mode 100755 index 0000000000000000000000000000000000000000..61f108f3a2876e9ad55492d088221ba1dfd6f352 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-17053.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-622942707 +# @用例名称: ltp.cve.cve-2017-17053 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-17053 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-17053 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-17712.sh b/testcase/cve/ltp.cve.cve-2017-17712.sh new file mode 100755 index 0000000000000000000000000000000000000000..4cf62f98c3807a247f5dc9958469a9de660b644e --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-17712.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-535544961 +# @用例名称: ltp.cve.cve-2017-17712 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-17712 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-17712 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-17805.sh b/testcase/cve/ltp.cve.cve-2017-17805.sh new file mode 100755 index 0000000000000000000000000000000000000000..1812dfe380fb19f3370f3c392a597461ff2298ed --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-17805.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-544138995 +# @用例名称: ltp.cve.cve-2017-17805 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-17805 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-17805 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-17806.sh b/testcase/cve/ltp.cve.cve-2017-17806.sh new file mode 100755 index 0000000000000000000000000000000000000000..315234293bd6f0fcc02b434b9aef7251b9626a8e --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-17806.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-552742827 +# @用例名称: ltp.cve.cve-2017-17806 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-17806 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-17806 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-17807.sh b/testcase/cve/ltp.cve.cve-2017-17807.sh new file mode 100755 index 0000000000000000000000000000000000000000..09923726f161dede522a0cae5b10d41083ed22bb --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-17807.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-561759402 +# @用例名称: ltp.cve.cve-2017-17807 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-17807 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-17807 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-18075.sh b/testcase/cve/ltp.cve.cve-2017-18075.sh new file mode 100755 index 0000000000000000000000000000000000000000..db3efd079898519529fc63ad4c68e39c8666da43 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-18075.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-631538274 +# @用例名称: ltp.cve.cve-2017-18075 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-18075 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-18075 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-18344.sh b/testcase/cve/ltp.cve.cve-2017-18344.sh new file mode 100755 index 0000000000000000000000000000000000000000..fc700d634fb21abc7d023ee1056439fc4f37c6c3 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-18344.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172825-910199422 +# @用例名称: ltp.cve.cve-2017-18344 +# @用例级别: 3 +# @用例标签: CVE +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-18344 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-18344 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-2618.sh b/testcase/cve/ltp.cve.cve-2017-2618.sh new file mode 100755 index 0000000000000000000000000000000000000000..12b8b4ab886f23a18e95cd7236299a6b34bfbd32 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-2618.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-401041497 +# @用例名称: ltp.cve.cve-2017-2618 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-2618 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-2618 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-2636.sh b/testcase/cve/ltp.cve.cve-2017-2636.sh new file mode 100755 index 0000000000000000000000000000000000000000..3e522c7ce240e5affd9f1c6e0033f64e827660e6 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-2636.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-409767297 +# @用例名称: ltp.cve.cve-2017-2636 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-2636 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-2636 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-2671.sh b/testcase/cve/ltp.cve.cve-2017-2671.sh new file mode 100755 index 0000000000000000000000000000000000000000..e0ddb36514c88e9c82762d9a553b81958b29bdfd --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-2671.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-419703383 +# @用例名称: ltp.cve.cve-2017-2671 +# @用例级别: 1 +# @用例标签: CVE +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-2671 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-2671 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-5754.sh b/testcase/cve/ltp.cve.cve-2017-5754.sh new file mode 100755 index 0000000000000000000000000000000000000000..b76629108f4cba25f8138ad795b14d2107035ea9 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-5754.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-581920373 +# @用例名称: ltp.cve.cve-2017-5754 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-5754 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-5754 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-6951.sh b/testcase/cve/ltp.cve.cve-2017-6951.sh new file mode 100755 index 0000000000000000000000000000000000000000..85163e16bf075773e1402864aae5275158a6c06b --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-6951.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-429500748 +# @用例名称: ltp.cve.cve-2017-6951 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-6951 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-6951 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-7308.sh b/testcase/cve/ltp.cve.cve-2017-7308.sh new file mode 100755 index 0000000000000000000000000000000000000000..0a0fef978b0d42eefc3ae033b35822ab4040939e --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-7308.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-438051641 +# @用例名称: ltp.cve.cve-2017-7308 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-7308 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-7308 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-7472.sh b/testcase/cve/ltp.cve.cve-2017-7472.sh new file mode 100755 index 0000000000000000000000000000000000000000..0ed5713b23909b744b6e0b698657af694f2bbe25 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-7472.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-449127710 +# @用例名称: ltp.cve.cve-2017-7472 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-7472 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-7472 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-7616.sh b/testcase/cve/ltp.cve.cve-2017-7616.sh new file mode 100755 index 0000000000000000000000000000000000000000..72bc735a9e05bd5f8c7bd6f781882ab0f34dd050 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-7616.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-457841127 +# @用例名称: ltp.cve.cve-2017-7616 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-7616 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-7616 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2017-8890.sh b/testcase/cve/ltp.cve.cve-2017-8890.sh new file mode 100755 index 0000000000000000000000000000000000000000..81b974e7a7628ce7d13bf69e89e86ec136e1af9a --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2017-8890.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172825-838739068 +# @用例名称: ltp.cve.cve-2017-8890 +# @用例级别: 3 +# @用例标签: CVE +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2017-8890 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2017-8890 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2018-1000001.sh b/testcase/cve/ltp.cve.cve-2018-1000001.sh new file mode 100755 index 0000000000000000000000000000000000000000..f2cc22575a838cc050d8e79aa2a311d111f3d61f --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2018-1000001.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-723150647 +# @用例名称: ltp.cve.cve-2018-1000001 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2018-1000001 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2018-1000001 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2018-1000199.sh b/testcase/cve/ltp.cve.cve-2018-1000199.sh new file mode 100755 index 0000000000000000000000000000000000000000..32e29c990f35580a736d1041f63d4bbe2738d907 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2018-1000199.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-732088874 +# @用例名称: ltp.cve.cve-2018-1000199 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2018-1000199 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2018-1000199 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2018-1000204.sh b/testcase/cve/ltp.cve.cve-2018-1000204.sh new file mode 100755 index 0000000000000000000000000000000000000000..7dd5c8b7fcf1a400c1cb1b3cfca8fff7891d347b --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2018-1000204.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-741076936 +# @用例名称: ltp.cve.cve-2018-1000204 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2018-1000204 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2018-1000204 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2018-10124.sh b/testcase/cve/ltp.cve.cve-2018-10124.sh new file mode 100755 index 0000000000000000000000000000000000000000..eef73e2076648d98eb74eeb32189f7fdbe1723e4 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2018-10124.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-714420458 +# @用例名称: ltp.cve.cve-2018-10124 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2018-10124 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2018-10124 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2018-11508.sh b/testcase/cve/ltp.cve.cve-2018-11508.sh new file mode 100755 index 0000000000000000000000000000000000000000..541f7a23e43a5837ac7398fd5edaaa930817682c --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2018-11508.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172826-055232445 +# @用例名称: ltp.cve.cve-2018-11508 +# @用例级别: 3 +# @用例标签: CVE +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2018-11508 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2018-11508 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2018-12896.sh b/testcase/cve/ltp.cve.cve-2018-12896.sh new file mode 100755 index 0000000000000000000000000000000000000000..f715b0439c58b6007125b70a82aefbb371375959 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2018-12896.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-749792426 +# @用例名称: ltp.cve.cve-2018-12896 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2018-12896 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2018-12896 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2018-13405.sh b/testcase/cve/ltp.cve.cve-2018-13405.sh new file mode 100755 index 0000000000000000000000000000000000000000..0bd1cb36f916c31e7e4b1fc87ae89d6e39e4377f --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2018-13405.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-758473052 +# @用例名称: ltp.cve.cve-2018-13405 +# @用例级别: 4 +# @用例标签: CVE 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2018-13405 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2018-13405 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2018-18445.sh b/testcase/cve/ltp.cve.cve-2018-18445.sh new file mode 100755 index 0000000000000000000000000000000000000000..ede383f975a17d20ead654cf769ae6a467d418c6 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2018-18445.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-767178555 +# @用例名称: ltp.cve.cve-2018-18445 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2018-18445 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2018-18445 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2018-18559.sh b/testcase/cve/ltp.cve.cve-2018-18559.sh new file mode 100755 index 0000000000000000000000000000000000000000..0b331e2f730e6825577f6992775a76376e485716 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2018-18559.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-778675071 +# @用例名称: ltp.cve.cve-2018-18559 +# @用例级别: 1 +# @用例标签: CVE +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2018-18559 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2018-18559 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2018-18955.sh b/testcase/cve/ltp.cve.cve-2018-18955.sh new file mode 100755 index 0000000000000000000000000000000000000000..8d616fff9c13eb22da05300838caecd47f18cdcf --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2018-18955.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-787268343 +# @用例名称: ltp.cve.cve-2018-18955 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2018-18955 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2018-18955 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2018-19854.sh b/testcase/cve/ltp.cve.cve-2018-19854.sh new file mode 100755 index 0000000000000000000000000000000000000000..786ebbbec660c3b99550f25360acf27ee3ff913e --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2018-19854.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-795805901 +# @用例名称: ltp.cve.cve-2018-19854 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2018-19854 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2018-19854 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2018-5803.sh b/testcase/cve/ltp.cve.cve-2018-5803.sh new file mode 100755 index 0000000000000000000000000000000000000000..5abe7fb1a2da7492f1af5e0373bcc8faa9f2056e --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2018-5803.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-678262037 +# @用例名称: ltp.cve.cve-2018-5803 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2018-5803 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2018-5803 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2018-6927.sh b/testcase/cve/ltp.cve.cve-2018-6927.sh new file mode 100755 index 0000000000000000000000000000000000000000..13511b646b74eeedb87a0932823e436be39297c6 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2018-6927.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172825-982755415 +# @用例名称: ltp.cve.cve-2018-6927 +# @用例级别: 3 +# @用例标签: CVE +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2018-6927 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2018-6927 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2018-7566.sh b/testcase/cve/ltp.cve.cve-2018-7566.sh new file mode 100755 index 0000000000000000000000000000000000000000..aa2602839dcaddc414c048d29cee7fca3490f560 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2018-7566.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-686776161 +# @用例名称: ltp.cve.cve-2018-7566 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2018-7566 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2018-7566 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2018-8897.sh b/testcase/cve/ltp.cve.cve-2018-8897.sh new file mode 100755 index 0000000000000000000000000000000000000000..0cadcb33abb56bc98f13817f4385c7b9ab6bda50 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2018-8897.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-695567134 +# @用例名称: ltp.cve.cve-2018-8897 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2018-8897 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2018-8897 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2018-9568.sh b/testcase/cve/ltp.cve.cve-2018-9568.sh new file mode 100755 index 0000000000000000000000000000000000000000..1dd7942964eae1a9460a72e9e719c36bb8fed700 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2018-9568.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-705505433 +# @用例名称: ltp.cve.cve-2018-9568 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2018-9568 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2018-9568 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2019-8912.sh b/testcase/cve/ltp.cve.cve-2019-8912.sh new file mode 100755 index 0000000000000000000000000000000000000000..66efbb28e2dcad592b267d1e9415eb93fabc81bc --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2019-8912.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-804359529 +# @用例名称: ltp.cve.cve-2019-8912 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2019-8912 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2019-8912 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2020-11494.sh b/testcase/cve/ltp.cve.cve-2020-11494.sh new file mode 100755 index 0000000000000000000000000000000000000000..9f5adc68b524b0025187cab3d0fcbd840f52b6f6 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2020-11494.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-812936471 +# @用例名称: ltp.cve.cve-2020-11494 +# @用例级别: 3 +# @用例标签: CVE aarch64不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2020-11494 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2020-11494 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2020-14386.sh b/testcase/cve/ltp.cve.cve-2020-14386.sh new file mode 100755 index 0000000000000000000000000000000000000000..c69073ea9627372b4a082c0d561d34d34757a080 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2020-14386.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-821635642 +# @用例名称: ltp.cve.cve-2020-14386 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2020-14386 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2020-14386 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2020-14416.sh b/testcase/cve/ltp.cve.cve-2020-14416.sh new file mode 100755 index 0000000000000000000000000000000000000000..af6ee04835f7c0f740232aaf5bd26d8998aac501 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2020-14416.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-830235978 +# @用例名称: ltp.cve.cve-2020-14416 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2020-14416 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2020-14416 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2020-25704.sh b/testcase/cve/ltp.cve.cve-2020-25704.sh new file mode 100755 index 0000000000000000000000000000000000000000..87df719992d16eec64cdac01693ad3a4ee65ebbc --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2020-25704.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-891910211 +# @用例名称: ltp.cve.cve-2020-25704 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2020-25704 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2020-25704 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2020-25705.sh b/testcase/cve/ltp.cve.cve-2020-25705.sh new file mode 100755 index 0000000000000000000000000000000000000000..6e213be29b26ec4e0a9c821899ba3b0dc218e405 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2020-25705.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-838939045 +# @用例名称: ltp.cve.cve-2020-25705 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2020-25705 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2020-25705 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2020-29373.sh b/testcase/cve/ltp.cve.cve-2020-29373.sh new file mode 100755 index 0000000000000000000000000000000000000000..e6f3e4d5b26467a7402317490a2a93a6ae7df8c4 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2020-29373.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-847462597 +# @用例名称: ltp.cve.cve-2020-29373 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2020-29373 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2020-29373 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2020-36557.sh b/testcase/cve/ltp.cve.cve-2020-36557.sh new file mode 100755 index 0000000000000000000000000000000000000000..a12b17e1a01729b14080796a0576ddb53845df00 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2020-36557.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172826-129054458 +# @用例名称: ltp.cve.cve-2020-36557 +# @用例级别: 3 +# @用例标签: CVE +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2020-36557 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2020-36557 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2021-22555.sh b/testcase/cve/ltp.cve.cve-2021-22555.sh new file mode 100755 index 0000000000000000000000000000000000000000..1f3c5caa383458ef9c6fbf0648cae809cff95954 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2021-22555.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-873585366 +# @用例名称: ltp.cve.cve-2021-22555 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2021-22555 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2021-22555 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2021-22600.sh b/testcase/cve/ltp.cve.cve-2021-22600.sh new file mode 100755 index 0000000000000000000000000000000000000000..3e71d7462292fdbd2b0c905de102ccb7c154dbea --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2021-22600.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141847-773167827 +# @用例名称: ltp.cve.cve-2021-22600 +# @用例级别: 3 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2021-22600 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2021-22600 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2021-26708.sh b/testcase/cve/ltp.cve.cve-2021-26708.sh new file mode 100755 index 0000000000000000000000000000000000000000..c11854ddb2745aafcab450b658674123c19d80d7 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2021-26708.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-882366620 +# @用例名称: ltp.cve.cve-2021-26708 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2021-26708 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2021-26708 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2021-3444.sh b/testcase/cve/ltp.cve.cve-2021-3444.sh new file mode 100755 index 0000000000000000000000000000000000000000..9330f58382fd51196d338425e59bbd915cf2a769 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2021-3444.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-856164883 +# @用例名称: ltp.cve.cve-2021-3444 +# @用例级别: 1 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2021-3444 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2021-3444 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2021-3609.sh b/testcase/cve/ltp.cve.cve-2021-3609.sh new file mode 100755 index 0000000000000000000000000000000000000000..3da3716ff02a39b8c529262fdc5e25c08101eeb5 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2021-3609.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-864957770 +# @用例名称: ltp.cve.cve-2021-3609 +# @用例级别: 3 +# @用例标签: CVE aarch64不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2021-3609 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2021-3609 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2021-38604.sh b/testcase/cve/ltp.cve.cve-2021-38604.sh new file mode 100755 index 0000000000000000000000000000000000000000..1d2ae23a4daa2e910bce80e44c7e0eab82ca7d91 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2021-38604.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141847-836412952 +# @用例名称: ltp.cve.cve-2021-38604 +# @用例级别: 4 +# @用例标签: CVE 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2021-38604 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2021-38604 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2021-4034.sh b/testcase/cve/ltp.cve.cve-2021-4034.sh new file mode 100755 index 0000000000000000000000000000000000000000..77f10cbb33af12cbeaaf0beadbfaa7bb8b248a1c --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2021-4034.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141847-707137799 +# @用例名称: ltp.cve.cve-2021-4034 +# @用例级别: 3 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2021-4034 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2021-4034 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2021-4197_1.sh b/testcase/cve/ltp.cve.cve-2021-4197_1.sh new file mode 100755 index 0000000000000000000000000000000000000000..7622541663958a212843b87608e6773081624324 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2021-4197_1.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172826-207165799 +# @用例名称: ltp.cve.cve-2021-4197_1 +# @用例级别: 3 +# @用例标签: CVE +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2021-4197_1 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2021-4197_1 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2021-4197_2.sh b/testcase/cve/ltp.cve.cve-2021-4197_2.sh new file mode 100755 index 0000000000000000000000000000000000000000..a9d6206b623ff9999a453fab14618667c131866e --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2021-4197_2.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172826-285606895 +# @用例名称: ltp.cve.cve-2021-4197_2 +# @用例级别: 3 +# @用例标签: CVE +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2021-4197_2 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2021-4197_2 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2021-4204.sh b/testcase/cve/ltp.cve.cve-2021-4204.sh new file mode 100755 index 0000000000000000000000000000000000000000..7be7c43ce2cf40c764e875c69de521e73599c026 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2021-4204.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172826-360880308 +# @用例名称: ltp.cve.cve-2021-4204 +# @用例级别: 3 +# @用例标签: CVE +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2021-4204 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2021-4204 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2022-0185.sh b/testcase/cve/ltp.cve.cve-2022-0185.sh new file mode 100755 index 0000000000000000000000000000000000000000..ef240a67e85cb51244ca7108087240b986d47bbc --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2022-0185.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141848-026523165 +# @用例名称: ltp.cve.cve-2022-0185 +# @用例级别: 3 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2022-0185 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2022-0185 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2022-0847.sh b/testcase/cve/ltp.cve.cve-2022-0847.sh new file mode 100755 index 0000000000000000000000000000000000000000..56a39054656d5403b3e37199058a784b92bc28b2 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2022-0847.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141847-899902045 +# @用例名称: ltp.cve.cve-2022-0847 +# @用例级别: 3 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2022-0847 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2022-0847 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2022-23222.sh b/testcase/cve/ltp.cve.cve-2022-23222.sh new file mode 100755 index 0000000000000000000000000000000000000000..270ec34fafbe8aabda4f485083d67509ca706862 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2022-23222.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172826-437449460 +# @用例名称: ltp.cve.cve-2022-23222 +# @用例级别: 3 +# @用例标签: CVE +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2022-23222 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2022-23222 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2022-2590.sh b/testcase/cve/ltp.cve.cve-2022-2590.sh new file mode 100755 index 0000000000000000000000000000000000000000..f03e4e3f9b1f614e6abb9fe2d64eb813432801a2 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2022-2590.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141847-962214922 +# @用例名称: ltp.cve.cve-2022-2590 +# @用例级别: 3 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2022-2590 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2022-2590 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2022-4378.sh b/testcase/cve/ltp.cve.cve-2022-4378.sh new file mode 100755 index 0000000000000000000000000000000000000000..838848388b9a9e7ed1156ca8be5dbbc8cdf183b7 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2022-4378.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141848-095793775 +# @用例名称: ltp.cve.cve-2022-4378 +# @用例级别: 3 +# @用例标签: CVE +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2022-4378 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2022-4378 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2023-0461.sh b/testcase/cve/ltp.cve.cve-2023-0461.sh new file mode 100755 index 0000000000000000000000000000000000000000..52a1de92ae991d02b09e35c40921c58a12199b12 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2023-0461.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172826-596078084 +# @用例名称: ltp.cve.cve-2023-0461 +# @用例级别: 3 +# @用例标签: CVE +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2023-0461 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2023-0461 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2023-1829.sh b/testcase/cve/ltp.cve.cve-2023-1829.sh new file mode 100755 index 0000000000000000000000000000000000000000..4302d65b7fb9724d51b1a443ed982a5856851134 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2023-1829.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172826-520437823 +# @用例名称: ltp.cve.cve-2023-1829 +# @用例级别: 3 +# @用例标签: CVE +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2023-1829 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2023-1829 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/cve/ltp.cve.cve-2023-31248.sh b/testcase/cve/ltp.cve.cve-2023-31248.sh new file mode 100755 index 0000000000000000000000000000000000000000..34e7ff3186b372628933d7391635b6f47e6b8f72 --- /dev/null +++ b/testcase/cve/ltp.cve.cve-2023-31248.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172826-669196161 +# @用例名称: ltp.cve.cve-2023-31248 +# @用例级别: 3 +# @用例标签: CVE +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.cve.cve-2023-31248 + # @预期结果:1: 用例返回0 + ltp_run_testcase cve cve-2023-31248 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio01.sh b/testcase/dio/ltp.dio.dio01.sh new file mode 100755 index 0000000000000000000000000000000000000000..2bff62215d6221fa18acbb75d22e152756c96a55 --- /dev/null +++ b/testcase/dio/ltp.dio.dio01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-904203267 +# @用例名称: ltp.dio.dio01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio01 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio02.sh b/testcase/dio/ltp.dio.dio02.sh new file mode 100755 index 0000000000000000000000000000000000000000..6ad12023b217d93db3bf9b4c215dcc30b7f9a86d --- /dev/null +++ b/testcase/dio/ltp.dio.dio02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-912767115 +# @用例名称: ltp.dio.dio02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio02 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio03.sh b/testcase/dio/ltp.dio.dio03.sh new file mode 100755 index 0000000000000000000000000000000000000000..a875a3cc63cbe815221146ce74b37188a45838ea --- /dev/null +++ b/testcase/dio/ltp.dio.dio03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-921510528 +# @用例名称: ltp.dio.dio03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio03 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio04.sh b/testcase/dio/ltp.dio.dio04.sh new file mode 100755 index 0000000000000000000000000000000000000000..844e53e0b88e450cef51a3248829c5b97d8160d3 --- /dev/null +++ b/testcase/dio/ltp.dio.dio04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-930162330 +# @用例名称: ltp.dio.dio04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio04 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio05.sh b/testcase/dio/ltp.dio.dio05.sh new file mode 100755 index 0000000000000000000000000000000000000000..6c92cc8586d953164dc6ea64177d5c8762267c60 --- /dev/null +++ b/testcase/dio/ltp.dio.dio05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-938824341 +# @用例名称: ltp.dio.dio05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio05 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio06.sh b/testcase/dio/ltp.dio.dio06.sh new file mode 100755 index 0000000000000000000000000000000000000000..478adb090a0fe86b3611aead3321a90597746923 --- /dev/null +++ b/testcase/dio/ltp.dio.dio06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-947422222 +# @用例名称: ltp.dio.dio06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio06 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio07.sh b/testcase/dio/ltp.dio.dio07.sh new file mode 100755 index 0000000000000000000000000000000000000000..d4b4cd6ec3c0c0a36f70975ad8fc77b34078fc5f --- /dev/null +++ b/testcase/dio/ltp.dio.dio07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-959033703 +# @用例名称: ltp.dio.dio07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio07 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio08.sh b/testcase/dio/ltp.dio.dio08.sh new file mode 100755 index 0000000000000000000000000000000000000000..eddfca42d4400835b60bfda373206072f7140644 --- /dev/null +++ b/testcase/dio/ltp.dio.dio08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-967638267 +# @用例名称: ltp.dio.dio08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio08 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio09.sh b/testcase/dio/ltp.dio.dio09.sh new file mode 100755 index 0000000000000000000000000000000000000000..3f2dbb7c6295db878cd8429710b254eec8a32560 --- /dev/null +++ b/testcase/dio/ltp.dio.dio09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-977381551 +# @用例名称: ltp.dio.dio09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio09 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio10.sh b/testcase/dio/ltp.dio.dio10.sh new file mode 100755 index 0000000000000000000000000000000000000000..eaabd987a97bc2ce4febdd1f5c929c349bdc60e1 --- /dev/null +++ b/testcase/dio/ltp.dio.dio10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-986064561 +# @用例名称: ltp.dio.dio10 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio10 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio11.sh b/testcase/dio/ltp.dio.dio11.sh new file mode 100755 index 0000000000000000000000000000000000000000..52be123a52a0d7985ef8411a85c9cd6621bf933d --- /dev/null +++ b/testcase/dio/ltp.dio.dio11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212952-994609824 +# @用例名称: ltp.dio.dio11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio11 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio12.sh b/testcase/dio/ltp.dio.dio12.sh new file mode 100755 index 0000000000000000000000000000000000000000..74034516df541870fefd770e761c18c3620309b7 --- /dev/null +++ b/testcase/dio/ltp.dio.dio12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-003185243 +# @用例名称: ltp.dio.dio12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio12 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio13.sh b/testcase/dio/ltp.dio.dio13.sh new file mode 100755 index 0000000000000000000000000000000000000000..65063e045d3816044900744f8fea46d383ce0f04 --- /dev/null +++ b/testcase/dio/ltp.dio.dio13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-016651735 +# @用例名称: ltp.dio.dio13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio13 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio14.sh b/testcase/dio/ltp.dio.dio14.sh new file mode 100755 index 0000000000000000000000000000000000000000..3f23aca69d4d68747235414f09ecde0195f35f5a --- /dev/null +++ b/testcase/dio/ltp.dio.dio14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-025572130 +# @用例名称: ltp.dio.dio14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio14 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio15.sh b/testcase/dio/ltp.dio.dio15.sh new file mode 100755 index 0000000000000000000000000000000000000000..39e42504b40ba48a83191b9f10c1a88546882f5a --- /dev/null +++ b/testcase/dio/ltp.dio.dio15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-034096895 +# @用例名称: ltp.dio.dio15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio15 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio16.sh b/testcase/dio/ltp.dio.dio16.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5d7e874212fd120b175b1977adbb8ac1c0634b1 --- /dev/null +++ b/testcase/dio/ltp.dio.dio16.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-043569042 +# @用例名称: ltp.dio.dio16 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio16 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio17.sh b/testcase/dio/ltp.dio.dio17.sh new file mode 100755 index 0000000000000000000000000000000000000000..a86e478608ab0071d37a4697b18c9c0e944f68db --- /dev/null +++ b/testcase/dio/ltp.dio.dio17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-052235561 +# @用例名称: ltp.dio.dio17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio17 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio18.sh b/testcase/dio/ltp.dio.dio18.sh new file mode 100755 index 0000000000000000000000000000000000000000..ca50c6fe3e1a5930fffa11025ec367e14892d921 --- /dev/null +++ b/testcase/dio/ltp.dio.dio18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-067704351 +# @用例名称: ltp.dio.dio18 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio18 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio19.sh b/testcase/dio/ltp.dio.dio19.sh new file mode 100755 index 0000000000000000000000000000000000000000..5dd7a53436754e6eb8af695509c6182472f26b4d --- /dev/null +++ b/testcase/dio/ltp.dio.dio19.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-076445490 +# @用例名称: ltp.dio.dio19 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio19 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio20.sh b/testcase/dio/ltp.dio.dio20.sh new file mode 100755 index 0000000000000000000000000000000000000000..c8e1a33ab31a34fd3e8bba7a17a1f28c283b92af --- /dev/null +++ b/testcase/dio/ltp.dio.dio20.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-085030738 +# @用例名称: ltp.dio.dio20 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio20 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio21.sh b/testcase/dio/ltp.dio.dio21.sh new file mode 100755 index 0000000000000000000000000000000000000000..534d3fb507d8c42db6f1e4eb44ee44f9a3b77eee --- /dev/null +++ b/testcase/dio/ltp.dio.dio21.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-093685755 +# @用例名称: ltp.dio.dio21 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio21 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio22.sh b/testcase/dio/ltp.dio.dio22.sh new file mode 100755 index 0000000000000000000000000000000000000000..aa1bfce66ab67d4a42aac87b62ed2ed2b3c379bc --- /dev/null +++ b/testcase/dio/ltp.dio.dio22.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-105125515 +# @用例名称: ltp.dio.dio22 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio22 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio22 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio23.sh b/testcase/dio/ltp.dio.dio23.sh new file mode 100755 index 0000000000000000000000000000000000000000..cde8adec9dd134cd87517e9a218b6ebff1094f81 --- /dev/null +++ b/testcase/dio/ltp.dio.dio23.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-113702026 +# @用例名称: ltp.dio.dio23 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio23 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio23 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio24.sh b/testcase/dio/ltp.dio.dio24.sh new file mode 100755 index 0000000000000000000000000000000000000000..6133ddbe1a6771f5cd75053632de5dc996fc99ce --- /dev/null +++ b/testcase/dio/ltp.dio.dio24.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-122254913 +# @用例名称: ltp.dio.dio24 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio24 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio24 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio25.sh b/testcase/dio/ltp.dio.dio25.sh new file mode 100755 index 0000000000000000000000000000000000000000..77d4d4add3c04096939e02c18fb6e108bc8e32ec --- /dev/null +++ b/testcase/dio/ltp.dio.dio25.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-131112971 +# @用例名称: ltp.dio.dio25 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio25 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio25 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio26.sh b/testcase/dio/ltp.dio.dio26.sh new file mode 100755 index 0000000000000000000000000000000000000000..27aac775889960f7238ef8241f7e486655338d0c --- /dev/null +++ b/testcase/dio/ltp.dio.dio26.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-142656004 +# @用例名称: ltp.dio.dio26 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio26 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio26 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio27.sh b/testcase/dio/ltp.dio.dio27.sh new file mode 100755 index 0000000000000000000000000000000000000000..1d4d670b26b988e3a463455acaf7b8a40258835f --- /dev/null +++ b/testcase/dio/ltp.dio.dio27.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-151365193 +# @用例名称: ltp.dio.dio27 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio27 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio27 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio28.sh b/testcase/dio/ltp.dio.dio28.sh new file mode 100755 index 0000000000000000000000000000000000000000..753e46b972655fcd5fed9a783f2144ba4734e455 --- /dev/null +++ b/testcase/dio/ltp.dio.dio28.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-160044947 +# @用例名称: ltp.dio.dio28 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio28 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio28 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio29.sh b/testcase/dio/ltp.dio.dio29.sh new file mode 100755 index 0000000000000000000000000000000000000000..200433c55e991345228518a10525193eb9b08af0 --- /dev/null +++ b/testcase/dio/ltp.dio.dio29.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-171536975 +# @用例名称: ltp.dio.dio29 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio29 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio29 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dio/ltp.dio.dio30.sh b/testcase/dio/ltp.dio.dio30.sh new file mode 100755 index 0000000000000000000000000000000000000000..f926477bd2f52aee3816bbf8354be92e1453a007 --- /dev/null +++ b/testcase/dio/ltp.dio.dio30.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-180132411 +# @用例名称: ltp.dio.dio30 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dio.dio30 + # @预期结果:1: 用例返回0 + ltp_run_testcase dio dio30 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest1.sh b/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest1.sh new file mode 100755 index 0000000000000000000000000000000000000000..71e0437443f4a1be258d52803843abc550eafe87 --- /dev/null +++ b/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest1.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-218092604 +# @用例名称: ltp.dma_thread_diotest.dma_thread_diotest1 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dma_thread_diotest.dma_thread_diotest1 + # @预期结果:1: 用例返回0 + ltp_run_testcase dma_thread_diotest dma_thread_diotest1 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest2.sh b/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest2.sh new file mode 100755 index 0000000000000000000000000000000000000000..e2143eec1c9183be7f0a7747cfdb5f65700fd75c --- /dev/null +++ b/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest2.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-226730599 +# @用例名称: ltp.dma_thread_diotest.dma_thread_diotest2 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dma_thread_diotest.dma_thread_diotest2 + # @预期结果:1: 用例返回0 + ltp_run_testcase dma_thread_diotest dma_thread_diotest2 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest3.sh b/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest3.sh new file mode 100755 index 0000000000000000000000000000000000000000..ee201fc571b0cbed902257063620ceac5fec45a5 --- /dev/null +++ b/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest3.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-235231609 +# @用例名称: ltp.dma_thread_diotest.dma_thread_diotest3 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dma_thread_diotest.dma_thread_diotest3 + # @预期结果:1: 用例返回0 + ltp_run_testcase dma_thread_diotest dma_thread_diotest3 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest4.sh b/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest4.sh new file mode 100755 index 0000000000000000000000000000000000000000..8c622bfdb875dd2fd32e59c6d5313ead81e71ddf --- /dev/null +++ b/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest4.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-243837496 +# @用例名称: ltp.dma_thread_diotest.dma_thread_diotest4 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dma_thread_diotest.dma_thread_diotest4 + # @预期结果:1: 用例返回0 + ltp_run_testcase dma_thread_diotest dma_thread_diotest4 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest5.sh b/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest5.sh new file mode 100755 index 0000000000000000000000000000000000000000..616a913d845b6c0bb6df99e01e7dc1566d4b5c1a --- /dev/null +++ b/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest5.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-252601808 +# @用例名称: ltp.dma_thread_diotest.dma_thread_diotest5 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dma_thread_diotest.dma_thread_diotest5 + # @预期结果:1: 用例返回0 + ltp_run_testcase dma_thread_diotest dma_thread_diotest5 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest6.sh b/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest6.sh new file mode 100755 index 0000000000000000000000000000000000000000..23d3954eda05c659f889a3dbfaa981b321c9e0fb --- /dev/null +++ b/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-263079567 +# @用例名称: ltp.dma_thread_diotest.dma_thread_diotest6 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dma_thread_diotest.dma_thread_diotest6 + # @预期结果:1: 用例返回0 + ltp_run_testcase dma_thread_diotest dma_thread_diotest6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest7.sh b/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest7.sh new file mode 100755 index 0000000000000000000000000000000000000000..bf173a2d27e9209e8ff994121e1697facd597595 --- /dev/null +++ b/testcase/dma_thread_diotest/ltp.dma_thread_diotest.dma_thread_diotest7.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-272009539 +# @用例名称: ltp.dma_thread_diotest.dma_thread_diotest7 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.dma_thread_diotest.dma_thread_diotest7 + # @预期结果:1: 用例返回0 + ltp_run_testcase dma_thread_diotest dma_thread_diotest7 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fcntl-locktests/ltp.fcntl-locktests.FCNTL_LOCKTESTS.sh b/testcase/fcntl-locktests/ltp.fcntl-locktests.FCNTL_LOCKTESTS.sh new file mode 100755 index 0000000000000000000000000000000000000000..5fb4e95509180890c17bec9ce64048451ec891cd --- /dev/null +++ b/testcase/fcntl-locktests/ltp.fcntl-locktests.FCNTL_LOCKTESTS.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-282479414 +# @用例名称: ltp.fcntl-locktests.FCNTL_LOCKTESTS +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fcntl-locktests.FCNTL_LOCKTESTS + # @预期结果:1: 用例返回0 + ltp_run_testcase fcntl-locktests FCNTL_LOCKTESTS + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.binfmt_misc01.sh b/testcase/fs/ltp.fs.binfmt_misc01.sh new file mode 100755 index 0000000000000000000000000000000000000000..3830ebd5a3df55dbf58e4429db903062c1fffc99 --- /dev/null +++ b/testcase/fs/ltp.fs.binfmt_misc01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-910041822 +# @用例名称: ltp.fs.binfmt_misc01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.binfmt_misc01 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs binfmt_misc01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.binfmt_misc02.sh b/testcase/fs/ltp.fs.binfmt_misc02.sh new file mode 100755 index 0000000000000000000000000000000000000000..9ae2395d8d5797f0d049540906ada4194946372d --- /dev/null +++ b/testcase/fs/ltp.fs.binfmt_misc02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-918545747 +# @用例名称: ltp.fs.binfmt_misc02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.binfmt_misc02 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs binfmt_misc02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.fs_di.sh b/testcase/fs/ltp.fs.fs_di.sh new file mode 100755 index 0000000000000000000000000000000000000000..c9358afa80dfadbbc21059ea63bb896a9ac67a79 --- /dev/null +++ b/testcase/fs/ltp.fs.fs_di.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-813333180 +# @用例名称: ltp.fs.fs_di +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.fs_di + # @预期结果:1: 用例返回0 + ltp_run_testcase fs fs_di + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.fs_fill.sh b/testcase/fs/ltp.fs.fs_fill.sh new file mode 100755 index 0000000000000000000000000000000000000000..39c9029179e01e4bb26aa79f276594247c27383d --- /dev/null +++ b/testcase/fs/ltp.fs.fs_fill.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-899460328 +# @用例名称: ltp.fs.fs_fill +# @用例级别: 3 +# @用例标签: eks不支持 +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.fs_fill + # @预期结果:1: 用例返回0 + ltp_run_testcase fs fs_fill + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.fs_inod01.sh b/testcase/fs/ltp.fs.fs_inod01.sh new file mode 100755 index 0000000000000000000000000000000000000000..283fd0fa66c0e23c8e2bc2af665833113b508353 --- /dev/null +++ b/testcase/fs/ltp.fs.fs_inod01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-630935221 +# @用例名称: ltp.fs.fs_inod01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.fs_inod01 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs fs_inod01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.fs_racer.sh b/testcase/fs/ltp.fs.fs_racer.sh new file mode 100755 index 0000000000000000000000000000000000000000..281941828d6d87b78a47b569e806dff7956c3cbf --- /dev/null +++ b/testcase/fs/ltp.fs.fs_racer.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-866427587 +# @用例名称: ltp.fs.fs_racer +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.fs_racer + # @预期结果:1: 用例返回0 + ltp_run_testcase fs fs_racer + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.ftest01.sh b/testcase/fs/ltp.fs.ftest01.sh new file mode 100755 index 0000000000000000000000000000000000000000..70aa2306179558d514edfc4dad326054ced93fbb --- /dev/null +++ b/testcase/fs/ltp.fs.ftest01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-718452450 +# @用例名称: ltp.fs.ftest01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.ftest01 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs ftest01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.ftest02.sh b/testcase/fs/ltp.fs.ftest02.sh new file mode 100755 index 0000000000000000000000000000000000000000..33581e8083640d0c25fc372f0eb9e30fdb30267d --- /dev/null +++ b/testcase/fs/ltp.fs.ftest02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-727038399 +# @用例名称: ltp.fs.ftest02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.ftest02 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs ftest02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.ftest03.sh b/testcase/fs/ltp.fs.ftest03.sh new file mode 100755 index 0000000000000000000000000000000000000000..4f5744c03c7e9b3757063b0963ffe2537eff571a --- /dev/null +++ b/testcase/fs/ltp.fs.ftest03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-735584934 +# @用例名称: ltp.fs.ftest03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.ftest03 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs ftest03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.ftest04.sh b/testcase/fs/ltp.fs.ftest04.sh new file mode 100755 index 0000000000000000000000000000000000000000..640467ca416c2b2c4a62d0f37e00d941b94e3a92 --- /dev/null +++ b/testcase/fs/ltp.fs.ftest04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-744032825 +# @用例名称: ltp.fs.ftest04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.ftest04 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs ftest04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.ftest05.sh b/testcase/fs/ltp.fs.ftest05.sh new file mode 100755 index 0000000000000000000000000000000000000000..bf1e0819ad7cee89baa11e1b5b10b4bf290ed30e --- /dev/null +++ b/testcase/fs/ltp.fs.ftest05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-752974128 +# @用例名称: ltp.fs.ftest05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.ftest05 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs ftest05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.ftest06.sh b/testcase/fs/ltp.fs.ftest06.sh new file mode 100755 index 0000000000000000000000000000000000000000..2e92b4dd7552337946a86469e5188712ca4829fa --- /dev/null +++ b/testcase/fs/ltp.fs.ftest06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-761484285 +# @用例名称: ltp.fs.ftest06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.ftest06 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs ftest06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.ftest07.sh b/testcase/fs/ltp.fs.ftest07.sh new file mode 100755 index 0000000000000000000000000000000000000000..66aa8fb88fdeb69562414925c80d8ddd4e7b9d12 --- /dev/null +++ b/testcase/fs/ltp.fs.ftest07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-769973302 +# @用例名称: ltp.fs.ftest07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.ftest07 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs ftest07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.ftest08.sh b/testcase/fs/ltp.fs.ftest08.sh new file mode 100755 index 0000000000000000000000000000000000000000..f424f24301ab5a99a520e7511fa9e9316d0ddd17 --- /dev/null +++ b/testcase/fs/ltp.fs.ftest08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-778895981 +# @用例名称: ltp.fs.ftest08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.ftest08 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs ftest08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf01.sh b/testcase/fs/ltp.fs.gf01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d2e7432f602daaf9aa8a252822d74eff8b514389 --- /dev/null +++ b/testcase/fs/ltp.fs.gf01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-308646766 +# @用例名称: ltp.fs.gf01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf01 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf02.sh b/testcase/fs/ltp.fs.gf02.sh new file mode 100755 index 0000000000000000000000000000000000000000..69e8a1673c2c54eb948a4a8710562dc57a69174e --- /dev/null +++ b/testcase/fs/ltp.fs.gf02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-317215363 +# @用例名称: ltp.fs.gf02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf02 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf03.sh b/testcase/fs/ltp.fs.gf03.sh new file mode 100755 index 0000000000000000000000000000000000000000..a4ebc3faa58b25d9e7b83e05cdd5b7fca817aa5a --- /dev/null +++ b/testcase/fs/ltp.fs.gf03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-325746178 +# @用例名称: ltp.fs.gf03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf03 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf04.sh b/testcase/fs/ltp.fs.gf04.sh new file mode 100755 index 0000000000000000000000000000000000000000..71783a14144479a8d502ea3d2794a7f3f4ed5f1a --- /dev/null +++ b/testcase/fs/ltp.fs.gf04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-334312009 +# @用例名称: ltp.fs.gf04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf04 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf05.sh b/testcase/fs/ltp.fs.gf05.sh new file mode 100755 index 0000000000000000000000000000000000000000..3d9361784a27c744c67881eed1c73438bf8e12ac --- /dev/null +++ b/testcase/fs/ltp.fs.gf05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-343603167 +# @用例名称: ltp.fs.gf05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf05 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf06.sh b/testcase/fs/ltp.fs.gf06.sh new file mode 100755 index 0000000000000000000000000000000000000000..b75c708f19971eda24079014b64f04f9debd5efc --- /dev/null +++ b/testcase/fs/ltp.fs.gf06.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-352184798 +# @用例名称: ltp.fs.gf06 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf06 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf07.sh b/testcase/fs/ltp.fs.gf07.sh new file mode 100755 index 0000000000000000000000000000000000000000..973b09644b95302cf621f6c4ffcb16a25e6328e3 --- /dev/null +++ b/testcase/fs/ltp.fs.gf07.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-360820840 +# @用例名称: ltp.fs.gf07 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf07 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf08.sh b/testcase/fs/ltp.fs.gf08.sh new file mode 100755 index 0000000000000000000000000000000000000000..caee82e4af6edd967f8918243668f71dd325f962 --- /dev/null +++ b/testcase/fs/ltp.fs.gf08.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-370896918 +# @用例名称: ltp.fs.gf08 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf08 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf09.sh b/testcase/fs/ltp.fs.gf09.sh new file mode 100755 index 0000000000000000000000000000000000000000..285a99802eea1dbae833eb7105da146d6ef975cf --- /dev/null +++ b/testcase/fs/ltp.fs.gf09.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-379423425 +# @用例名称: ltp.fs.gf09 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf09 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf10.sh b/testcase/fs/ltp.fs.gf10.sh new file mode 100755 index 0000000000000000000000000000000000000000..d9db19785b8f4bc90ba45a48f5364bf488fed270 --- /dev/null +++ b/testcase/fs/ltp.fs.gf10.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-388155297 +# @用例名称: ltp.fs.gf10 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf10 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf11.sh b/testcase/fs/ltp.fs.gf11.sh new file mode 100755 index 0000000000000000000000000000000000000000..5eb3211f5b514ef85c196d857f5fd14cc18da338 --- /dev/null +++ b/testcase/fs/ltp.fs.gf11.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-396790208 +# @用例名称: ltp.fs.gf11 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf11 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf12.sh b/testcase/fs/ltp.fs.gf12.sh new file mode 100755 index 0000000000000000000000000000000000000000..aa97f77c449d0e6cc1a107d5f4e05edf21f3b2bf --- /dev/null +++ b/testcase/fs/ltp.fs.gf12.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-405382538 +# @用例名称: ltp.fs.gf12 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf12 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf13.sh b/testcase/fs/ltp.fs.gf13.sh new file mode 100755 index 0000000000000000000000000000000000000000..6cef0448b47d987f132c5ef678b43021978f459e --- /dev/null +++ b/testcase/fs/ltp.fs.gf13.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-414160867 +# @用例名称: ltp.fs.gf13 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf13 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf14.sh b/testcase/fs/ltp.fs.gf14.sh new file mode 100755 index 0000000000000000000000000000000000000000..99f4f4e1ffe245822f302ea097c96fa9a7b5d3fd --- /dev/null +++ b/testcase/fs/ltp.fs.gf14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-422715166 +# @用例名称: ltp.fs.gf14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf14 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf15.sh b/testcase/fs/ltp.fs.gf15.sh new file mode 100755 index 0000000000000000000000000000000000000000..263ee034224f2e1ff2e40ce0531e56d46812fefa --- /dev/null +++ b/testcase/fs/ltp.fs.gf15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-431336881 +# @用例名称: ltp.fs.gf15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf15 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf16.sh b/testcase/fs/ltp.fs.gf16.sh new file mode 100755 index 0000000000000000000000000000000000000000..ad5e10975670b1ea803cd482ee3ff1d0adfec113 --- /dev/null +++ b/testcase/fs/ltp.fs.gf16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-439844243 +# @用例名称: ltp.fs.gf16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf16 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf17.sh b/testcase/fs/ltp.fs.gf17.sh new file mode 100755 index 0000000000000000000000000000000000000000..f2659cc82dac88cde2fd8bc48d8982ae5a82ab24 --- /dev/null +++ b/testcase/fs/ltp.fs.gf17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-448601793 +# @用例名称: ltp.fs.gf17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf17 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf18.sh b/testcase/fs/ltp.fs.gf18.sh new file mode 100755 index 0000000000000000000000000000000000000000..2b112081ec8c23f3843dfacb5df7799f553f29a5 --- /dev/null +++ b/testcase/fs/ltp.fs.gf18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-457254026 +# @用例名称: ltp.fs.gf18 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf18 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf19.sh b/testcase/fs/ltp.fs.gf19.sh new file mode 100755 index 0000000000000000000000000000000000000000..7d2089b4d3fe14dfe69b418c07061c13d9f34e5f --- /dev/null +++ b/testcase/fs/ltp.fs.gf19.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-466979898 +# @用例名称: ltp.fs.gf19 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf19 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf20.sh b/testcase/fs/ltp.fs.gf20.sh new file mode 100755 index 0000000000000000000000000000000000000000..78eeb3d1eb8ea3ce65d242b29a1bb526f0a22fb7 --- /dev/null +++ b/testcase/fs/ltp.fs.gf20.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-475798402 +# @用例名称: ltp.fs.gf20 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf20 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf21.sh b/testcase/fs/ltp.fs.gf21.sh new file mode 100755 index 0000000000000000000000000000000000000000..69896ace9fee017e73374b0e35eb46b922082679 --- /dev/null +++ b/testcase/fs/ltp.fs.gf21.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-484619731 +# @用例名称: ltp.fs.gf21 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf21 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf22.sh b/testcase/fs/ltp.fs.gf22.sh new file mode 100755 index 0000000000000000000000000000000000000000..71d7a059b0bbe1bb5a0c6da25c17b449449406c1 --- /dev/null +++ b/testcase/fs/ltp.fs.gf22.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-493107876 +# @用例名称: ltp.fs.gf22 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf22 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf22 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf23.sh b/testcase/fs/ltp.fs.gf23.sh new file mode 100755 index 0000000000000000000000000000000000000000..c4298740c293ddff790d905bcb773d90f7af6f2d --- /dev/null +++ b/testcase/fs/ltp.fs.gf23.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-501771330 +# @用例名称: ltp.fs.gf23 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf23 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf23 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf24.sh b/testcase/fs/ltp.fs.gf24.sh new file mode 100755 index 0000000000000000000000000000000000000000..62c5d769b2d8c37bca071fe2a45b2c4a3aa51b06 --- /dev/null +++ b/testcase/fs/ltp.fs.gf24.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-510501389 +# @用例名称: ltp.fs.gf24 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf24 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf24 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf25.sh b/testcase/fs/ltp.fs.gf25.sh new file mode 100755 index 0000000000000000000000000000000000000000..5a730590c4a418edaec0a8c7fe75490c31cdd784 --- /dev/null +++ b/testcase/fs/ltp.fs.gf25.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-519168489 +# @用例名称: ltp.fs.gf25 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf25 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf25 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf26.sh b/testcase/fs/ltp.fs.gf26.sh new file mode 100755 index 0000000000000000000000000000000000000000..222f57a2c118aceaecb0aa287e09fc83ae4447d7 --- /dev/null +++ b/testcase/fs/ltp.fs.gf26.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-527743948 +# @用例名称: ltp.fs.gf26 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf26 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf26 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf27.sh b/testcase/fs/ltp.fs.gf27.sh new file mode 100755 index 0000000000000000000000000000000000000000..f63f5a56e2b82f41aecf4c22d75761d6e2a8677f --- /dev/null +++ b/testcase/fs/ltp.fs.gf27.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-536229379 +# @用例名称: ltp.fs.gf27 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf27 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf27 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf28.sh b/testcase/fs/ltp.fs.gf28.sh new file mode 100755 index 0000000000000000000000000000000000000000..f22d3ec6e07ab2ff69b2f7932812b7b7a262df76 --- /dev/null +++ b/testcase/fs/ltp.fs.gf28.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-544763461 +# @用例名称: ltp.fs.gf28 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf28 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf28 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf29.sh b/testcase/fs/ltp.fs.gf29.sh new file mode 100755 index 0000000000000000000000000000000000000000..4be7576105726f6760cf100b46685b43f995cc09 --- /dev/null +++ b/testcase/fs/ltp.fs.gf29.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-553359618 +# @用例名称: ltp.fs.gf29 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf29 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf29 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.gf30.sh b/testcase/fs/ltp.fs.gf30.sh new file mode 100755 index 0000000000000000000000000000000000000000..8bb860d9e95875d32265dfec17b35eac313422f6 --- /dev/null +++ b/testcase/fs/ltp.fs.gf30.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-561936550 +# @用例名称: ltp.fs.gf30 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.gf30 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs gf30 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.inode01.sh b/testcase/fs/ltp.fs.inode01.sh new file mode 100755 index 0000000000000000000000000000000000000000..46ab1f01373a5594bec1ead28aa0b0d93d58923d --- /dev/null +++ b/testcase/fs/ltp.fs.inode01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-656539289 +# @用例名称: ltp.fs.inode01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.inode01 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs inode01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.inode02.sh b/testcase/fs/ltp.fs.inode02.sh new file mode 100755 index 0000000000000000000000000000000000000000..618b496e8630e1a86f1e145703f8a778bc099c9a --- /dev/null +++ b/testcase/fs/ltp.fs.inode02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-665556405 +# @用例名称: ltp.fs.inode02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.inode02 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs inode02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.iogen01.sh b/testcase/fs/ltp.fs.iogen01.sh new file mode 100755 index 0000000000000000000000000000000000000000..31ddb62a70fcffd9fd052729c0135d26a0cb69e6 --- /dev/null +++ b/testcase/fs/ltp.fs.iogen01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-620400275 +# @用例名称: ltp.fs.iogen01 +# @用例级别: 2 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.iogen01 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs iogen01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.isofs.sh b/testcase/fs/ltp.fs.isofs.sh new file mode 100755 index 0000000000000000000000000000000000000000..6b96e33b581967b3f6c2492c8a4abc6a1bc6af26 --- /dev/null +++ b/testcase/fs/ltp.fs.isofs.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-888993118 +# @用例名称: ltp.fs.isofs +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.isofs + # @预期结果:1: 用例返回0 + ltp_run_testcase fs isofs + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.lftest01.sh b/testcase/fs/ltp.fs.lftest01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8170fb3722af8b220956fe1c81e10fd96393778a --- /dev/null +++ b/testcase/fs/ltp.fs.lftest01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-789396502 +# @用例名称: ltp.fs.lftest01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.lftest01 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs lftest01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.linker01.sh b/testcase/fs/ltp.fs.linker01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f2d3fcd182bda5ad6eedabf8a6819b1143ca4fa7 --- /dev/null +++ b/testcase/fs/ltp.fs.linker01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-639453323 +# @用例名称: ltp.fs.linker01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.linker01 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs linker01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.openfile01.sh b/testcase/fs/ltp.fs.openfile01.sh new file mode 100755 index 0000000000000000000000000000000000000000..085a6e97a9d6ab1f39468669db8438513709f060 --- /dev/null +++ b/testcase/fs/ltp.fs.openfile01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-647981814 +# @用例名称: ltp.fs.openfile01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.openfile01 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs openfile01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.proc01.sh b/testcase/fs/ltp.fs.proc01.sh new file mode 100755 index 0000000000000000000000000000000000000000..88fd0d1fed83486af67e4f166600bfe512097095 --- /dev/null +++ b/testcase/fs/ltp.fs.proc01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-826978217 +# @用例名称: ltp.fs.proc01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.proc01 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs proc01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.quota_remount_test01.sh b/testcase/fs/ltp.fs.quota_remount_test01.sh new file mode 100755 index 0000000000000000000000000000000000000000..130bad42e6be64a0aeca42e5b27b8585f51e8d03 --- /dev/null +++ b/testcase/fs/ltp.fs.quota_remount_test01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-878150076 +# @用例名称: ltp.fs.quota_remount_test01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.quota_remount_test01 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs quota_remount_test01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.read_all_dev.sh b/testcase/fs/ltp.fs.read_all_dev.sh new file mode 100755 index 0000000000000000000000000000000000000000..e545f247d35de8da073e8e1ddb0a1f55dd0d35fd --- /dev/null +++ b/testcase/fs/ltp.fs.read_all_dev.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-837499778 +# @用例名称: ltp.fs.read_all_dev +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.read_all_dev + # @预期结果:1: 用例返回0 + ltp_run_testcase fs read_all_dev + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.read_all_proc.sh b/testcase/fs/ltp.fs.read_all_proc.sh new file mode 100755 index 0000000000000000000000000000000000000000..d950eaf4aecac9de11d1a16dc50a25332ece0a2d --- /dev/null +++ b/testcase/fs/ltp.fs.read_all_proc.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-846235408 +# @用例名称: ltp.fs.read_all_proc +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.read_all_proc + # @预期结果:1: 用例返回0 + ltp_run_testcase fs read_all_proc + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.read_all_sys.sh b/testcase/fs/ltp.fs.read_all_sys.sh new file mode 100755 index 0000000000000000000000000000000000000000..9f91f10d2e00ec593b68f5e2e034ddc84878d309 --- /dev/null +++ b/testcase/fs/ltp.fs.read_all_sys.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-854839450 +# @用例名称: ltp.fs.read_all_sys +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.read_all_sys + # @预期结果:1: 用例返回0 + ltp_run_testcase fs read_all_sys + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.rwtest01.sh b/testcase/fs/ltp.fs.rwtest01.sh new file mode 100755 index 0000000000000000000000000000000000000000..6c4361dc34cda21b02a64357914c4c1cf1aa0ee8 --- /dev/null +++ b/testcase/fs/ltp.fs.rwtest01.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-572983995 +# @用例名称: ltp.fs.rwtest01 +# @用例级别: 3 +# @用例标签: +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.rwtest01 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs rwtest01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.rwtest02.sh b/testcase/fs/ltp.fs.rwtest02.sh new file mode 100755 index 0000000000000000000000000000000000000000..2dd97f77b5634c1334e58ab433c585d676e39c6d --- /dev/null +++ b/testcase/fs/ltp.fs.rwtest02.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-581759008 +# @用例名称: ltp.fs.rwtest02 +# @用例级别: 3 +# @用例标签: +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.rwtest02 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs rwtest02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.rwtest03.sh b/testcase/fs/ltp.fs.rwtest03.sh new file mode 100755 index 0000000000000000000000000000000000000000..2a0527a3d31dfd22a8081cac5798eb88f108552c --- /dev/null +++ b/testcase/fs/ltp.fs.rwtest03.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-590437800 +# @用例名称: ltp.fs.rwtest03 +# @用例级别: 3 +# @用例标签: +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.rwtest03 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs rwtest03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.rwtest04.sh b/testcase/fs/ltp.fs.rwtest04.sh new file mode 100755 index 0000000000000000000000000000000000000000..75acd0050c354add9835d6d677fa39879705d27e --- /dev/null +++ b/testcase/fs/ltp.fs.rwtest04.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-599044488 +# @用例名称: ltp.fs.rwtest04 +# @用例级别: 3 +# @用例标签: +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.rwtest04 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs rwtest04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.rwtest05.sh b/testcase/fs/ltp.fs.rwtest05.sh new file mode 100755 index 0000000000000000000000000000000000000000..358d010d13e9301e1a372d8b09868b16e26415c7 --- /dev/null +++ b/testcase/fs/ltp.fs.rwtest05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-607532503 +# @用例名称: ltp.fs.rwtest05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.rwtest05 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs rwtest05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.squashfs01.sh b/testcase/fs/ltp.fs.squashfs01.sh new file mode 100755 index 0000000000000000000000000000000000000000..efdf70c15f6fd03c238b724b4d52cec14932270e --- /dev/null +++ b/testcase/fs/ltp.fs.squashfs01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-929207500 +# @用例名称: ltp.fs.squashfs01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.squashfs01 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs squashfs01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.stream01.sh b/testcase/fs/ltp.fs.stream01.sh new file mode 100755 index 0000000000000000000000000000000000000000..62eab0abbf479de010100925decbbc3a11ffa2fa --- /dev/null +++ b/testcase/fs/ltp.fs.stream01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-674421606 +# @用例名称: ltp.fs.stream01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.stream01 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs stream01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.stream02.sh b/testcase/fs/ltp.fs.stream02.sh new file mode 100755 index 0000000000000000000000000000000000000000..afe09dd259dd6f107dd31b7510ca622f404a0870 --- /dev/null +++ b/testcase/fs/ltp.fs.stream02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-683385402 +# @用例名称: ltp.fs.stream02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.stream02 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs stream02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.stream03.sh b/testcase/fs/ltp.fs.stream03.sh new file mode 100755 index 0000000000000000000000000000000000000000..09542c231c5100907619bf9d39f213bebfb4ff8e --- /dev/null +++ b/testcase/fs/ltp.fs.stream03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-692149354 +# @用例名称: ltp.fs.stream03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.stream03 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs stream03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.stream04.sh b/testcase/fs/ltp.fs.stream04.sh new file mode 100755 index 0000000000000000000000000000000000000000..cc2ea5ab83738f8853610b8885da705639ae9ce4 --- /dev/null +++ b/testcase/fs/ltp.fs.stream04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-700824920 +# @用例名称: ltp.fs.stream04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.stream04 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs stream04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.stream05.sh b/testcase/fs/ltp.fs.stream05.sh new file mode 100755 index 0000000000000000000000000000000000000000..2740e6679d365307867795df234a88535dc3a10f --- /dev/null +++ b/testcase/fs/ltp.fs.stream05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-710012165 +# @用例名称: ltp.fs.stream05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.stream05 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs stream05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs/ltp.fs.writetest01.sh b/testcase/fs/ltp.fs.writetest01.sh new file mode 100755 index 0000000000000000000000000000000000000000..05ae2c0833cda32259d2ceda0c102e41b31eeb45 --- /dev/null +++ b/testcase/fs/ltp.fs.writetest01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-801228827 +# @用例名称: ltp.fs.writetest01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs.writetest01 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs writetest01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind01_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..bf0f4e4ea0fb9897befd071868ddf9dd85c32cf2 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-942416902 +# @用例名称: ltp.fs_bind.fs_bind01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind02_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind02_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..c349279bb1acf88772bf0794d4f30b30b16c671a --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind02_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-951132372 +# @用例名称: ltp.fs_bind.fs_bind02_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind02_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind02_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind03_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind03_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..e685d7c2cd19b9beecb1231c417c70d379c2a049 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind03_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-959808470 +# @用例名称: ltp.fs_bind.fs_bind03_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind03_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind03_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind04_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind04_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..50a93c93907fecae5e4f1b7f6906eb88d7986371 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind04_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-968485209 +# @用例名称: ltp.fs_bind.fs_bind04_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind04_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind04_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind05_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind05_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..c906e6d06364e2e8af4434e5f33b4bdb7a0bcc35 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind05_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-977037654 +# @用例名称: ltp.fs_bind.fs_bind05_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind05_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind05_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind06_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind06_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..cde8ccfeadf85ac2767aa7c6895de42253cac945 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind06_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-985717309 +# @用例名称: ltp.fs_bind.fs_bind06_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind06_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind06_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind07-2_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind07-2_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..b516c4ee199074acc3f9b78fb56368968e5605c2 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind07-2_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-003825628 +# @用例名称: ltp.fs_bind.fs_bind07-2_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind07-2_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind07-2_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind07_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind07_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..b2c2ea05cc8d38a190e05016d4a9693dbc6c2b2c --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind07_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212953-995309710 +# @用例名称: ltp.fs_bind.fs_bind07_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind07_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind07_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind08_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind08_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..15767123025da70c67b656e34d9373c951796f9e --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind08_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-012364489 +# @用例名称: ltp.fs_bind.fs_bind08_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind08_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind08_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind09_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind09_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..52c10fde8511369f6214fdde7c8ec20cafeaf13b --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind09_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-022978483 +# @用例名称: ltp.fs_bind.fs_bind09_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind09_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind09_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind10_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind10_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..8b49570d57850e49b487fd5955f12f69529226f3 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind10_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-031461669 +# @用例名称: ltp.fs_bind.fs_bind10_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind10_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind10_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind11_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind11_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..483687703afe7704bebd0d629143fb696009dc77 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind11_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-041380091 +# @用例名称: ltp.fs_bind.fs_bind11_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind11_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind11_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind12_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind12_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..da5bc0c6df2fbc8d489810fe5f75d12db256101c --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind12_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-050381748 +# @用例名称: ltp.fs_bind.fs_bind12_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind12_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind12_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind13_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind13_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..4dd9a438f845ee0f0d0476862a0c7eda379c11cc --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind13_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-059144157 +# @用例名称: ltp.fs_bind.fs_bind13_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind13_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind13_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind14_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind14_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..2b7fbe08c5c0b440d8cd3ce648727c78de7581df --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind14_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-067759030 +# @用例名称: ltp.fs_bind.fs_bind14_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind14_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind14_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind15_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind15_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..5bdd1e8c2d84e0d0f4faf4219e51c9fbe0fdb283 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind15_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-076375225 +# @用例名称: ltp.fs_bind.fs_bind15_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind15_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind15_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind16_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind16_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..6780d6fb8ce269e93e51f286273cac08e9df7d87 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind16_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-084988225 +# @用例名称: ltp.fs_bind.fs_bind16_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind16_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind16_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind17_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind17_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..0f06579142fbf217ef21303aa559b3048c482068 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind17_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-093637501 +# @用例名称: ltp.fs_bind.fs_bind17_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind17_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind17_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind18_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind18_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..9c04e3fe064f2d4f0ec8d9d57888defa5b8414d7 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind18_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-102330591 +# @用例名称: ltp.fs_bind.fs_bind18_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind18_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind18_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind19_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind19_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..94873888ea5aada454e1ebcaccfa0d2ef8cd8cb4 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind19_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-116120890 +# @用例名称: ltp.fs_bind.fs_bind19_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind19_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind19_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind20_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind20_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..1897f267035d67e7b8ae97e09fed2200c2732092 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind20_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-125071991 +# @用例名称: ltp.fs_bind.fs_bind20_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind20_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind20_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind21_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind21_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..53e0c875d86e3e3fca7f840dfa4139d6287192ce --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind21_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-134025528 +# @用例名称: ltp.fs_bind.fs_bind21_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind21_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind21_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind22_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind22_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..0fc4ed4af049c11c417057f8c57f19eab3288786 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind22_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-142671529 +# @用例名称: ltp.fs_bind.fs_bind22_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind22_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind22_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind23_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind23_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..ac9ca0011bc82f826874e6500af68eef4d55095c --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind23_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-151618784 +# @用例名称: ltp.fs_bind.fs_bind23_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind23_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind23_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind24_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind24_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..93088cff8b91756156cc8ca03d2cc494c6efe903 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind24_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-160453088 +# @用例名称: ltp.fs_bind.fs_bind24_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind24_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind24_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS01_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..0e474867dd283ca1c59374b52f9776916a29dd85 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-748038367 +# @用例名称: ltp.fs_bind.fs_bind_cloneNS01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_cloneNS01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_cloneNS01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS02_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS02_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..ff9a7b6cbcfbbcc82f7c13bc286c913e2da8bc49 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS02_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-756629977 +# @用例名称: ltp.fs_bind.fs_bind_cloneNS02_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_cloneNS02_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_cloneNS02_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS03_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS03_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..1cb892d40aa14803bf01e19afa504da948ffd47c --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS03_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-765341651 +# @用例名称: ltp.fs_bind.fs_bind_cloneNS03_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_cloneNS03_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_cloneNS03_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS04_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS04_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..06e86c0d6d853587b695fdc8907249b24771461f --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS04_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-774074835 +# @用例名称: ltp.fs_bind.fs_bind_cloneNS04_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_cloneNS04_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_cloneNS04_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS05_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS05_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c9a44e3398a487226a30b4115d49daf9879e0df --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS05_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-782733349 +# @用例名称: ltp.fs_bind.fs_bind_cloneNS05_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_cloneNS05_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_cloneNS05_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS06_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS06_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..77c1df934fd2c403c8fe531140f8373a98570966 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS06_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-791265397 +# @用例名称: ltp.fs_bind.fs_bind_cloneNS06_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_cloneNS06_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_cloneNS06_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS07_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS07_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..5cf968a74640719dc8da335ea567781dec5f5c22 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_cloneNS07_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-799748042 +# @用例名称: ltp.fs_bind.fs_bind_cloneNS07_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_cloneNS07_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_cloneNS07_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move01_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..4d0a5b5594fc27bb1d5baf24760fc1a2208d4ad2 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-173031468 +# @用例名称: ltp.fs_bind.fs_bind_move01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move02_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move02_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..9504bf90f175a6188bbe566925e7fd4dcd2c3be6 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move02_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-181745106 +# @用例名称: ltp.fs_bind.fs_bind_move02_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move02_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move02_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move03_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move03_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..23083099180995b4074cd634821146924e276812 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move03_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-190369016 +# @用例名称: ltp.fs_bind.fs_bind_move03_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move03_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move03_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move04_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move04_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..542b4b995396070fc700234900b33a45b3812269 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move04_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-199038551 +# @用例名称: ltp.fs_bind.fs_bind_move04_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move04_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move04_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move05_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move05_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..9619f450883215b4804558486c7659193938a207 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move05_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-208439043 +# @用例名称: ltp.fs_bind.fs_bind_move05_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move05_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move05_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move06_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move06_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..02025bb5fffd88f18cb21fc0959842b2f6406c28 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move06_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-217187696 +# @用例名称: ltp.fs_bind.fs_bind_move06_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move06_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move06_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move07_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move07_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..314a73e8fe0fff3870bfadbf5d92d63db30eae40 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move07_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-226196276 +# @用例名称: ltp.fs_bind.fs_bind_move07_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move07_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move07_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move08_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move08_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..0f80339ee6b961afdce9ca51d1d1fead2a3d24d2 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move08_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-235151567 +# @用例名称: ltp.fs_bind.fs_bind_move08_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move08_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move08_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move09_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move09_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..473a206b4bb05cfae8df5c6cc34fe0e03187f691 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move09_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-244077872 +# @用例名称: ltp.fs_bind.fs_bind_move09_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move09_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move09_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move10_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move10_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..101937802f3c7465cb2face87b983a0a7aec575f --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move10_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-252858906 +# @用例名称: ltp.fs_bind.fs_bind_move10_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move10_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move10_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move11_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move11_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..4c1a63a62dbe8355b685152b237f06480096f2cb --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move11_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-261904335 +# @用例名称: ltp.fs_bind.fs_bind_move11_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move11_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move11_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move12_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move12_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..36a78ac0764bde51300fa1818e12cfe433d90a08 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move12_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-270729881 +# @用例名称: ltp.fs_bind.fs_bind_move12_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move12_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move12_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move13_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move13_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..17fa959c5a48869964247ec2393d923375e48262 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move13_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-280706032 +# @用例名称: ltp.fs_bind.fs_bind_move13_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move13_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move13_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move14_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move14_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..8fea67f256e8ee773e3dab3c7b514690824a9382 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move14_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-290441211 +# @用例名称: ltp.fs_bind.fs_bind_move14_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move14_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move14_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move15_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move15_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..e9667804ed81636c10197ffa62ea33a7f4f76b07 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move15_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-299403244 +# @用例名称: ltp.fs_bind.fs_bind_move15_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move15_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move15_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move16_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move16_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..937a128ad084df8821a6ae1f23bfa02256761936 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move16_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-307924071 +# @用例名称: ltp.fs_bind.fs_bind_move16_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move16_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move16_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move17_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move17_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..e8e6b04a36c83cc25b5be2ba9a18c369961ed7c8 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move17_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-316477649 +# @用例名称: ltp.fs_bind.fs_bind_move17_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move17_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move17_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move18_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move18_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..a928acacb66185cecdbcc05f3a14d36c0fc4d01d --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move18_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-324997364 +# @用例名称: ltp.fs_bind.fs_bind_move18_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move18_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move18_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move19_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move19_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..2cd71e06703b8ab031566070e27bcdcc695bff69 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move19_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-333857996 +# @用例名称: ltp.fs_bind.fs_bind_move19_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move19_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move19_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move20_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move20_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..770658f7b3a351797ced26d4887ea5e51d55d04d --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move20_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-343115351 +# @用例名称: ltp.fs_bind.fs_bind_move20_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move20_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move20_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move21_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move21_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..4f5a307f488bf1277b8680448a6addeded40abb4 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move21_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-351848876 +# @用例名称: ltp.fs_bind.fs_bind_move21_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move21_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move21_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_move22_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_move22_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..cdb160b428e7f2c8f9258a1c41b4b6300e071b7d --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_move22_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-361865302 +# @用例名称: ltp.fs_bind.fs_bind_move22_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_move22_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_move22_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind01_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..b558122a34e20ac2a23a252d970c7770f2e4364c --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-374229932 +# @用例名称: ltp.fs_bind.fs_bind_rbind01_sh +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind02_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind02_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..4e664e9171d7e6239f9f519bccef9a0f3572a6c6 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind02_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-382991970 +# @用例名称: ltp.fs_bind.fs_bind_rbind02_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind02_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind02_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind03_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind03_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..b38a69ed3873f7115efbe81485d32b753101c25d --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind03_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-391719865 +# @用例名称: ltp.fs_bind.fs_bind_rbind03_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind03_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind03_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind04_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind04_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..0c54b19308b17f9117a43d5f5b19d61e07da9228 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind04_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-400489477 +# @用例名称: ltp.fs_bind.fs_bind_rbind04_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind04_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind04_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind05_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind05_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..ac63012e2c6d6f69fb04d197c9b6dbf043a176f8 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind05_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-409188237 +# @用例名称: ltp.fs_bind.fs_bind_rbind05_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind05_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind05_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind06_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind06_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..2165cc5afbf2ab095cb34bcc94b93cde6ff54c29 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind06_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-418072694 +# @用例名称: ltp.fs_bind.fs_bind_rbind06_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind06_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind06_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind07-2_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind07-2_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..3743170719aa9e54393e37ef830dd6d394cb0ef8 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind07-2_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-426669744 +# @用例名称: ltp.fs_bind.fs_bind_rbind07-2_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind07-2_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind07-2_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind07_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind07_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..911b6f0a2eea046b20b7a9bf56a233ac829d85dc --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind07_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-435358746 +# @用例名称: ltp.fs_bind.fs_bind_rbind07_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind07_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind07_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind08_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind08_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..8d07872fa3561ac535da10af24528e48061def39 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind08_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-444108531 +# @用例名称: ltp.fs_bind.fs_bind_rbind08_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind08_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind08_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind09_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind09_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..f54cf3bb4a3a33e0f3f16e1e9c8be3dc0ca84f79 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind09_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-452889645 +# @用例名称: ltp.fs_bind.fs_bind_rbind09_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind09_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind09_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind10_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind10_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..317044d972a4448331adfa747a6f63a54146d826 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind10_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-461493537 +# @用例名称: ltp.fs_bind.fs_bind_rbind10_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind10_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind10_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind11_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind11_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..c42e9f8bb188d062b8d3f8a4d49c6702a071e6b4 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind11_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-470207294 +# @用例名称: ltp.fs_bind.fs_bind_rbind11_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind11_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind11_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind12_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind12_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..e968c42ec0664f2d7daf0023e68ef35412d397b9 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind12_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-478999469 +# @用例名称: ltp.fs_bind.fs_bind_rbind12_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind12_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind12_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind13_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind13_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..6fd3ac6d83923b30e6afd692a9a607a9c79464ef --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind13_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-487584166 +# @用例名称: ltp.fs_bind.fs_bind_rbind13_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind13_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind13_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind14_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind14_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..02b92d672630c6676f8d415e5de2ac0c0179078c --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind14_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-496510431 +# @用例名称: ltp.fs_bind.fs_bind_rbind14_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind14_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind14_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind15_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind15_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..1b229cfa1c587a8695541ebad0a689d9033a12b4 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind15_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-505103333 +# @用例名称: ltp.fs_bind.fs_bind_rbind15_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind15_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind15_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind16_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind16_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..d2a4bdaa7af5c2446b1abe668a86eee39b975663 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind16_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-513841937 +# @用例名称: ltp.fs_bind.fs_bind_rbind16_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind16_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind16_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind17_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind17_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..f2acdf6f7e232f04ad8a296b89d4b95a83cf4d2c --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind17_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-522425352 +# @用例名称: ltp.fs_bind.fs_bind_rbind17_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind17_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind17_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind18_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind18_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..6fed3410a91609f6d59c41b53cb785b150c0ee3e --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind18_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-531805316 +# @用例名称: ltp.fs_bind.fs_bind_rbind18_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind18_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind18_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind19_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind19_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..4b6443e36c184e3a3c7a2dc6999a05d3b5a1c3dd --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind19_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-540462137 +# @用例名称: ltp.fs_bind.fs_bind_rbind19_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind19_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind19_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind20_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind20_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..3d704b9edb7e194cbca07d210d4eee6e6037a5c4 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind20_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-549098991 +# @用例名称: ltp.fs_bind.fs_bind_rbind20_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind20_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind20_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind21_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind21_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..da152c74561e131cb51c82e2299be090a805ab18 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind21_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-557812178 +# @用例名称: ltp.fs_bind.fs_bind_rbind21_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind21_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind21_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind22_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind22_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..57de0a8cb4e8e55e3027d64097b6487fad5ebc25 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind22_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-566582381 +# @用例名称: ltp.fs_bind.fs_bind_rbind22_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind22_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind22_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind23_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind23_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..5cbdd7e616fd18795b11c1169e8dc402f57903e2 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind23_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-575362463 +# @用例名称: ltp.fs_bind.fs_bind_rbind23_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind23_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind23_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind24_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind24_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..180524d0526e943945945a83f9d34e2a9c117fb3 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind24_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-584049952 +# @用例名称: ltp.fs_bind.fs_bind_rbind24_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind24_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind24_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind25_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind25_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..212a89a5d6d37a4cfc96812f174d9aff8b6cf962 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind25_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-592609141 +# @用例名称: ltp.fs_bind.fs_bind_rbind25_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind25_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind25_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind26_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind26_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..dc0da0dec0c91aa1bcc9bf75664b0fc03b9ef25f --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind26_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-601359327 +# @用例名称: ltp.fs_bind.fs_bind_rbind26_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind26_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind26_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind27_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind27_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..0b10d050610f70b8fdee16137c91d804ab7132c6 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind27_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-610046755 +# @用例名称: ltp.fs_bind.fs_bind_rbind27_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind27_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind27_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind28_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind28_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..9be84f24530d7f82a2336170f827902d4abe4fee --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind28_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-618769319 +# @用例名称: ltp.fs_bind.fs_bind_rbind28_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind28_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind28_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind29_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind29_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..276d2719ed2fbb890595792e68ff6d6d21e8253e --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind29_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-629762293 +# @用例名称: ltp.fs_bind.fs_bind_rbind29_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind29_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind29_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind30_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind30_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..88e03a42ed5115b850d34a25d5ae0a93a0dcee1e --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind30_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-639928098 +# @用例名称: ltp.fs_bind.fs_bind_rbind30_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind30_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind30_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind31_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind31_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..102a406a3aaf26187a5ab8b044b9253742298563 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind31_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-649598536 +# @用例名称: ltp.fs_bind.fs_bind_rbind31_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind31_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind31_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind32_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind32_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..023845b5e5148bad35576bfc96df9c956ddb6ca8 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind32_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-659114727 +# @用例名称: ltp.fs_bind.fs_bind_rbind32_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind32_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind32_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind33_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind33_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..6069c5d4b3e863529c191a90b759a69628245b6c --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind33_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-668629233 +# @用例名称: ltp.fs_bind.fs_bind_rbind33_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind33_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind33_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind34_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind34_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..af720b1480d5a0d20d7d0aa509b4d8c6d8ab0303 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind34_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-678416460 +# @用例名称: ltp.fs_bind.fs_bind_rbind34_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind34_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind34_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind35_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind35_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..92e08e60a86a56ca04f0f8c2bb43133f164eb4cc --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind35_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-688171126 +# @用例名称: ltp.fs_bind.fs_bind_rbind35_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind35_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind35_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind36_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind36_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..c3a72c22e691433135376bdaf2fa5f5d7c029434 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind36_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-696944145 +# @用例名称: ltp.fs_bind.fs_bind_rbind36_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind36_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind36_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind37_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind37_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..3a9ca472bee8115eef88e0e5a62e1d14b7974be1 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind37_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-705624470 +# @用例名称: ltp.fs_bind.fs_bind_rbind37_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind37_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind37_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind38_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind38_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d23af66e99d6b4abf27ce5488a2f412f4b26705 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind38_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-714409721 +# @用例名称: ltp.fs_bind.fs_bind_rbind38_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind38_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind38_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind39_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind39_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..0991155a76f0111863bffb8989e7db7cfd1f66b4 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_rbind39_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-723069548 +# @用例名称: ltp.fs_bind.fs_bind_rbind39_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_rbind39_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_rbind39_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_bind/ltp.fs_bind.fs_bind_regression_sh.sh b/testcase/fs_bind/ltp.fs_bind.fs_bind_regression_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..9a1b4fae98367b286f1e0031dd3480addf965417 --- /dev/null +++ b/testcase/fs_bind/ltp.fs_bind.fs_bind_regression_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-735586223 +# @用例名称: ltp.fs_bind.fs_bind_regression_sh +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_bind.fs_bind_regression_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_bind fs_bind_regression_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms01.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c3823d8aa34cf92f58a024ee8f17c5c6d3a9317f --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-819414789 +# @用例名称: ltp.fs_perms_simple.fs_perms01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms01 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms02.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms02.sh new file mode 100755 index 0000000000000000000000000000000000000000..d075b4d8ea4fd83e727eb23401ea8079be10af20 --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-828458254 +# @用例名称: ltp.fs_perms_simple.fs_perms02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms02 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms03.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms03.sh new file mode 100755 index 0000000000000000000000000000000000000000..95054db4a06f0c8797a5371bd2716559417fbe76 --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-837232455 +# @用例名称: ltp.fs_perms_simple.fs_perms03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms03 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms04.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms04.sh new file mode 100755 index 0000000000000000000000000000000000000000..e38bb9b07f5c54c9d59f15a597264f5268300cd4 --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-845931866 +# @用例名称: ltp.fs_perms_simple.fs_perms04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms04 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms05.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms05.sh new file mode 100755 index 0000000000000000000000000000000000000000..731fe8434779eea29e98dc7c0f0b2fc6b634ac73 --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-854630826 +# @用例名称: ltp.fs_perms_simple.fs_perms05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms05 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms06.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms06.sh new file mode 100755 index 0000000000000000000000000000000000000000..3f7ecbfc6965c2e8eca0cd413b57c04a9159f277 --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-863486380 +# @用例名称: ltp.fs_perms_simple.fs_perms06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms06 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms07.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms07.sh new file mode 100755 index 0000000000000000000000000000000000000000..ba4dde2bde2aeaac8dc460bc6b9629837591a3c2 --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-872057029 +# @用例名称: ltp.fs_perms_simple.fs_perms07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms07 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms08.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms08.sh new file mode 100755 index 0000000000000000000000000000000000000000..186d3b5e0482adaa295ca0673238a0dcc3f9d926 --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-880537210 +# @用例名称: ltp.fs_perms_simple.fs_perms08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms08 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms09.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms09.sh new file mode 100755 index 0000000000000000000000000000000000000000..4494812e35d7827e40068b4d3744c010cc0e1c98 --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-889102460 +# @用例名称: ltp.fs_perms_simple.fs_perms09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms09 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms10.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms10.sh new file mode 100755 index 0000000000000000000000000000000000000000..09a53a82b1f1850df51b47ed02b2c5b631b1cef5 --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-897726280 +# @用例名称: ltp.fs_perms_simple.fs_perms10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms10 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms11.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms11.sh new file mode 100755 index 0000000000000000000000000000000000000000..dc95b5b522927d50f905502f8cc6728703c67fc6 --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-907413339 +# @用例名称: ltp.fs_perms_simple.fs_perms11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms11 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms12.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms12.sh new file mode 100755 index 0000000000000000000000000000000000000000..cfa3adb00beb085676c6533bfd94d3d54a8ee9c1 --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-915971315 +# @用例名称: ltp.fs_perms_simple.fs_perms12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms12 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms13.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms13.sh new file mode 100755 index 0000000000000000000000000000000000000000..73612cf1758587898683a2626304cc580a32ef18 --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-924482825 +# @用例名称: ltp.fs_perms_simple.fs_perms13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms13 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms14.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms14.sh new file mode 100755 index 0000000000000000000000000000000000000000..d345e6d354b7858cca730a6011c525e4411124e2 --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-933066078 +# @用例名称: ltp.fs_perms_simple.fs_perms14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms14 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms15.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms15.sh new file mode 100755 index 0000000000000000000000000000000000000000..593641c50d6ac97a958ea3d5b196cbe7143e91d4 --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-942192939 +# @用例名称: ltp.fs_perms_simple.fs_perms15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms15 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms16.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms16.sh new file mode 100755 index 0000000000000000000000000000000000000000..6f00a63322db3ae28435c0f2a9f91654071a9df2 --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-950901537 +# @用例名称: ltp.fs_perms_simple.fs_perms16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms16 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms17.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms17.sh new file mode 100755 index 0000000000000000000000000000000000000000..be005ed0c6e098938becf16cdbc2a2073f7069cd --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-963882741 +# @用例名称: ltp.fs_perms_simple.fs_perms17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms17 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms18.sh b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms18.sh new file mode 100755 index 0000000000000000000000000000000000000000..d9472d50fb8e453d741cc8d1b5c0f30d4839cbf4 --- /dev/null +++ b/testcase/fs_perms_simple/ltp.fs_perms_simple.fs_perms18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-972706575 +# @用例名称: ltp.fs_perms_simple.fs_perms18 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_perms_simple.fs_perms18 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_perms_simple fs_perms18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind01.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind01.sh new file mode 100755 index 0000000000000000000000000000000000000000..5ce1c347900a45d1da0902c7cf8661c3b89c440e --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-983168435 +# @用例名称: ltp.fs_readonly.test_robind01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind01 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind02.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind02.sh new file mode 100755 index 0000000000000000000000000000000000000000..0a75831fc9920bed3c95885d6ce49e248ed54488 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212954-991725720 +# @用例名称: ltp.fs_readonly.test_robind02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind02 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind03.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind03.sh new file mode 100755 index 0000000000000000000000000000000000000000..aee13b221c638bf327ddb61462525d13e67a82e3 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-000336986 +# @用例名称: ltp.fs_readonly.test_robind03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind03 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind04.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind04.sh new file mode 100755 index 0000000000000000000000000000000000000000..5c4fc960594edb26eb570692968430f195ad90cc --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-009095368 +# @用例名称: ltp.fs_readonly.test_robind04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind04 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind05.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind05.sh new file mode 100755 index 0000000000000000000000000000000000000000..277d4d8a716c2525128017aaed90597e4d8c04b9 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-018466004 +# @用例名称: ltp.fs_readonly.test_robind05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind05 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind06.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind06.sh new file mode 100755 index 0000000000000000000000000000000000000000..066f40c57dccd62d18686de6fee59dbe5d58804c --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-027111124 +# @用例名称: ltp.fs_readonly.test_robind06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind06 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind07.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind07.sh new file mode 100755 index 0000000000000000000000000000000000000000..17bfc201ec2feee4e8a7b51e4e09ccb11a0fddc9 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-035736867 +# @用例名称: ltp.fs_readonly.test_robind07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind07 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind08.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind08.sh new file mode 100755 index 0000000000000000000000000000000000000000..383d02ab154eee64ffcf163cbe38678c9e4d71a6 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-044360326 +# @用例名称: ltp.fs_readonly.test_robind08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind08 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind09.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind09.sh new file mode 100755 index 0000000000000000000000000000000000000000..353cdba78d6f7ff713c451251eb99f61ce854962 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-052925015 +# @用例名称: ltp.fs_readonly.test_robind09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind09 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind10.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind10.sh new file mode 100755 index 0000000000000000000000000000000000000000..c1a5945963f434e445606ec00869f5c5693f9eb7 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-064580668 +# @用例名称: ltp.fs_readonly.test_robind10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind10 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind11.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind11.sh new file mode 100755 index 0000000000000000000000000000000000000000..2dbeaa2793fdcb8dc82fabcfd8c02fa716ac44cf --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-073234725 +# @用例名称: ltp.fs_readonly.test_robind11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind11 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind12.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind12.sh new file mode 100755 index 0000000000000000000000000000000000000000..f11d9adbe60261950ac972c18dfc95178cdc9b41 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-082025046 +# @用例名称: ltp.fs_readonly.test_robind12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind12 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind13.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind13.sh new file mode 100755 index 0000000000000000000000000000000000000000..2f0cb4ff31381cbcd75b97b0ef3df68747a66ab3 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-090935342 +# @用例名称: ltp.fs_readonly.test_robind13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind13 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind14.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind14.sh new file mode 100755 index 0000000000000000000000000000000000000000..04d887284dce660f5f9c6a07eecef30991ca0630 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-099511462 +# @用例名称: ltp.fs_readonly.test_robind14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind14 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind15.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind15.sh new file mode 100755 index 0000000000000000000000000000000000000000..9926a29eac48ff3416b79e1b7790a65ec682a21c --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-108136143 +# @用例名称: ltp.fs_readonly.test_robind15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind15 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind16.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind16.sh new file mode 100755 index 0000000000000000000000000000000000000000..00b505d1c26f85ac32724de328866404ab523a13 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-116759091 +# @用例名称: ltp.fs_readonly.test_robind16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind16 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind17.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind17.sh new file mode 100755 index 0000000000000000000000000000000000000000..a58f8b19dc3c128dfd3b88f18980e3f2e05c5832 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-125384593 +# @用例名称: ltp.fs_readonly.test_robind17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind17 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind18.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind18.sh new file mode 100755 index 0000000000000000000000000000000000000000..4edf33bbb6e3c88dc350f23c13b0e4a873a0d55a --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-133952539 +# @用例名称: ltp.fs_readonly.test_robind18 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind18 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind19.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind19.sh new file mode 100755 index 0000000000000000000000000000000000000000..e03ac6122f0daf6ded7b2c38984dcd466b298257 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind19.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-142584333 +# @用例名称: ltp.fs_readonly.test_robind19 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind19 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind20.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind20.sh new file mode 100755 index 0000000000000000000000000000000000000000..72619727250623d0e193ce253cc2a33b9f466547 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind20.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-151164871 +# @用例名称: ltp.fs_readonly.test_robind20 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind20 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind21.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind21.sh new file mode 100755 index 0000000000000000000000000000000000000000..de98125cb102233ac948d36be5379e309ef1e89d --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind21.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-159881825 +# @用例名称: ltp.fs_readonly.test_robind21 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind21 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind22.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind22.sh new file mode 100755 index 0000000000000000000000000000000000000000..edff9fcbd02934550a70d76cf40f5bd228b36e65 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind22.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-168500786 +# @用例名称: ltp.fs_readonly.test_robind22 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind22 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind22 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind23.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind23.sh new file mode 100755 index 0000000000000000000000000000000000000000..9fcaed542c9ad6116ca6c7f98816f4c3471fb8a2 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind23.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-177227198 +# @用例名称: ltp.fs_readonly.test_robind23 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind23 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind23 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind24.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind24.sh new file mode 100755 index 0000000000000000000000000000000000000000..28554bf73964905c695a5eab3b94cdb77b682cc9 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind24.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-185870884 +# @用例名称: ltp.fs_readonly.test_robind24 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind24 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind24 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind25.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind25.sh new file mode 100755 index 0000000000000000000000000000000000000000..b59f0ef6e26d9073303fc099ffe55d26c8cc6b85 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind25.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-194432818 +# @用例名称: ltp.fs_readonly.test_robind25 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind25 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind25 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind26.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind26.sh new file mode 100755 index 0000000000000000000000000000000000000000..e58e0035ec912eae8cc6b9001a87ec6d5ff29b6a --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind26.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-206181265 +# @用例名称: ltp.fs_readonly.test_robind26 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind26 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind26 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind27.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind27.sh new file mode 100755 index 0000000000000000000000000000000000000000..2f44223dbe158e81cfd9e8326978d45ddd89c3f5 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind27.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-215050574 +# @用例名称: ltp.fs_readonly.test_robind27 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind27 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind27 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind28.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind28.sh new file mode 100755 index 0000000000000000000000000000000000000000..e58a056ae6fc85cefd5c808526b0646021f1fcdd --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind28.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-224885429 +# @用例名称: ltp.fs_readonly.test_robind28 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind28 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind28 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind29.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind29.sh new file mode 100755 index 0000000000000000000000000000000000000000..05c0a8d1dcc68b0582c402f5136c9eeb1cb0c007 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind29.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-233459646 +# @用例名称: ltp.fs_readonly.test_robind29 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind29 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind29 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind30.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind30.sh new file mode 100755 index 0000000000000000000000000000000000000000..0da58b9b56937137b67fa3c843ba5515bac98e08 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind30.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-242004548 +# @用例名称: ltp.fs_readonly.test_robind30 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind30 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind30 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind31.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind31.sh new file mode 100755 index 0000000000000000000000000000000000000000..22ea3454183dbb9a2591ae0e14128fd632945571 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind31.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-251596260 +# @用例名称: ltp.fs_readonly.test_robind31 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind31 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind31 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind32.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind32.sh new file mode 100755 index 0000000000000000000000000000000000000000..938bbdd26a2ff78d528682a8135f5ef75714de1a --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind32.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-260100896 +# @用例名称: ltp.fs_readonly.test_robind32 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind32 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind32 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind33.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind33.sh new file mode 100755 index 0000000000000000000000000000000000000000..25f0f69dc920b37e19c43fb8f37869e7cd4c7846 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind33.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-268940399 +# @用例名称: ltp.fs_readonly.test_robind33 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind33 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind33 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind34.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind34.sh new file mode 100755 index 0000000000000000000000000000000000000000..99076c81a45ab7784834de7e998a05a842da6b6f --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind34.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-277711624 +# @用例名称: ltp.fs_readonly.test_robind34 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind34 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind34 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind35.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind35.sh new file mode 100755 index 0000000000000000000000000000000000000000..5603c4de8145e951fa4755bb5a71e6e725919c45 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind35.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-286166397 +# @用例名称: ltp.fs_readonly.test_robind35 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind35 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind35 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind36.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind36.sh new file mode 100755 index 0000000000000000000000000000000000000000..4eb725465f7963a67979490e49ed874fe031f7fc --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind36.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-296411141 +# @用例名称: ltp.fs_readonly.test_robind36 +# @用例级别: 3 +# @用例标签: +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind36 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind36 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind37.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind37.sh new file mode 100755 index 0000000000000000000000000000000000000000..f974ee7173dc1176774889704571f4f3843c0309 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind37.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-306365721 +# @用例名称: ltp.fs_readonly.test_robind37 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind37 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind37 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind38.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind38.sh new file mode 100755 index 0000000000000000000000000000000000000000..e999a58ecda3c349ab2bf17228565731729ffb45 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind38.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-314945027 +# @用例名称: ltp.fs_readonly.test_robind38 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind38 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind38 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind39.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind39.sh new file mode 100755 index 0000000000000000000000000000000000000000..14d74d80b3e0132efbd5448d4c5f198691c64f82 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind39.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-323945552 +# @用例名称: ltp.fs_readonly.test_robind39 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind39 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind39 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind40.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind40.sh new file mode 100755 index 0000000000000000000000000000000000000000..ead8036a5438272525ec74bde6240c5eb440c643 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind40.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-332565604 +# @用例名称: ltp.fs_readonly.test_robind40 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind40 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind40 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind41.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind41.sh new file mode 100755 index 0000000000000000000000000000000000000000..246fdaf6880c326143393de092e450e92153315b --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind41.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-341216855 +# @用例名称: ltp.fs_readonly.test_robind41 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind41 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind41 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind42.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind42.sh new file mode 100755 index 0000000000000000000000000000000000000000..95f281f9e8e234a25e9659f4f5454fcf8b4d9722 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind42.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-349844431 +# @用例名称: ltp.fs_readonly.test_robind42 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind42 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind42 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind43.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind43.sh new file mode 100755 index 0000000000000000000000000000000000000000..80ecd71f56de4526bdfc6d59bb15744dff9456dc --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind43.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-358562788 +# @用例名称: ltp.fs_readonly.test_robind43 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind43 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind43 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind44.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind44.sh new file mode 100755 index 0000000000000000000000000000000000000000..3d32ceb2602635493cf6f81558207185a11b1d5b --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind44.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-367903880 +# @用例名称: ltp.fs_readonly.test_robind44 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind44 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind44 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind45.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind45.sh new file mode 100755 index 0000000000000000000000000000000000000000..317dfdd2a58ea7fdbaa6646837fb26aee3d90390 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind45.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-376621214 +# @用例名称: ltp.fs_readonly.test_robind45 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind45 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind45 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind46.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind46.sh new file mode 100755 index 0000000000000000000000000000000000000000..fcaac98a177ec2d0508a3d337f48a5f98dd28c82 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind46.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-385217753 +# @用例名称: ltp.fs_readonly.test_robind46 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind46 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind46 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind47.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind47.sh new file mode 100755 index 0000000000000000000000000000000000000000..de42e24fc8afb6fae9e3cafb9c9c2ba16ed3dae0 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind47.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-393788062 +# @用例名称: ltp.fs_readonly.test_robind47 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind47 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind47 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind48.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind48.sh new file mode 100755 index 0000000000000000000000000000000000000000..2b6f64bb449046306ac51f38ed9109d1f8151eee --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind48.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-402360646 +# @用例名称: ltp.fs_readonly.test_robind48 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind48 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind48 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind49.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind49.sh new file mode 100755 index 0000000000000000000000000000000000000000..f8a9a6c3bc1b740841f56da4e5e673bfffd0752b --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind49.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-410932619 +# @用例名称: ltp.fs_readonly.test_robind49 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind49 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind49 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind50.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind50.sh new file mode 100755 index 0000000000000000000000000000000000000000..0336bf6ff98a8e8ba9a1f31cf209da30c82b251a --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind50.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-419631549 +# @用例名称: ltp.fs_readonly.test_robind50 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind50 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind50 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind51.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind51.sh new file mode 100755 index 0000000000000000000000000000000000000000..194ee9e03fb08b3bb52e4ea5b6db3a2f5aa727c8 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind51.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-428225893 +# @用例名称: ltp.fs_readonly.test_robind51 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind51 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind51 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind52.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind52.sh new file mode 100755 index 0000000000000000000000000000000000000000..5138c44794cb5bf1d7d3723e90359b8bfc14d27b --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind52.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-438993395 +# @用例名称: ltp.fs_readonly.test_robind52 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind52 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind52 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind53.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind53.sh new file mode 100755 index 0000000000000000000000000000000000000000..1e515bd3f4f1ed65422d88e7bcefc45e9bfc64b1 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind53.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-447531133 +# @用例名称: ltp.fs_readonly.test_robind53 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind53 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind53 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind54.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind54.sh new file mode 100755 index 0000000000000000000000000000000000000000..7c1e98d438a5ed88b96e3b5f5fb21305dcdf8747 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind54.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-456320522 +# @用例名称: ltp.fs_readonly.test_robind54 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind54 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind54 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/fs_readonly/ltp.fs_readonly.test_robind55.sh b/testcase/fs_readonly/ltp.fs_readonly.test_robind55.sh new file mode 100755 index 0000000000000000000000000000000000000000..fe967217f7bdc3fc8506666c47a249928292dc18 --- /dev/null +++ b/testcase/fs_readonly/ltp.fs_readonly.test_robind55.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-464990889 +# @用例名称: ltp.fs_readonly.test_robind55 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.fs_readonly.test_robind55 + # @预期结果:1: 用例返回0 + ltp_run_testcase fs_readonly test_robind55 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugefallocate01.sh b/testcase/hugetlb/ltp.hugetlb.hugefallocate01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d0a67973668002d06a55a5d9375dcad0d8fe6642 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugefallocate01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141848-159070093 +# @用例名称: ltp.hugetlb.hugefallocate01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugefallocate01 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugefallocate01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugefallocate02.sh b/testcase/hugetlb/ltp.hugetlb.hugefallocate02.sh new file mode 100755 index 0000000000000000000000000000000000000000..231024d2191c697d400da8142cfd227fd5fb59c8 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugefallocate02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141848-222332703 +# @用例名称: ltp.hugetlb.hugefallocate02 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugefallocate02 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugefallocate02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugefork01.sh b/testcase/hugetlb/ltp.hugetlb.hugefork01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c485825fc6f9c5cf13c6d4fd12982a2e34c7bedf --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugefork01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141848-285761736 +# @用例名称: ltp.hugetlb.hugefork01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugefork01 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugefork01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugefork02.sh b/testcase/hugetlb/ltp.hugetlb.hugefork02.sh new file mode 100755 index 0000000000000000000000000000000000000000..d3ac40e2613027996398a62f93cdfa6cda1b0f0c --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugefork02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141848-348640760 +# @用例名称: ltp.hugetlb.hugefork02 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugefork02 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugefork02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap01.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d0d49ad78b224abf03eded4f635c43361f1dc95b --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-494015919 +# @用例名称: ltp.hugetlb.hugemmap01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap01 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap02.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap02.sh new file mode 100755 index 0000000000000000000000000000000000000000..2dd4eb1a1e5cfcb2711b6c7d230b010ea47c91a3 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-502794970 +# @用例名称: ltp.hugetlb.hugemmap02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap02 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap04.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap04.sh new file mode 100755 index 0000000000000000000000000000000000000000..66e06f30a7e16d0b74ff4b2757afb15293f1da2a --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-511557860 +# @用例名称: ltp.hugetlb.hugemmap04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap04 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap05.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap05.sh new file mode 100755 index 0000000000000000000000000000000000000000..324d5ff32983fad88b2c9e89413116742513b23b --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-520118661 +# @用例名称: ltp.hugetlb.hugemmap05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap05 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap05_1.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap05_1.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c3b77c79135ded55e3e84da1d70837258c9907b --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap05_1.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-537399842 +# @用例名称: ltp.hugetlb.hugemmap05_1 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap05_1 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap05_1 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap05_2.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap05_2.sh new file mode 100755 index 0000000000000000000000000000000000000000..2cc8312e984cec745c8af29df456eaa223c8dab3 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap05_2.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-546200162 +# @用例名称: ltp.hugetlb.hugemmap05_2 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap05_2 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap05_2 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap05_3.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap05_3.sh new file mode 100755 index 0000000000000000000000000000000000000000..f2fa405a133724390ef30d17a471df3deed78248 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap05_3.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-554785210 +# @用例名称: ltp.hugetlb.hugemmap05_3 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap05_3 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap05_3 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap06.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap06.sh new file mode 100755 index 0000000000000000000000000000000000000000..38b8448f1da0c39585cc1c11d2a206bf7fc61442 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-528895186 +# @用例名称: ltp.hugetlb.hugemmap06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap06 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap07.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap07.sh new file mode 100755 index 0000000000000000000000000000000000000000..61834444d105495c0a13f5da4ad8b29fbf3c30c5 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141848-412160359 +# @用例名称: ltp.hugetlb.hugemmap07 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap07 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap08.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap08.sh new file mode 100755 index 0000000000000000000000000000000000000000..b397f0f58887b5ad969ea2403a9d7d79dbb1b1f7 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141848-476310138 +# @用例名称: ltp.hugetlb.hugemmap08 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap08 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap09.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap09.sh new file mode 100755 index 0000000000000000000000000000000000000000..a20c839dc4dad72c9bc7c692210c4b4cccb89e0f --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141848-540373848 +# @用例名称: ltp.hugetlb.hugemmap09 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap09 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap10.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap10.sh new file mode 100755 index 0000000000000000000000000000000000000000..31801c897de0a25bb4c97d15b14ed8ef906ddb8e --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141848-603395198 +# @用例名称: ltp.hugetlb.hugemmap10 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap10 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap11.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap11.sh new file mode 100755 index 0000000000000000000000000000000000000000..73c86403a949b5b99934bbf52ca358b1b3bd54d5 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141848-666298380 +# @用例名称: ltp.hugetlb.hugemmap11 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap11 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap12.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap12.sh new file mode 100755 index 0000000000000000000000000000000000000000..fd02b04dfddce3c291f10492a57b30f998e4b703 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141848-729388677 +# @用例名称: ltp.hugetlb.hugemmap12 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap12 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap13.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap13.sh new file mode 100755 index 0000000000000000000000000000000000000000..2351caea14954d26360b82d5fea3f6c82bf3ae9d --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141848-793654781 +# @用例名称: ltp.hugetlb.hugemmap13 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap13 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap14.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap14.sh new file mode 100755 index 0000000000000000000000000000000000000000..5b724624d8427ec9686c863abeece6c9d7af6045 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141848-857307101 +# @用例名称: ltp.hugetlb.hugemmap14 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap14 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap15.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap15.sh new file mode 100755 index 0000000000000000000000000000000000000000..804319fd6ad33b2ee05c45f2c2358266d4e2ec02 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141848-920819059 +# @用例名称: ltp.hugetlb.hugemmap15 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap15 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap16.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap16.sh new file mode 100755 index 0000000000000000000000000000000000000000..b687a314510373c74f6dd592f50586a8226ac6a4 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141848-984573084 +# @用例名称: ltp.hugetlb.hugemmap16 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap16 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap17.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap17.sh new file mode 100755 index 0000000000000000000000000000000000000000..3790ad164f6fe7c62e54678639263eb8412d03ff --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141849-047293185 +# @用例名称: ltp.hugetlb.hugemmap17 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap17 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap18.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap18.sh new file mode 100755 index 0000000000000000000000000000000000000000..33cf4cd6a6f32dcd737fe7d8b242d48f419b793b --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141849-112283799 +# @用例名称: ltp.hugetlb.hugemmap18 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap18 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap19.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap19.sh new file mode 100755 index 0000000000000000000000000000000000000000..44735d2517409058337269cfc4aece1222d23c06 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap19.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141849-174740127 +# @用例名称: ltp.hugetlb.hugemmap19 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap19 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap20.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap20.sh new file mode 100755 index 0000000000000000000000000000000000000000..eddf464ab72796e6d210d7c2056a15e1a407b515 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap20.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141849-241306488 +# @用例名称: ltp.hugetlb.hugemmap20 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap20 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap21.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap21.sh new file mode 100755 index 0000000000000000000000000000000000000000..91e7a9c315566e338522eef70b50bd147a5fda3c --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap21.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141849-309883572 +# @用例名称: ltp.hugetlb.hugemmap21 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap21 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap22.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap22.sh new file mode 100755 index 0000000000000000000000000000000000000000..78bce2763b5aa24b6731c04748d832777a67e1e1 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap22.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141849-374185257 +# @用例名称: ltp.hugetlb.hugemmap22 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap22 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap22 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap23.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap23.sh new file mode 100755 index 0000000000000000000000000000000000000000..e301e6239c94290a4ee6f0b16c35d3e3ea84475d --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap23.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141849-436969183 +# @用例名称: ltp.hugetlb.hugemmap23 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap23 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap23 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap24.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap24.sh new file mode 100755 index 0000000000000000000000000000000000000000..47f280a1db2b3201845b7bd2643519c6753a4c58 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap24.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141849-500650141 +# @用例名称: ltp.hugetlb.hugemmap24 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap24 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap24 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap25.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap25.sh new file mode 100755 index 0000000000000000000000000000000000000000..7f75238d5aa571ad936f7d95b39803d56a112a21 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap25.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141849-564480848 +# @用例名称: ltp.hugetlb.hugemmap25 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap25 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap25 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap26.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap26.sh new file mode 100755 index 0000000000000000000000000000000000000000..d647533e502f62e56859f1aa12c1b6331e847f4e --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap26.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141849-627853087 +# @用例名称: ltp.hugetlb.hugemmap26 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap26 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap26 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap27.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap27.sh new file mode 100755 index 0000000000000000000000000000000000000000..7fabf6186e391bf0666fbf457dca3cac9f3a9d52 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap27.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141849-693879916 +# @用例名称: ltp.hugetlb.hugemmap27 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap27 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap27 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap28.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap28.sh new file mode 100755 index 0000000000000000000000000000000000000000..d915d311c080878fc989eef2fcb5c282c1db142c --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap28.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141849-756876608 +# @用例名称: ltp.hugetlb.hugemmap28 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap28 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap28 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap29.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap29.sh new file mode 100755 index 0000000000000000000000000000000000000000..a198acf881bb47f3f8e4cfac9bc00be098b0ed10 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap29.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141849-820947152 +# @用例名称: ltp.hugetlb.hugemmap29 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap29 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap29 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap30.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap30.sh new file mode 100755 index 0000000000000000000000000000000000000000..bc674033ba1319d0984dcdcf8a7924c60fea1892 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap30.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141849-886743326 +# @用例名称: ltp.hugetlb.hugemmap30 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap30 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap30 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap31.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap31.sh new file mode 100755 index 0000000000000000000000000000000000000000..a64f77452a89c720f91bb4b10f9e5dbab6c5607f --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap31.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141849-949423043 +# @用例名称: ltp.hugetlb.hugemmap31 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap31 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap31 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap32.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap32.sh new file mode 100755 index 0000000000000000000000000000000000000000..a56a0b14255b0eeabf4536dea78a76cc672f8a19 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap32.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141850-013436511 +# @用例名称: ltp.hugetlb.hugemmap32 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap32 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap32 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugemmap34.sh b/testcase/hugetlb/ltp.hugetlb.hugemmap34.sh new file mode 100755 index 0000000000000000000000000000000000000000..68bfa286e9681c3bde1667f5bb88b8703610d2c1 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugemmap34.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110834-963946127 +# @用例名称: ltp.hugetlb.hugemmap34 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugemmap34 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugemmap34 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugeshmat01.sh b/testcase/hugetlb/ltp.hugetlb.hugeshmat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f242fc6f246c0603ec12427f0c155429ef4471a7 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugeshmat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-565204940 +# @用例名称: ltp.hugetlb.hugeshmat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugeshmat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugeshmat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugeshmat02.sh b/testcase/hugetlb/ltp.hugetlb.hugeshmat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..86e8fb48bd4a8a593a6d264ffadf9d0bf8dab95b --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugeshmat02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-573956538 +# @用例名称: ltp.hugetlb.hugeshmat02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugeshmat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugeshmat02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugeshmat03.sh b/testcase/hugetlb/ltp.hugetlb.hugeshmat03.sh new file mode 100755 index 0000000000000000000000000000000000000000..03881c1a34e5f997359a581ea35c6e1eafd5a750 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugeshmat03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-586654112 +# @用例名称: ltp.hugetlb.hugeshmat03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugeshmat03 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugeshmat03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugeshmat04.sh b/testcase/hugetlb/ltp.hugetlb.hugeshmat04.sh new file mode 100755 index 0000000000000000000000000000000000000000..240033c4b95175b02ac2f7e1cfac5eb383a707b8 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugeshmat04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-595223570 +# @用例名称: ltp.hugetlb.hugeshmat04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugeshmat04 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugeshmat04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugeshmat05.sh b/testcase/hugetlb/ltp.hugetlb.hugeshmat05.sh new file mode 100755 index 0000000000000000000000000000000000000000..24745e46a67e07304f0be302ff5a35f3b5d07c74 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugeshmat05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-603809168 +# @用例名称: ltp.hugetlb.hugeshmat05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugeshmat05 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugeshmat05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugeshmctl01.sh b/testcase/hugetlb/ltp.hugetlb.hugeshmctl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..164774b0a6a00996e19452b55ffe53711d81bb15 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugeshmctl01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-614430266 +# @用例名称: ltp.hugetlb.hugeshmctl01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugeshmctl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugeshmctl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugeshmctl02.sh b/testcase/hugetlb/ltp.hugetlb.hugeshmctl02.sh new file mode 100755 index 0000000000000000000000000000000000000000..08203f20051b001a738111dc9b35fd9d5f9c65c7 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugeshmctl02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-622987881 +# @用例名称: ltp.hugetlb.hugeshmctl02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugeshmctl02 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugeshmctl02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugeshmctl03.sh b/testcase/hugetlb/ltp.hugetlb.hugeshmctl03.sh new file mode 100755 index 0000000000000000000000000000000000000000..63a469edd5749404f2b6c384da0a7cc12e418bf4 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugeshmctl03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-632475367 +# @用例名称: ltp.hugetlb.hugeshmctl03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugeshmctl03 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugeshmctl03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugeshmdt01.sh b/testcase/hugetlb/ltp.hugetlb.hugeshmdt01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8f4e3ed6192bb0314e1b44d78f16a86b85378e1f --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugeshmdt01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-642940152 +# @用例名称: ltp.hugetlb.hugeshmdt01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugeshmdt01 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugeshmdt01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugeshmget01.sh b/testcase/hugetlb/ltp.hugetlb.hugeshmget01.sh new file mode 100755 index 0000000000000000000000000000000000000000..1d84c1887fa80957e38484d5d6ba2ab47d113ef9 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugeshmget01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-653370533 +# @用例名称: ltp.hugetlb.hugeshmget01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugeshmget01 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugeshmget01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugeshmget02.sh b/testcase/hugetlb/ltp.hugetlb.hugeshmget02.sh new file mode 100755 index 0000000000000000000000000000000000000000..35dffba5828277660b99754fbd5e1d8389bb8961 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugeshmget02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-665138837 +# @用例名称: ltp.hugetlb.hugeshmget02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugeshmget02 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugeshmget02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugeshmget03.sh b/testcase/hugetlb/ltp.hugetlb.hugeshmget03.sh new file mode 100755 index 0000000000000000000000000000000000000000..9a1a49a94f44b45f9a5f4ef934b2a833de1db33f --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugeshmget03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-673963212 +# @用例名称: ltp.hugetlb.hugeshmget03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugeshmget03 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugeshmget03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugeshmget05.sh b/testcase/hugetlb/ltp.hugetlb.hugeshmget05.sh new file mode 100755 index 0000000000000000000000000000000000000000..ef7ddcf70d91b52e1f5fe4e3b966acf4b25b2159 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugeshmget05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-682727485 +# @用例名称: ltp.hugetlb.hugeshmget05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugeshmget05 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugeshmget05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hugetlb/ltp.hugetlb.hugeshmget06.sh b/testcase/hugetlb/ltp.hugetlb.hugeshmget06.sh new file mode 100755 index 0000000000000000000000000000000000000000..e805b387774114d88d1c7476cd19d5b976b72eb3 --- /dev/null +++ b/testcase/hugetlb/ltp.hugetlb.hugeshmget06.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110835-044120886 +# @用例名称: ltp.hugetlb.hugeshmget06 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hugetlb.hugeshmget06 + # @预期结果:1: 用例返回0 + ltp_run_testcase hugetlb hugeshmget06 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hyperthreading/ltp.hyperthreading.smt_smp_affinity.sh b/testcase/hyperthreading/ltp.hyperthreading.smt_smp_affinity.sh new file mode 100755 index 0000000000000000000000000000000000000000..7051e27190477962b5d5dd1a1a8236a2103da9bc --- /dev/null +++ b/testcase/hyperthreading/ltp.hyperthreading.smt_smp_affinity.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-702811512 +# @用例名称: ltp.hyperthreading.smt_smp_affinity +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hyperthreading.smt_smp_affinity + # @预期结果:1: 用例返回0 + ltp_run_testcase hyperthreading smt_smp_affinity + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/hyperthreading/ltp.hyperthreading.smt_smp_enabled.sh b/testcase/hyperthreading/ltp.hyperthreading.smt_smp_enabled.sh new file mode 100755 index 0000000000000000000000000000000000000000..b40c38b77533302faa3ed73f959f963e231c2e19 --- /dev/null +++ b/testcase/hyperthreading/ltp.hyperthreading.smt_smp_enabled.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-694161413 +# @用例名称: ltp.hyperthreading.smt_smp_enabled +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.hyperthreading.smt_smp_enabled + # @预期结果:1: 用例返回0 + ltp_run_testcase hyperthreading smt_smp_enabled + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ima/ltp.ima.evm_overlay.sh b/testcase/ima/ltp.ima.evm_overlay.sh new file mode 100755 index 0000000000000000000000000000000000000000..06e140b058192df659b8487040255d907eeb659e --- /dev/null +++ b/testcase/ima/ltp.ima.evm_overlay.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-792384619 +# @用例名称: ltp.ima.evm_overlay +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ima.evm_overlay + # @预期结果:1: 用例返回0 + ltp_run_testcase ima evm_overlay + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ima/ltp.ima.ima_conditionals.sh b/testcase/ima/ltp.ima.ima_conditionals.sh new file mode 100755 index 0000000000000000000000000000000000000000..af733388472996ea5c12987783535b112ca65da1 --- /dev/null +++ b/testcase/ima/ltp.ima.ima_conditionals.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-777207214 +# @用例名称: ltp.ima.ima_conditionals +# @用例级别: 1 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ima.ima_conditionals + # @预期结果:1: 用例返回0 + ltp_run_testcase ima ima_conditionals + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ima/ltp.ima.ima_kexec.sh b/testcase/ima/ltp.ima.ima_kexec.sh new file mode 100755 index 0000000000000000000000000000000000000000..ccc63949a0df8eb0707de0c499962ef0806fc9d4 --- /dev/null +++ b/testcase/ima/ltp.ima.ima_kexec.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-759868073 +# @用例名称: ltp.ima.ima_kexec +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ima.ima_kexec + # @预期结果:1: 用例返回0 + ltp_run_testcase ima ima_kexec + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ima/ltp.ima.ima_keys.sh b/testcase/ima/ltp.ima.ima_keys.sh new file mode 100755 index 0000000000000000000000000000000000000000..4a365997f6c9c37799a82b9856642401105328c2 --- /dev/null +++ b/testcase/ima/ltp.ima.ima_keys.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-751054098 +# @用例名称: ltp.ima.ima_keys +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ima.ima_keys + # @预期结果:1: 用例返回0 + ltp_run_testcase ima ima_keys + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ima/ltp.ima.ima_measurements.sh b/testcase/ima/ltp.ima.ima_measurements.sh new file mode 100755 index 0000000000000000000000000000000000000000..4b447a000a00fd56568855da34ead2a47f4b6eea --- /dev/null +++ b/testcase/ima/ltp.ima.ima_measurements.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-716148903 +# @用例名称: ltp.ima.ima_measurements +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ima.ima_measurements + # @预期结果:1: 用例返回0 + ltp_run_testcase ima ima_measurements + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ima/ltp.ima.ima_policy.sh b/testcase/ima/ltp.ima.ima_policy.sh new file mode 100755 index 0000000000000000000000000000000000000000..8eccc1607996bd18ec5861a5b555600392db9968 --- /dev/null +++ b/testcase/ima/ltp.ima.ima_policy.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-724963630 +# @用例名称: ltp.ima.ima_policy +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ima.ima_policy + # @预期结果:1: 用例返回0 + ltp_run_testcase ima ima_policy + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ima/ltp.ima.ima_selinux.sh b/testcase/ima/ltp.ima.ima_selinux.sh new file mode 100755 index 0000000000000000000000000000000000000000..25b123be22545a8d89a195d43baaedc92388acdf --- /dev/null +++ b/testcase/ima/ltp.ima.ima_selinux.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-768522361 +# @用例名称: ltp.ima.ima_selinux +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ima.ima_selinux + # @预期结果:1: 用例返回0 + ltp_run_testcase ima ima_selinux + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ima/ltp.ima.ima_tpm.sh b/testcase/ima/ltp.ima.ima_tpm.sh new file mode 100755 index 0000000000000000000000000000000000000000..bebf3819982b757a1886ca2088ed46259aa4a8c4 --- /dev/null +++ b/testcase/ima/ltp.ima.ima_tpm.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-733664754 +# @用例名称: ltp.ima.ima_tpm +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ima.ima_tpm + # @预期结果:1: 用例返回0 + ltp_run_testcase ima ima_tpm + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ima/ltp.ima.ima_violations.sh b/testcase/ima/ltp.ima.ima_violations.sh new file mode 100755 index 0000000000000000000000000000000000000000..154e3011abfd4b9378773450afa9fdb6621f4f32 --- /dev/null +++ b/testcase/ima/ltp.ima.ima_violations.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-742409099 +# @用例名称: ltp.ima.ima_violations +# @用例级别: 1 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ima.ima_violations + # @预期结果:1: 用例返回0 + ltp_run_testcase ima ima_violations + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/input/ltp.input.input01.sh b/testcase/input/ltp.input.input01.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d53d8993e0fc23d168755f0ec823d765e2b949b --- /dev/null +++ b/testcase/input/ltp.input.input01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-802708009 +# @用例名称: ltp.input.input01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.input.input01 + # @预期结果:1: 用例返回0 + ltp_run_testcase input input01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/input/ltp.input.input02.sh b/testcase/input/ltp.input.input02.sh new file mode 100755 index 0000000000000000000000000000000000000000..7714c2b01294d02ee34e5de1685ecac5898c5419 --- /dev/null +++ b/testcase/input/ltp.input.input02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-811499493 +# @用例名称: ltp.input.input02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.input.input02 + # @预期结果:1: 用例返回0 + ltp_run_testcase input input02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/input/ltp.input.input03.sh b/testcase/input/ltp.input.input03.sh new file mode 100755 index 0000000000000000000000000000000000000000..1d512b8f382185b60f9c15d1b4b2a299e1e9be99 --- /dev/null +++ b/testcase/input/ltp.input.input03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-819924380 +# @用例名称: ltp.input.input03 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.input.input03 + # @预期结果:1: 用例返回0 + ltp_run_testcase input input03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/input/ltp.input.input04.sh b/testcase/input/ltp.input.input04.sh new file mode 100755 index 0000000000000000000000000000000000000000..e18191ab9cb064ceba0b4ac3e572e5b8a0445d4f --- /dev/null +++ b/testcase/input/ltp.input.input04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-828354446 +# @用例名称: ltp.input.input04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.input.input04 + # @预期结果:1: 用例返回0 + ltp_run_testcase input input04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/input/ltp.input.input05.sh b/testcase/input/ltp.input.input05.sh new file mode 100755 index 0000000000000000000000000000000000000000..ab02fd08da66d36717e83421401f1a1c49beb6e5 --- /dev/null +++ b/testcase/input/ltp.input.input05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-837079505 +# @用例名称: ltp.input.input05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.input.input05 + # @预期结果:1: 用例返回0 + ltp_run_testcase input input05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/input/ltp.input.input06.sh b/testcase/input/ltp.input.input06.sh new file mode 100755 index 0000000000000000000000000000000000000000..fea6d7120acada543ae43589216c318ecc0f5786 --- /dev/null +++ b/testcase/input/ltp.input.input06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-845599220 +# @用例名称: ltp.input.input06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.input.input06 + # @预期结果:1: 用例返回0 + ltp_run_testcase input input06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/irq/ltp.irq.irqbalance01.sh b/testcase/irq/ltp.irq.irqbalance01.sh new file mode 100755 index 0000000000000000000000000000000000000000..65705ab3e30f1e85e373e0b56db904e496240614 --- /dev/null +++ b/testcase/irq/ltp.irq.irqbalance01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-973412975 +# @用例名称: ltp.irq.irqbalance01 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.irq.irqbalance01 + # @预期结果:1: 用例返回0 + ltp_run_testcase irq irqbalance01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.aslr01.sh b/testcase/kernel_misc/ltp.kernel_misc.aslr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9d5a7db2116341e1e7b429869236b3a1038caa4c --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.aslr01.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172826-823089924 +# @用例名称: ltp.kernel_misc.aslr01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.aslr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc aslr01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.block_dev.sh b/testcase/kernel_misc/ltp.kernel_misc.block_dev.sh new file mode 100755 index 0000000000000000000000000000000000000000..9e1701216ea5235f1d9b74b118f991ac79b7ed1f --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.block_dev.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-018324336 +# @用例名称: ltp.kernel_misc.block_dev +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.block_dev + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc block_dev + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.cn_pec_sh.sh b/testcase/kernel_misc/ltp.kernel_misc.cn_pec_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..5b69f07a68c91b8eedccce94aadf481235a426b0 --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.cn_pec_sh.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172826-747161450 +# @用例名称: ltp.kernel_misc.cn_pec_sh +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.cn_pec_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc cn_pec_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.cpufreq_boost.sh b/testcase/kernel_misc/ltp.kernel_misc.cpufreq_boost.sh new file mode 100755 index 0000000000000000000000000000000000000000..72724a78ad8a84aae432d5aa0ee13c7c1640fea5 --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.cpufreq_boost.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-056569151 +# @用例名称: ltp.kernel_misc.cpufreq_boost +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.cpufreq_boost + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc cpufreq_boost + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.fw_load.sh b/testcase/kernel_misc/ltp.kernel_misc.fw_load.sh new file mode 100755 index 0000000000000000000000000000000000000000..decb55053c309da764fd67cf13bf4e97181f420b --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.fw_load.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-992342701 +# @用例名称: ltp.kernel_misc.fw_load +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.fw_load + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc fw_load + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.kmsg01.sh b/testcase/kernel_misc/ltp.kernel_misc.kmsg01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d4ce5f323fbd22612302722ea24cbc2b01a6802a --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.kmsg01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212955-983662537 +# @用例名称: ltp.kernel_misc.kmsg01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.kmsg01 + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc kmsg01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.lock_torture.sh b/testcase/kernel_misc/ltp.kernel_misc.lock_torture.sh new file mode 100755 index 0000000000000000000000000000000000000000..fbb8d9ee28cb86be77fd8f9a1a184ef110605c7a --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.lock_torture.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-082406045 +# @用例名称: ltp.kernel_misc.lock_torture +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.lock_torture + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc lock_torture + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.ltp_acpi.sh b/testcase/kernel_misc/ltp.kernel_misc.ltp_acpi.sh new file mode 100755 index 0000000000000000000000000000000000000000..409237b8d42b26032dd9225bd35300c5cf445542 --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.ltp_acpi.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-048063464 +# @用例名称: ltp.kernel_misc.ltp_acpi +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.ltp_acpi + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc ltp_acpi + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.rcu_torture.sh b/testcase/kernel_misc/ltp.kernel_misc.rcu_torture.sh new file mode 100755 index 0000000000000000000000000000000000000000..774715b5977c39d8188f2b9649b4d5d3cf1b50b2 --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.rcu_torture.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-073833972 +# @用例名称: ltp.kernel_misc.rcu_torture +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.rcu_torture + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc rcu_torture + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.rtc01.sh b/testcase/kernel_misc/ltp.kernel_misc.rtc01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5019db51a76ebade9cfe4ace545a239e7fd1b8c --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.rtc01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-001002348 +# @用例名称: ltp.kernel_misc.rtc01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.rtc01 + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc rtc01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.rtc02.sh b/testcase/kernel_misc/ltp.kernel_misc.rtc02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ee2c03748e7b78e8a70b924ba327bb53d4cc07ea --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.rtc02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-009612572 +# @用例名称: ltp.kernel_misc.rtc02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.rtc02 + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc rtc02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.tbio.sh b/testcase/kernel_misc/ltp.kernel_misc.tbio.sh new file mode 100755 index 0000000000000000000000000000000000000000..c56829c22c3143c172d013d1068bd054b7946b75 --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.tbio.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-035552729 +# @用例名称: ltp.kernel_misc.tbio +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.tbio + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc tbio + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.tpci.sh b/testcase/kernel_misc/ltp.kernel_misc.tpci.sh new file mode 100755 index 0000000000000000000000000000000000000000..d1314b698a5b6b2017efb72502ff24b5e62f2aa8 --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.tpci.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-026931816 +# @用例名称: ltp.kernel_misc.tpci +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.tpci + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc tpci + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.uaccess.sh b/testcase/kernel_misc/ltp.kernel_misc.uaccess.sh new file mode 100755 index 0000000000000000000000000000000000000000..16fc9cca8f4a7072d62a1233794ae73038a3214c --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.uaccess.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-065268803 +# @用例名称: ltp.kernel_misc.uaccess +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.uaccess + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc uaccess + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.umip_basic_test.sh b/testcase/kernel_misc/ltp.kernel_misc.umip_basic_test.sh new file mode 100755 index 0000000000000000000000000000000000000000..12785073b8116a2c023352ab64a4422e84cb8931 --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.umip_basic_test.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-116994799 +# @用例名称: ltp.kernel_misc.umip_basic_test +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.umip_basic_test + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc umip_basic_test + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.zram01.sh b/testcase/kernel_misc/ltp.kernel_misc.zram01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8ae886a43b07de9c869203f1d2356ac552cbddbe --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.zram01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-091003586 +# @用例名称: ltp.kernel_misc.zram01 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.zram01 + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc zram01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.zram02.sh b/testcase/kernel_misc/ltp.kernel_misc.zram02.sh new file mode 100755 index 0000000000000000000000000000000000000000..70171a97b7a2257793741ab0984ce0c72e8c9c08 --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.zram02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-099516017 +# @用例名称: ltp.kernel_misc.zram02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.zram02 + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc zram02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kernel_misc/ltp.kernel_misc.zram03.sh b/testcase/kernel_misc/ltp.kernel_misc.zram03.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d5ab4d09d21f0cb03e7e549b555460f3f294379 --- /dev/null +++ b/testcase/kernel_misc/ltp.kernel_misc.zram03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-108089712 +# @用例名称: ltp.kernel_misc.zram03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kernel_misc.zram03 + # @预期结果:1: 用例返回0 + ltp_run_testcase kernel_misc zram03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kvm/ltp.kvm.kvm_pagefault01.sh b/testcase/kvm/ltp.kvm.kvm_pagefault01.sh new file mode 100755 index 0000000000000000000000000000000000000000..96a868ebf092c073a4ebd4a75ae60d66721d028f --- /dev/null +++ b/testcase/kvm/ltp.kvm.kvm_pagefault01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141850-078252357 +# @用例名称: ltp.kvm.kvm_pagefault01 +# @用例级别: 3 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kvm.kvm_pagefault01 + # @预期结果:1: 用例返回0 + ltp_run_testcase kvm kvm_pagefault01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kvm/ltp.kvm.kvm_svm01.sh b/testcase/kvm/ltp.kvm.kvm_svm01.sh new file mode 100755 index 0000000000000000000000000000000000000000..bf0022d685ce1e1d60dc9ad161caf726461afb6a --- /dev/null +++ b/testcase/kvm/ltp.kvm.kvm_svm01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141850-143626652 +# @用例名称: ltp.kvm.kvm_svm01 +# @用例级别: 3 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kvm.kvm_svm01 + # @预期结果:1: 用例返回0 + ltp_run_testcase kvm kvm_svm01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kvm/ltp.kvm.kvm_svm02.sh b/testcase/kvm/ltp.kvm.kvm_svm02.sh new file mode 100755 index 0000000000000000000000000000000000000000..512b1f063756df3b99f29af661c3997264bbe742 --- /dev/null +++ b/testcase/kvm/ltp.kvm.kvm_svm02.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172826-897205131 +# @用例名称: ltp.kvm.kvm_svm02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kvm.kvm_svm02 + # @预期结果:1: 用例返回0 + ltp_run_testcase kvm kvm_svm02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kvm/ltp.kvm.kvm_svm03.sh b/testcase/kvm/ltp.kvm.kvm_svm03.sh new file mode 100755 index 0000000000000000000000000000000000000000..ea81f6d79bc1fdd389f03defb1753ea65f0951f0 --- /dev/null +++ b/testcase/kvm/ltp.kvm.kvm_svm03.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172826-972335434 +# @用例名称: ltp.kvm.kvm_svm03 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kvm.kvm_svm03 + # @预期结果:1: 用例返回0 + ltp_run_testcase kvm kvm_svm03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kvm/ltp.kvm.kvm_svm04.sh b/testcase/kvm/ltp.kvm.kvm_svm04.sh new file mode 100755 index 0000000000000000000000000000000000000000..a1791d05cf8c332a0b81026e0c01b460642f535d --- /dev/null +++ b/testcase/kvm/ltp.kvm.kvm_svm04.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172827-045452845 +# @用例名称: ltp.kvm.kvm_svm04 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kvm.kvm_svm04 + # @预期结果:1: 用例返回0 + ltp_run_testcase kvm kvm_svm04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kvm/ltp.kvm.kvm_vmx01.sh b/testcase/kvm/ltp.kvm.kvm_vmx01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c22d1cff84e3b549f7086ec55cfbd7ebeec02abc --- /dev/null +++ b/testcase/kvm/ltp.kvm.kvm_vmx01.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110835-126930198 +# @用例名称: ltp.kvm.kvm_vmx01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kvm.kvm_vmx01 + # @预期结果:1: 用例返回0 + ltp_run_testcase kvm kvm_vmx01 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/kvm/ltp.kvm.kvm_vmx02.sh b/testcase/kvm/ltp.kvm.kvm_vmx02.sh new file mode 100755 index 0000000000000000000000000000000000000000..73ea5f8af411612145293137753d73e8c0cf9785 --- /dev/null +++ b/testcase/kvm/ltp.kvm.kvm_vmx02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110835-212071569 +# @用例名称: ltp.kvm.kvm_vmx02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.kvm.kvm_vmx02 + # @预期结果:1: 用例返回0 + ltp_run_testcase kvm kvm_vmx02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1000.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1000.sh new file mode 100755 index 0000000000000000000000000000000000000000..be133efe30e1b08751c713ae1fa6ea5d31fe0bbe --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1000.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-740608977 +# @用例名称: ltp.ltp-aio-stress.ADS1000 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1000 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1000 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1001.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1001.sh new file mode 100755 index 0000000000000000000000000000000000000000..09c62dbc52f3203502cd5916d84501ad3cbe7172 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1001.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-749455744 +# @用例名称: ltp.ltp-aio-stress.ADS1001 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1001 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1001 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1002.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1002.sh new file mode 100755 index 0000000000000000000000000000000000000000..b7a52ee56d5990e8a5d42a2ac5b82e62d9422bd9 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1002.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-758228412 +# @用例名称: ltp.ltp-aio-stress.ADS1002 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1002 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1002 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1003.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1003.sh new file mode 100755 index 0000000000000000000000000000000000000000..5cb48650392146d955bd92e8920da4ba4a7a4f2b --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1003.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-766925589 +# @用例名称: ltp.ltp-aio-stress.ADS1003 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1003 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1003 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1004.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1004.sh new file mode 100755 index 0000000000000000000000000000000000000000..44e9f3edff81315221534fb0ebeb2a1aebed1eea --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1004.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-775662109 +# @用例名称: ltp.ltp-aio-stress.ADS1004 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1004 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1004 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1005.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1005.sh new file mode 100755 index 0000000000000000000000000000000000000000..8d901984187b7c9029891bb6d9710df2a3c7b1b3 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1005.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-784532841 +# @用例名称: ltp.ltp-aio-stress.ADS1005 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1005 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1005 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1006.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1006.sh new file mode 100755 index 0000000000000000000000000000000000000000..879091d6984ac5450f9aedfacb4ad6782bb72b55 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1006.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-793138957 +# @用例名称: ltp.ltp-aio-stress.ADS1006 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1006 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1006 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1007.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1007.sh new file mode 100755 index 0000000000000000000000000000000000000000..73f44f579175dcf396bc9947032e361b1004342b --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1007.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-801707624 +# @用例名称: ltp.ltp-aio-stress.ADS1007 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1007 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1007 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1008.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1008.sh new file mode 100755 index 0000000000000000000000000000000000000000..dc157336b67b971ac49348f042e13b32c13e67a4 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1008.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-810424608 +# @用例名称: ltp.ltp-aio-stress.ADS1008 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1008 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1008 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1009.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1009.sh new file mode 100755 index 0000000000000000000000000000000000000000..89c34af985d1fb997c4c1e385928f1c6bbc64733 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1009.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-819166879 +# @用例名称: ltp.ltp-aio-stress.ADS1009 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1009 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1009 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1010.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1010.sh new file mode 100755 index 0000000000000000000000000000000000000000..317614aece66307544655e6f0f16713051e4d102 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1010.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-827934367 +# @用例名称: ltp.ltp-aio-stress.ADS1010 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1010 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1010 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1011.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1011.sh new file mode 100755 index 0000000000000000000000000000000000000000..4ce80f702c2b50735086fc8ed8f518a1fd917720 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1011.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-836608601 +# @用例名称: ltp.ltp-aio-stress.ADS1011 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1011 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1011 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1012.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1012.sh new file mode 100755 index 0000000000000000000000000000000000000000..3ea97dde1d9974756ddfd1c61394bca4ef150804 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1012.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-845328290 +# @用例名称: ltp.ltp-aio-stress.ADS1012 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1012 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1012 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1013.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1013.sh new file mode 100755 index 0000000000000000000000000000000000000000..1f5a84c29633e6d8eceebd73235859c73d14ae97 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1013.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-853963832 +# @用例名称: ltp.ltp-aio-stress.ADS1013 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1013 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1013 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1014.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1014.sh new file mode 100755 index 0000000000000000000000000000000000000000..f48cf04c32f88395cca0e2e6e1eff8f2504b8fde --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1014.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-862724537 +# @用例名称: ltp.ltp-aio-stress.ADS1014 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1014 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1014 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1015.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1015.sh new file mode 100755 index 0000000000000000000000000000000000000000..5d4bb98f88682f7272cc40d1c023bd0c6fa0b6d8 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1015.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-871654810 +# @用例名称: ltp.ltp-aio-stress.ADS1015 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1015 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1015 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1016.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1016.sh new file mode 100755 index 0000000000000000000000000000000000000000..d0a004b6b2bc0561d5365800d505ecf3d9b2fa98 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1016.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-880385850 +# @用例名称: ltp.ltp-aio-stress.ADS1016 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1016 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1016 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1017.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1017.sh new file mode 100755 index 0000000000000000000000000000000000000000..76855ced91c7756ea596b8ce4f89160c808e92a0 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1017.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-889049826 +# @用例名称: ltp.ltp-aio-stress.ADS1017 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1017 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1017 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1018.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1018.sh new file mode 100755 index 0000000000000000000000000000000000000000..2866d7f4afd6c1f557090fbbf79cde18bc04d1ef --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1018.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-897603493 +# @用例名称: ltp.ltp-aio-stress.ADS1018 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1018 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1018 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1019.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1019.sh new file mode 100755 index 0000000000000000000000000000000000000000..8262589963cbb92db4bdb7370a2d73554f99e0bb --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1019.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-906205833 +# @用例名称: ltp.ltp-aio-stress.ADS1019 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1019 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1019 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1020.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1020.sh new file mode 100755 index 0000000000000000000000000000000000000000..669abf60ab1fa1224863e6f2d49ff321a305a7bb --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1020.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-914835783 +# @用例名称: ltp.ltp-aio-stress.ADS1020 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1020 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1020 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1021.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1021.sh new file mode 100755 index 0000000000000000000000000000000000000000..5c0b556662ed5886cdb1fa35521aa18da8dacfea --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1021.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-923421602 +# @用例名称: ltp.ltp-aio-stress.ADS1021 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1021 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1021 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1022.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1022.sh new file mode 100755 index 0000000000000000000000000000000000000000..dd58b5d4cdfc307c5d433f2ac23831d29565751d --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1022.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-932226260 +# @用例名称: ltp.ltp-aio-stress.ADS1022 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1022 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1022 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1023.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1023.sh new file mode 100755 index 0000000000000000000000000000000000000000..68bd43e8db22b53fd86d03aa53bc4ea21a2cfda9 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1023.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-940968451 +# @用例名称: ltp.ltp-aio-stress.ADS1023 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1023 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1023 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1024.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1024.sh new file mode 100755 index 0000000000000000000000000000000000000000..034945fa3799f28a311592cb43269960c492393f --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1024.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-950930215 +# @用例名称: ltp.ltp-aio-stress.ADS1024 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1024 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1024 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1025.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1025.sh new file mode 100755 index 0000000000000000000000000000000000000000..b0a4807d5d4ad990f149fc3bd967c85b5ce82552 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1025.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-959792932 +# @用例名称: ltp.ltp-aio-stress.ADS1025 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1025 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1025 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1026.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1026.sh new file mode 100755 index 0000000000000000000000000000000000000000..8b924df6c8ab77a0c5eed033e1bb850697dfac0b --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1026.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-968492874 +# @用例名称: ltp.ltp-aio-stress.ADS1026 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1026 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1026 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1027.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1027.sh new file mode 100755 index 0000000000000000000000000000000000000000..635f304d25d21a3ca045b50e8fa46bb7eaf05bc1 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1027.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-977022828 +# @用例名称: ltp.ltp-aio-stress.ADS1027 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1027 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1027 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1028.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1028.sh new file mode 100755 index 0000000000000000000000000000000000000000..6261d8d2297f53e5d7a10ff77ac3cddf8d4090d2 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1028.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-985589199 +# @用例名称: ltp.ltp-aio-stress.ADS1028 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1028 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1028 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1029.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1029.sh new file mode 100755 index 0000000000000000000000000000000000000000..af7c36d423210656dbb170b1fab096c0f8b8c474 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1029.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-995421570 +# @用例名称: ltp.ltp-aio-stress.ADS1029 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1029 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1029 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1030.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1030.sh new file mode 100755 index 0000000000000000000000000000000000000000..f116463c76766597a443b860faeed14c1ecf6756 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1030.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-004050260 +# @用例名称: ltp.ltp-aio-stress.ADS1030 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1030 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1030 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1031.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1031.sh new file mode 100755 index 0000000000000000000000000000000000000000..e1b6b2cfd0f9326be73416ed0ee554afe876ae04 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1031.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-012735494 +# @用例名称: ltp.ltp-aio-stress.ADS1031 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1031 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1031 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1032.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1032.sh new file mode 100755 index 0000000000000000000000000000000000000000..8494c7a7c84e849a4c17aed33a97a956b8dd481d --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1032.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-021355657 +# @用例名称: ltp.ltp-aio-stress.ADS1032 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1032 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1032 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1033.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1033.sh new file mode 100755 index 0000000000000000000000000000000000000000..cfefd8cefab97aa2180cfd548af2eb7d42196923 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1033.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-030164572 +# @用例名称: ltp.ltp-aio-stress.ADS1033 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1033 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1033 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1034.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1034.sh new file mode 100755 index 0000000000000000000000000000000000000000..727ca16e7ac80f6ba3f949c068ac505beff65dde --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1034.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-038888970 +# @用例名称: ltp.ltp-aio-stress.ADS1034 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1034 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1034 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1035.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1035.sh new file mode 100755 index 0000000000000000000000000000000000000000..31d49a83bc674f5dd39bb3477df1b1da84edd11a --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1035.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-047658452 +# @用例名称: ltp.ltp-aio-stress.ADS1035 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1035 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1035 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1036.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1036.sh new file mode 100755 index 0000000000000000000000000000000000000000..2155a6298fec013ea865baa957e3d389d048f5b2 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1036.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-056511591 +# @用例名称: ltp.ltp-aio-stress.ADS1036 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1036 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1036 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1037.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1037.sh new file mode 100755 index 0000000000000000000000000000000000000000..32b7fe77a07731d501dc3101be8ad95908d6a385 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1037.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-068235793 +# @用例名称: ltp.ltp-aio-stress.ADS1037 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1037 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1037 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1038.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1038.sh new file mode 100755 index 0000000000000000000000000000000000000000..3a93e6d14fdffd01fbbac7ee13195f1108cbb5c3 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1038.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-077199960 +# @用例名称: ltp.ltp-aio-stress.ADS1038 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1038 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1038 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1039.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1039.sh new file mode 100755 index 0000000000000000000000000000000000000000..95753222a1b46f84266ee7cab7c6735370beb397 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1039.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-086554005 +# @用例名称: ltp.ltp-aio-stress.ADS1039 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1039 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1039 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1040.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1040.sh new file mode 100755 index 0000000000000000000000000000000000000000..81e9c23a1db444ff4f4ba66de54a19681dee8ea9 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1040.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-095356720 +# @用例名称: ltp.ltp-aio-stress.ADS1040 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1040 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1040 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1041.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1041.sh new file mode 100755 index 0000000000000000000000000000000000000000..6b370414928f665d1230b43fb74778bda6bda5cd --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1041.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-104027507 +# @用例名称: ltp.ltp-aio-stress.ADS1041 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1041 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1041 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1042.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1042.sh new file mode 100755 index 0000000000000000000000000000000000000000..0a3ee978ef81438e4d5e409a2cfbe896b7275244 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1042.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-112985383 +# @用例名称: ltp.ltp-aio-stress.ADS1042 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1042 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1042 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1043.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1043.sh new file mode 100755 index 0000000000000000000000000000000000000000..ace9e1c75ea47b48cb8c5bbfc6b2968eb61a299b --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1043.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-121677079 +# @用例名称: ltp.ltp-aio-stress.ADS1043 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1043 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1043 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1044.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1044.sh new file mode 100755 index 0000000000000000000000000000000000000000..582b383dc56c3cba090acd35e903b9f4782c4e7f --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1044.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-131195352 +# @用例名称: ltp.ltp-aio-stress.ADS1044 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1044 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1044 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1045.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1045.sh new file mode 100755 index 0000000000000000000000000000000000000000..0af1e7c850a8407f3f3276928b3c6727a116a9dc --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1045.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-140060964 +# @用例名称: ltp.ltp-aio-stress.ADS1045 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1045 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1045 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1046.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1046.sh new file mode 100755 index 0000000000000000000000000000000000000000..06bbeb5f08014e7fe1a42bad583831bae5b641b8 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1046.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-149413257 +# @用例名称: ltp.ltp-aio-stress.ADS1046 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1046 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1046 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1047.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1047.sh new file mode 100755 index 0000000000000000000000000000000000000000..d1ed7d1572cb51fedb24c2b9ec4b884883b53bad --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1047.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-158231621 +# @用例名称: ltp.ltp-aio-stress.ADS1047 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1047 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1047 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1048.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1048.sh new file mode 100755 index 0000000000000000000000000000000000000000..39bb4f701ab679452b23c88e3fca7600ad1dd3e0 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1048.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-166980184 +# @用例名称: ltp.ltp-aio-stress.ADS1048 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1048 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1048 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1049.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1049.sh new file mode 100755 index 0000000000000000000000000000000000000000..4904fba0ea202131e6e2b1af0e406da0255c4fc1 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1049.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-175638638 +# @用例名称: ltp.ltp-aio-stress.ADS1049 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1049 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1049 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1050.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1050.sh new file mode 100755 index 0000000000000000000000000000000000000000..088d54d7059a047b6ddc3e44d0ada9e07cb39c2e --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1050.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-184416516 +# @用例名称: ltp.ltp-aio-stress.ADS1050 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1050 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1050 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1051.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1051.sh new file mode 100755 index 0000000000000000000000000000000000000000..b0533ca1f62dd196647bee0adddd2be86827d11a --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1051.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-150321-363386216 +# @用例名称: ltp.ltp-aio-stress.ADS1051 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1051 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1051 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1052.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1052.sh new file mode 100755 index 0000000000000000000000000000000000000000..0481b114274896290dc54e6c15eff0ea0deb2e87 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1052.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-150321-428201671 +# @用例名称: ltp.ltp-aio-stress.ADS1052 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1052 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1052 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1053.sh b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1053.sh new file mode 100755 index 0000000000000000000000000000000000000000..a77fb29a48f799ac9a4f54bce99f685ad14cccf5 --- /dev/null +++ b/testcase/ltp-aio-stress/ltp.ltp-aio-stress.ADS1053.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-150344-665374327 +# @用例名称: ltp.ltp-aio-stress.ADS1053 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aio-stress.ADS1053 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aio-stress ADS1053 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD001.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD001.sh new file mode 100755 index 0000000000000000000000000000000000000000..69024634889aa88c035be53760bb7e6c2e7c828b --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD001.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-129530720 +# @用例名称: ltp.ltp-aiodio.part1.AD001 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD001 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD001 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD002.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD002.sh new file mode 100755 index 0000000000000000000000000000000000000000..441b06f55cb8709681aedcebf75435a7127c8968 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD002.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-138241432 +# @用例名称: ltp.ltp-aiodio.part1.AD002 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD002 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD002 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD003.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD003.sh new file mode 100755 index 0000000000000000000000000000000000000000..5a0e3b5eb2fdb457ba83658cef19da68e21b4545 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD003.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-147425680 +# @用例名称: ltp.ltp-aiodio.part1.AD003 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD003 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD003 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD004.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD004.sh new file mode 100755 index 0000000000000000000000000000000000000000..d7b0e05bb7052eafbefaf4cb5881ae0b7603de81 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD004.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-155995218 +# @用例名称: ltp.ltp-aiodio.part1.AD004 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD004 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD004 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD005.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD005.sh new file mode 100755 index 0000000000000000000000000000000000000000..203ca000ce5fb8ee39f2afaa9ce52193592975d0 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD005.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-164603900 +# @用例名称: ltp.ltp-aiodio.part1.AD005 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD005 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD005 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD006.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD006.sh new file mode 100755 index 0000000000000000000000000000000000000000..8881bf686da41c1a6cf5eb99e48d0420b76d5f2f --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD006.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-173076646 +# @用例名称: ltp.ltp-aiodio.part1.AD006 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD006 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD006 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD007.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD007.sh new file mode 100755 index 0000000000000000000000000000000000000000..db49147d283e5c1c8b846abeb3736d0cb085317d --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD007.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-181553992 +# @用例名称: ltp.ltp-aiodio.part1.AD007 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD007 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD007 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD008.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD008.sh new file mode 100755 index 0000000000000000000000000000000000000000..47db8fd4e99a1d77adc9ee7da9382ca6e8ad64c4 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD008.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-190057125 +# @用例名称: ltp.ltp-aiodio.part1.AD008 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD008 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD008 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD009.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD009.sh new file mode 100755 index 0000000000000000000000000000000000000000..9d01f5ca0bb929aca282ffee26c5700cd59d3081 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD009.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-198599803 +# @用例名称: ltp.ltp-aiodio.part1.AD009 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD009 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD009 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD010.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD010.sh new file mode 100755 index 0000000000000000000000000000000000000000..d7ef3349704e6b96395a25dfa2b55bfad1e8ba16 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD010.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-207092708 +# @用例名称: ltp.ltp-aiodio.part1.AD010 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD010 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD010 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD011.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD011.sh new file mode 100755 index 0000000000000000000000000000000000000000..ff5b4333cf661afdfdf9c15bd11fc273641306e9 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD011.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141850-207610435 +# @用例名称: ltp.ltp-aiodio.part1.AD011 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD011 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD011 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD012.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD012.sh new file mode 100755 index 0000000000000000000000000000000000000000..76331e205017b80ef4d180f565b02f179b410ce7 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD012.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-215575373 +# @用例名称: ltp.ltp-aiodio.part1.AD012 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD012 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD012 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD013.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD013.sh new file mode 100755 index 0000000000000000000000000000000000000000..27f76c78b20b9f057412f248bebfc140c20478e8 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD013.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-224124453 +# @用例名称: ltp.ltp-aiodio.part1.AD013 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD013 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD013 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD014.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD014.sh new file mode 100755 index 0000000000000000000000000000000000000000..4f076c0bb47fdb1a4cafe6faefd224b5adbf60b6 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD014.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-232595456 +# @用例名称: ltp.ltp-aiodio.part1.AD014 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD014 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD014 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD015.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD015.sh new file mode 100755 index 0000000000000000000000000000000000000000..b0705a4bd57587a32eff258c4f9e92b70c56c021 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD015.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-241299416 +# @用例名称: ltp.ltp-aiodio.part1.AD015 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD015 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD015 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD016.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD016.sh new file mode 100755 index 0000000000000000000000000000000000000000..472fddf63fda608e85e25ff9edfe203a23ac6305 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD016.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-249819231 +# @用例名称: ltp.ltp-aiodio.part1.AD016 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD016 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD016 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD017.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD017.sh new file mode 100755 index 0000000000000000000000000000000000000000..e7ddefed457a4d295610e3682564d95b8e5002bf --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD017.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-258449572 +# @用例名称: ltp.ltp-aiodio.part1.AD017 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD017 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD017 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD018.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD018.sh new file mode 100755 index 0000000000000000000000000000000000000000..b61111c89cabe67acaf4adb0d6c812af908c0946 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD018.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-267139305 +# @用例名称: ltp.ltp-aiodio.part1.AD018 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD018 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD018 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD019.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD019.sh new file mode 100755 index 0000000000000000000000000000000000000000..6873afb783a1eaf14470a1b13a1493e9004197d9 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD019.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-275682994 +# @用例名称: ltp.ltp-aiodio.part1.AD019 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD019 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD019 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD020.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD020.sh new file mode 100755 index 0000000000000000000000000000000000000000..849f55aab47b2b43a1565875c5aba9f3873cdf27 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD020.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-284242123 +# @用例名称: ltp.ltp-aiodio.part1.AD020 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD020 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD020 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD021.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD021.sh new file mode 100755 index 0000000000000000000000000000000000000000..d7ac1ec2163c60f37098766e82fab486fc2edb5a --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD021.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-292785522 +# @用例名称: ltp.ltp-aiodio.part1.AD021 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD021 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD021 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD022.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD022.sh new file mode 100755 index 0000000000000000000000000000000000000000..53f4bac99dc39f03cda990b86beca0b73ee4a548 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD022.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-301311659 +# @用例名称: ltp.ltp-aiodio.part1.AD022 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD022 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD022 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD023.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD023.sh new file mode 100755 index 0000000000000000000000000000000000000000..851e4b02857263bd3f2bbc1e8745fbcaa3738cad --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD023.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-311516267 +# @用例名称: ltp.ltp-aiodio.part1.AD023 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD023 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD023 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD024.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD024.sh new file mode 100755 index 0000000000000000000000000000000000000000..9b56a6d2dbcd0639e28b80f5b2356f5dec888a74 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD024.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-320009492 +# @用例名称: ltp.ltp-aiodio.part1.AD024 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD024 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD024 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD025.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD025.sh new file mode 100755 index 0000000000000000000000000000000000000000..8a5412740698976f52178466fdfaeaa6b1975090 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD025.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-328529047 +# @用例名称: ltp.ltp-aiodio.part1.AD025 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD025 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD025 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD026.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD026.sh new file mode 100755 index 0000000000000000000000000000000000000000..0dad063d371382a5755fb9a4b809cf320b4dd45d --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD026.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-337036398 +# @用例名称: ltp.ltp-aiodio.part1.AD026 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD026 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD026 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD027.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD027.sh new file mode 100755 index 0000000000000000000000000000000000000000..f6708b8985593fbacbd78a6dfc49260495c053f0 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD027.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-345707957 +# @用例名称: ltp.ltp-aiodio.part1.AD027 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD027 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD027 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD028.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD028.sh new file mode 100755 index 0000000000000000000000000000000000000000..91fa697f6497096e9378ad1fd711839ef4836a37 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD028.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-354414130 +# @用例名称: ltp.ltp-aiodio.part1.AD028 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD028 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD028 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD029.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD029.sh new file mode 100755 index 0000000000000000000000000000000000000000..fbcd8532ef2945e2c550d7b532a29681e7fc65cd --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD029.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-363006271 +# @用例名称: ltp.ltp-aiodio.part1.AD029 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD029 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD029 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD030.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD030.sh new file mode 100755 index 0000000000000000000000000000000000000000..b1c2d5e13f14fc9d15c768f613db58d7b6a2ab1b --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD030.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-371528390 +# @用例名称: ltp.ltp-aiodio.part1.AD030 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD030 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD030 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD031.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD031.sh new file mode 100755 index 0000000000000000000000000000000000000000..1fce34fb01bbc5e51715d506ade568664ebf71bb --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD031.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-379993272 +# @用例名称: ltp.ltp-aiodio.part1.AD031 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD031 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD031 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD032.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD032.sh new file mode 100755 index 0000000000000000000000000000000000000000..cc28e6ea24d5924c51b4232fdc2af4936bedefd6 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD032.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-388417678 +# @用例名称: ltp.ltp-aiodio.part1.AD032 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD032 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD032 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD033.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD033.sh new file mode 100755 index 0000000000000000000000000000000000000000..7aabf29f51007f436f11e1249bc72bea78e714f4 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD033.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-397037010 +# @用例名称: ltp.ltp-aiodio.part1.AD033 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD033 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD033 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD034.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD034.sh new file mode 100755 index 0000000000000000000000000000000000000000..7ac1ffb139fe3766ec62e9acd5d8c35721be2861 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD034.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-405583745 +# @用例名称: ltp.ltp-aiodio.part1.AD034 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD034 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD034 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD035.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD035.sh new file mode 100755 index 0000000000000000000000000000000000000000..50c2d2e249136e48cb5be266b40e343bffdb51f5 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD035.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-414102689 +# @用例名称: ltp.ltp-aiodio.part1.AD035 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD035 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD035 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD036.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD036.sh new file mode 100755 index 0000000000000000000000000000000000000000..568dbb76557389a9a68907237d779c09d2c188d8 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD036.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-422543566 +# @用例名称: ltp.ltp-aiodio.part1.AD036 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD036 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD036 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD037.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD037.sh new file mode 100755 index 0000000000000000000000000000000000000000..bb03de87e6e35244eb6bb641978cbc6958ec4e20 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD037.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-431156474 +# @用例名称: ltp.ltp-aiodio.part1.AD037 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD037 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD037 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD038.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD038.sh new file mode 100755 index 0000000000000000000000000000000000000000..752d1ab034b9eda2d165e7dfc176eef935c51b2b --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD038.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-439741942 +# @用例名称: ltp.ltp-aiodio.part1.AD038 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD038 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD038 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD039.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD039.sh new file mode 100755 index 0000000000000000000000000000000000000000..1bd73501634a7677b84d38293694370212579972 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD039.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-448380369 +# @用例名称: ltp.ltp-aiodio.part1.AD039 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD039 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD039 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD040.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD040.sh new file mode 100755 index 0000000000000000000000000000000000000000..d78f0c5d11227033d2c62aa4ce583419b0c64b7f --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD040.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-457013957 +# @用例名称: ltp.ltp-aiodio.part1.AD040 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD040 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD040 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD041.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD041.sh new file mode 100755 index 0000000000000000000000000000000000000000..590202b37266a616867edd74c796db5a4545ded3 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD041.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-465942887 +# @用例名称: ltp.ltp-aiodio.part1.AD041 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD041 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD041 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD042.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD042.sh new file mode 100755 index 0000000000000000000000000000000000000000..ffcb306fa96b2cda23d46b329dd17bf2739ce071 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD042.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-474468022 +# @用例名称: ltp.ltp-aiodio.part1.AD042 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD042 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD042 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD043.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD043.sh new file mode 100755 index 0000000000000000000000000000000000000000..e537c1238a282553b78c4e9081d5d9646142007d --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD043.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-483104184 +# @用例名称: ltp.ltp-aiodio.part1.AD043 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD043 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD043 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD044.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD044.sh new file mode 100755 index 0000000000000000000000000000000000000000..aaa05ca3c898cc9ef25ce00dc1fe8994a80928dd --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD044.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-491747140 +# @用例名称: ltp.ltp-aiodio.part1.AD044 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD044 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD044 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD045.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD045.sh new file mode 100755 index 0000000000000000000000000000000000000000..0af8ba508ede71be27f955db3d86da882e16c7b8 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD045.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-500238752 +# @用例名称: ltp.ltp-aiodio.part1.AD045 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD045 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD045 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD046.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD046.sh new file mode 100755 index 0000000000000000000000000000000000000000..5bca88764667b3a207fdfbdcf9ed952de58e82c8 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD046.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-508833818 +# @用例名称: ltp.ltp-aiodio.part1.AD046 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD046 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD046 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD047.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD047.sh new file mode 100755 index 0000000000000000000000000000000000000000..64351d9f3ecb72cc4f3071e7177d8f1b61199582 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD047.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-517433062 +# @用例名称: ltp.ltp-aiodio.part1.AD047 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD047 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD047 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD048.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD048.sh new file mode 100755 index 0000000000000000000000000000000000000000..60b13ba147ebb874f8262434b63aa6137113654e --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD048.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-526029190 +# @用例名称: ltp.ltp-aiodio.part1.AD048 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD048 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD048 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD049.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD049.sh new file mode 100755 index 0000000000000000000000000000000000000000..b909ef26dc49543b33df9670de8028c35b068cb9 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD049.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-534731937 +# @用例名称: ltp.ltp-aiodio.part1.AD049 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD049 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD049 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD050.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD050.sh new file mode 100755 index 0000000000000000000000000000000000000000..f9fce63a3eb4a170ecdeafddbfe091d6f04302b9 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD050.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-543307446 +# @用例名称: ltp.ltp-aiodio.part1.AD050 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD050 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD050 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD051.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD051.sh new file mode 100755 index 0000000000000000000000000000000000000000..64d3356f5b48e73c6ff3424df1b10dc53c1627b1 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD051.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-551890899 +# @用例名称: ltp.ltp-aiodio.part1.AD051 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD051 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD051 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD052.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD052.sh new file mode 100755 index 0000000000000000000000000000000000000000..6d61163c60e66d039c261f0b8b7f183dce1ac984 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD052.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-560557610 +# @用例名称: ltp.ltp-aiodio.part1.AD052 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD052 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD052 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD053.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD053.sh new file mode 100755 index 0000000000000000000000000000000000000000..fa0dd62ae54d83592a81f0fadd587701e8bb103f --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD053.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-569402142 +# @用例名称: ltp.ltp-aiodio.part1.AD053 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD053 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD053 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD054.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD054.sh new file mode 100755 index 0000000000000000000000000000000000000000..a69ccc65a66b578e882a657f5ac8f9f602bb681e --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD054.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-577997098 +# @用例名称: ltp.ltp-aiodio.part1.AD054 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD054 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD054 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD055.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD055.sh new file mode 100755 index 0000000000000000000000000000000000000000..f2bc8c29f5f1c60fff41274ce245eba57d25870b --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD055.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-586577065 +# @用例名称: ltp.ltp-aiodio.part1.AD055 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD055 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD055 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD056.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD056.sh new file mode 100755 index 0000000000000000000000000000000000000000..1253c29253ff71e9cf4051569f7381eef376ca68 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD056.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-595707152 +# @用例名称: ltp.ltp-aiodio.part1.AD056 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD056 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD056 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD057.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD057.sh new file mode 100755 index 0000000000000000000000000000000000000000..d0611eefcbc663d28195a888898f78bf2cecfa95 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD057.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-604781916 +# @用例名称: ltp.ltp-aiodio.part1.AD057 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD057 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD057 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD058.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD058.sh new file mode 100755 index 0000000000000000000000000000000000000000..94f15c6e60ae8aa7522e6ddab751ce29c52befb7 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD058.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-613537943 +# @用例名称: ltp.ltp-aiodio.part1.AD058 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD058 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD058 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD059.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD059.sh new file mode 100755 index 0000000000000000000000000000000000000000..1e7e5d212e503b0e730f9bb672a57d1132afba6b --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD059.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-622214982 +# @用例名称: ltp.ltp-aiodio.part1.AD059 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD059 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD059 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD060.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD060.sh new file mode 100755 index 0000000000000000000000000000000000000000..e11284d1fa11a667ab9d817d36814848093c1efb --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD060.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-630717995 +# @用例名称: ltp.ltp-aiodio.part1.AD060 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD060 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD060 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD061.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD061.sh new file mode 100755 index 0000000000000000000000000000000000000000..ecece73f6e808c84fe8c89ffb4b9829d57c187ab --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD061.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-639248951 +# @用例名称: ltp.ltp-aiodio.part1.AD061 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD061 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD061 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD062.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD062.sh new file mode 100755 index 0000000000000000000000000000000000000000..ea4664cd79968350f97a1475880dcd6d19bb15b4 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD062.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-647839668 +# @用例名称: ltp.ltp-aiodio.part1.AD062 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD062 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD062 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD063.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD063.sh new file mode 100755 index 0000000000000000000000000000000000000000..24e5549ba3e53df8c06e2024da7c77793adc8c6c --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD063.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-656333825 +# @用例名称: ltp.ltp-aiodio.part1.AD063 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD063 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD063 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD064.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD064.sh new file mode 100755 index 0000000000000000000000000000000000000000..9db9901cd3aa3d7f05a11b76f4bf936fe0c76af5 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD064.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-666113658 +# @用例名称: ltp.ltp-aiodio.part1.AD064 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD064 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD064 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD065.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD065.sh new file mode 100755 index 0000000000000000000000000000000000000000..98c11365d46b32227c3dffdfa29261da16ad8f9d --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD065.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-674865587 +# @用例名称: ltp.ltp-aiodio.part1.AD065 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD065 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD065 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD066.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD066.sh new file mode 100755 index 0000000000000000000000000000000000000000..66a4f479ab207eae37c0399e811b856a95570fb1 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD066.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-683403466 +# @用例名称: ltp.ltp-aiodio.part1.AD066 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD066 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD066 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD067.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD067.sh new file mode 100755 index 0000000000000000000000000000000000000000..4cf5412a9734cccaedce13b6833f1ac4932a1246 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD067.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-692047754 +# @用例名称: ltp.ltp-aiodio.part1.AD067 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD067 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD067 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD068.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD068.sh new file mode 100755 index 0000000000000000000000000000000000000000..66a1a04f3180be021cd141bd1e268c710f900f05 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD068.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-700610279 +# @用例名称: ltp.ltp-aiodio.part1.AD068 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD068 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD068 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD069.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD069.sh new file mode 100755 index 0000000000000000000000000000000000000000..00e8be5be7e39b4bede4c25137f2eb0040426b6e --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD069.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-709167203 +# @用例名称: ltp.ltp-aiodio.part1.AD069 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD069 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD069 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD070.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD070.sh new file mode 100755 index 0000000000000000000000000000000000000000..aaca3f59bca3c08d440a852bfd718e46e896e6fe --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD070.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-717826460 +# @用例名称: ltp.ltp-aiodio.part1.AD070 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD070 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD070 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD071.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD071.sh new file mode 100755 index 0000000000000000000000000000000000000000..47254f920ba2282651f0b3cd2fe993f3b90786ac --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD071.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-726470627 +# @用例名称: ltp.ltp-aiodio.part1.AD071 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD071 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD071 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD072.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD072.sh new file mode 100755 index 0000000000000000000000000000000000000000..65bb46e27188e86d1d6b1c617d685f999834fe31 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD072.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-735164808 +# @用例名称: ltp.ltp-aiodio.part1.AD072 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD072 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD072 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD073.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD073.sh new file mode 100755 index 0000000000000000000000000000000000000000..688a55a59de51295824622efb6b54dc38604dcc6 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD073.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-743738193 +# @用例名称: ltp.ltp-aiodio.part1.AD073 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD073 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD073 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD074.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD074.sh new file mode 100755 index 0000000000000000000000000000000000000000..61ceab6e06be81a3bffdae974ee2620b6826430a --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD074.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-752824388 +# @用例名称: ltp.ltp-aiodio.part1.AD074 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD074 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD074 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD075.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD075.sh new file mode 100755 index 0000000000000000000000000000000000000000..91b9c90921f856865dc35fc2acc1b3ad2865b87b --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD075.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-761472313 +# @用例名称: ltp.ltp-aiodio.part1.AD075 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD075 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD075 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD076.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD076.sh new file mode 100755 index 0000000000000000000000000000000000000000..2adfc4c516ac4d6177229f4eaafc21cc32dfad7f --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD076.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-772346865 +# @用例名称: ltp.ltp-aiodio.part1.AD076 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD076 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD076 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD077.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD077.sh new file mode 100755 index 0000000000000000000000000000000000000000..cc133680c1f47059c3340428705e81eb0c7143a4 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD077.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-780885966 +# @用例名称: ltp.ltp-aiodio.part1.AD077 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD077 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD077 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD078.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD078.sh new file mode 100755 index 0000000000000000000000000000000000000000..7504c15b173bdb0e9724860fc0807fedf422d67b --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD078.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-789368651 +# @用例名称: ltp.ltp-aiodio.part1.AD078 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD078 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD078 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD079.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD079.sh new file mode 100755 index 0000000000000000000000000000000000000000..94844d3fbebb00c1a90dc6ac8f362fb492ce39ed --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD079.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-797901199 +# @用例名称: ltp.ltp-aiodio.part1.AD079 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD079 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD079 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD080.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD080.sh new file mode 100755 index 0000000000000000000000000000000000000000..30ca3e4518acfd5104e727a27768d8184d14d0a2 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD080.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-806349190 +# @用例名称: ltp.ltp-aiodio.part1.AD080 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD080 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD080 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD081.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD081.sh new file mode 100755 index 0000000000000000000000000000000000000000..aa62f7d62ead89e4e5a5747651522e3cc8756d25 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD081.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-814780830 +# @用例名称: ltp.ltp-aiodio.part1.AD081 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD081 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD081 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD082.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD082.sh new file mode 100755 index 0000000000000000000000000000000000000000..9145953d093394cac3ca00386e40a3b3574d12e8 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD082.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-825954591 +# @用例名称: ltp.ltp-aiodio.part1.AD082 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD082 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD082 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD083.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD083.sh new file mode 100755 index 0000000000000000000000000000000000000000..40efe709b7d9a81efa985f60cba17f4e40510b38 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD083.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-834561059 +# @用例名称: ltp.ltp-aiodio.part1.AD083 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD083 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD083 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD084.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD084.sh new file mode 100755 index 0000000000000000000000000000000000000000..c082b71f4f2a8a11a014ea26a1bb79c81c4f03be --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD084.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-843161405 +# @用例名称: ltp.ltp-aiodio.part1.AD084 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD084 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD084 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD085.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD085.sh new file mode 100755 index 0000000000000000000000000000000000000000..da4a37c8bfddaba169adc86a56d424f1fb70f8c5 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD085.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-851807686 +# @用例名称: ltp.ltp-aiodio.part1.AD085 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD085 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD085 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD086.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD086.sh new file mode 100755 index 0000000000000000000000000000000000000000..5302520131385bb580bb942948d4ccb086e95286 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD086.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-860421477 +# @用例名称: ltp.ltp-aiodio.part1.AD086 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD086 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD086 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD087.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD087.sh new file mode 100755 index 0000000000000000000000000000000000000000..210884f516f9fdf54f1a0b065baa497b4d316068 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD087.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-873362456 +# @用例名称: ltp.ltp-aiodio.part1.AD087 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD087 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD087 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD088.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD088.sh new file mode 100755 index 0000000000000000000000000000000000000000..691e45ce39495e599b5bccbd68b480d23918135f --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD088.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-882010301 +# @用例名称: ltp.ltp-aiodio.part1.AD088 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD088 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD088 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD089.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD089.sh new file mode 100755 index 0000000000000000000000000000000000000000..95fc260af2ff6a97b308b9d4c99f9c143b2b7ce2 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD089.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-890631976 +# @用例名称: ltp.ltp-aiodio.part1.AD089 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD089 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD089 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD090.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD090.sh new file mode 100755 index 0000000000000000000000000000000000000000..1bd37f79fd2f2e9c80000334766efd2ce3200483 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD090.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-899363316 +# @用例名称: ltp.ltp-aiodio.part1.AD090 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD090 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD090 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD091.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD091.sh new file mode 100755 index 0000000000000000000000000000000000000000..4783de76b18f1ef6d7845b888a4ec12961cf692e --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD091.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-908110547 +# @用例名称: ltp.ltp-aiodio.part1.AD091 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD091 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD091 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD092.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD092.sh new file mode 100755 index 0000000000000000000000000000000000000000..dd7b9ddb2d8d960389f7a82b9d4ba391ec63d46c --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD092.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-916894166 +# @用例名称: ltp.ltp-aiodio.part1.AD092 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD092 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD092 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD093.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD093.sh new file mode 100755 index 0000000000000000000000000000000000000000..40d205c3e5d3d60d931047e454470d171996b7c1 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD093.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-925577897 +# @用例名称: ltp.ltp-aiodio.part1.AD093 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD093 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD093 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD094.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD094.sh new file mode 100755 index 0000000000000000000000000000000000000000..417225636788ebd081a8c35a1d163b2a4e815c22 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD094.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-934867362 +# @用例名称: ltp.ltp-aiodio.part1.AD094 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD094 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD094 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD095.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD095.sh new file mode 100755 index 0000000000000000000000000000000000000000..aadab5c9e82c78310e7c636a03dc136e2493b932 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD095.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-943707948 +# @用例名称: ltp.ltp-aiodio.part1.AD095 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD095 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD095 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD096.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD096.sh new file mode 100755 index 0000000000000000000000000000000000000000..58f5f3d73833f211ede71cda04540dc45b2109a5 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD096.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-952377583 +# @用例名称: ltp.ltp-aiodio.part1.AD096 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD096 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD096 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD097.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD097.sh new file mode 100755 index 0000000000000000000000000000000000000000..633aaf385d318c9a3fb0906a718c591d8dc8954b --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD097.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-960980444 +# @用例名称: ltp.ltp-aiodio.part1.AD097 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD097 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD097 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD098.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD098.sh new file mode 100755 index 0000000000000000000000000000000000000000..af2c0f8439aeb038273b5fd55a8415c0bd57aa0e --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD098.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-969454623 +# @用例名称: ltp.ltp-aiodio.part1.AD098 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD098 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD098 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD099.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD099.sh new file mode 100755 index 0000000000000000000000000000000000000000..a3b952de24e27a5966977ecf12c1922c0bf1acf5 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD099.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-978910449 +# @用例名称: ltp.ltp-aiodio.part1.AD099 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD099 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD099 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD100.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD100.sh new file mode 100755 index 0000000000000000000000000000000000000000..30644045e6c957f351b2508be06265a9a43cbdb7 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD100.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141850-271195675 +# @用例名称: ltp.ltp-aiodio.part1.AD100 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD100 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD100 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD101.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD101.sh new file mode 100755 index 0000000000000000000000000000000000000000..4ee6864b33b40b5efce54b81b24047ec31b30aa6 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD101.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-987544579 +# @用例名称: ltp.ltp-aiodio.part1.AD101 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD101 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD101 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD102.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD102.sh new file mode 100755 index 0000000000000000000000000000000000000000..77da7b35e4a6bedfc175aa6adcfdff25ecf58747 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD102.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212956-996140275 +# @用例名称: ltp.ltp-aiodio.part1.AD102 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD102 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD102 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD103.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD103.sh new file mode 100755 index 0000000000000000000000000000000000000000..e8821e09af888446ccc3d19f1e1490785ff25c20 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD103.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-004748556 +# @用例名称: ltp.ltp-aiodio.part1.AD103 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD103 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD103 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD104.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD104.sh new file mode 100755 index 0000000000000000000000000000000000000000..c276ad35504f68601c47af5c2a19f5ddb7490c2c --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD104.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-013456513 +# @用例名称: ltp.ltp-aiodio.part1.AD104 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD104 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD104 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD105.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD105.sh new file mode 100755 index 0000000000000000000000000000000000000000..7a9fdbd7327f30e45cc39eb6260ebdced1803302 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD105.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-022111029 +# @用例名称: ltp.ltp-aiodio.part1.AD105 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD105 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD105 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD106.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD106.sh new file mode 100755 index 0000000000000000000000000000000000000000..dad34ee3f809e342f5031567923e57b5278feb6d --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD106.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-030743816 +# @用例名称: ltp.ltp-aiodio.part1.AD106 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD106 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD106 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD107.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD107.sh new file mode 100755 index 0000000000000000000000000000000000000000..6f06be507c7d6e5d1daae57d210aee1a6063a5df --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD107.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-039563994 +# @用例名称: ltp.ltp-aiodio.part1.AD107 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD107 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD107 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD108.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD108.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c8790ca4bae48b0df83a2c4337e991b173c946f --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD108.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-048185067 +# @用例名称: ltp.ltp-aiodio.part1.AD108 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD108 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD108 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD109.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD109.sh new file mode 100755 index 0000000000000000000000000000000000000000..040bcc1b63bf70e05a5cae417e4c2e05a6895bca --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD109.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-056925565 +# @用例名称: ltp.ltp-aiodio.part1.AD109 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD109 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD109 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD110.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD110.sh new file mode 100755 index 0000000000000000000000000000000000000000..1bacfbc6ce7729662f7215f40b2ac744355c0c81 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD110.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-065781991 +# @用例名称: ltp.ltp-aiodio.part1.AD110 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD110 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD110 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD111.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD111.sh new file mode 100755 index 0000000000000000000000000000000000000000..7977b731ef515cabcc67ae0895704059f9300157 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD111.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141850-335392741 +# @用例名称: ltp.ltp-aiodio.part1.AD111 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD111 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD111 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD112.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD112.sh new file mode 100755 index 0000000000000000000000000000000000000000..d91765e1d341c7cacf47169fb143a1ecfc461d8d --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD112.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-074480961 +# @用例名称: ltp.ltp-aiodio.part1.AD112 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD112 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD112 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD113.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD113.sh new file mode 100755 index 0000000000000000000000000000000000000000..70f8e5a634656ac2fa8981c8b07e6b19936545b4 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD113.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-083073672 +# @用例名称: ltp.ltp-aiodio.part1.AD113 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD113 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD113 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD114.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD114.sh new file mode 100755 index 0000000000000000000000000000000000000000..db7067e679d12094372812d3f30efce472d8cef2 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD114.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-091633151 +# @用例名称: ltp.ltp-aiodio.part1.AD114 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD114 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD114 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD115.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD115.sh new file mode 100755 index 0000000000000000000000000000000000000000..4f77e5e57d6cd0214bf1daca60bcf7ccb61f64ac --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD115.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-100175859 +# @用例名称: ltp.ltp-aiodio.part1.AD115 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD115 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD115 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD116.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD116.sh new file mode 100755 index 0000000000000000000000000000000000000000..9fe5f2fd68cc8a2dc8d7460c4bbb78916b45f223 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD116.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-108732202 +# @用例名称: ltp.ltp-aiodio.part1.AD116 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD116 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD116 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD117.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD117.sh new file mode 100755 index 0000000000000000000000000000000000000000..785bec6dcf446d0b398faa0e884fe1daa109a580 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD117.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-117395886 +# @用例名称: ltp.ltp-aiodio.part1.AD117 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD117 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD117 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD118.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD118.sh new file mode 100755 index 0000000000000000000000000000000000000000..7b44c0862f9ce2f5e7cf14065bf092dd5664fdd3 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD118.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-125975012 +# @用例名称: ltp.ltp-aiodio.part1.AD118 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD118 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD118 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD119.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD119.sh new file mode 100755 index 0000000000000000000000000000000000000000..22d9718ef24f50e44a5c5709b58f2f726a69ffa7 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD119.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-134577652 +# @用例名称: ltp.ltp-aiodio.part1.AD119 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD119 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD119 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD120.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD120.sh new file mode 100755 index 0000000000000000000000000000000000000000..a2751d1cd6c8ec7df4a60b4ea81bb005715dd0c2 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD120.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-143247528 +# @用例名称: ltp.ltp-aiodio.part1.AD120 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD120 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD120 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD121.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD121.sh new file mode 100755 index 0000000000000000000000000000000000000000..d4ec332efbb714a45f777fe809dbb2b17df85fc3 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD121.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-151741384 +# @用例名称: ltp.ltp-aiodio.part1.AD121 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD121 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD121 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD122.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD122.sh new file mode 100755 index 0000000000000000000000000000000000000000..2e65dfd1b9f3f0d31f3d51b3c6b2d359114c81f6 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD122.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-160235571 +# @用例名称: ltp.ltp-aiodio.part1.AD122 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD122 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD122 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD123.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD123.sh new file mode 100755 index 0000000000000000000000000000000000000000..d288f2678858df19e2f34fbcd59cae9cb5223d1c --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD123.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-169040931 +# @用例名称: ltp.ltp-aiodio.part1.AD123 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD123 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD123 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD124.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD124.sh new file mode 100755 index 0000000000000000000000000000000000000000..48fbf23864995ef0ce5e6510e66cb10e262d2632 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD124.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-177713411 +# @用例名称: ltp.ltp-aiodio.part1.AD124 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD124 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD124 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD125.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD125.sh new file mode 100755 index 0000000000000000000000000000000000000000..1448a98f53bb6fae5f2303a7adf53882dd45aac4 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD125.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-186313996 +# @用例名称: ltp.ltp-aiodio.part1.AD125 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD125 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD125 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD126.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD126.sh new file mode 100755 index 0000000000000000000000000000000000000000..613d7ede7bdbee17f7bd83b2d51518e35538928f --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD126.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-194842057 +# @用例名称: ltp.ltp-aiodio.part1.AD126 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD126 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD126 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD127.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD127.sh new file mode 100755 index 0000000000000000000000000000000000000000..3b2be82f0e438e80b6db1fdfa4958b97dea20fa5 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD127.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-203431302 +# @用例名称: ltp.ltp-aiodio.part1.AD127 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD127 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD127 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD128.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD128.sh new file mode 100755 index 0000000000000000000000000000000000000000..7b498b31775703c9abf9960b94e439df13bd948c --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD128.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-212161501 +# @用例名称: ltp.ltp-aiodio.part1.AD128 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD128 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD128 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD129.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD129.sh new file mode 100755 index 0000000000000000000000000000000000000000..7a6655264d2488b3b4c04f884fddb036d4286331 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD129.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-220821297 +# @用例名称: ltp.ltp-aiodio.part1.AD129 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD129 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD129 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD130.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD130.sh new file mode 100755 index 0000000000000000000000000000000000000000..76411507fd5ff9cbef68db847fec8f9e1a6910d8 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD130.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-229458352 +# @用例名称: ltp.ltp-aiodio.part1.AD130 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD130 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD130 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD131.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD131.sh new file mode 100755 index 0000000000000000000000000000000000000000..0a733c5b015d59fbfe8a1f30238712dd6c81b8e4 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD131.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-237938322 +# @用例名称: ltp.ltp-aiodio.part1.AD131 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD131 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD131 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD132.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD132.sh new file mode 100755 index 0000000000000000000000000000000000000000..787129253ab754b010f8c3524199f0c8f0bc0046 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD132.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-246461183 +# @用例名称: ltp.ltp-aiodio.part1.AD132 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD132 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD132 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD133.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD133.sh new file mode 100755 index 0000000000000000000000000000000000000000..3a96433489ea4a377730f0ec4bb5a5ab8f06f791 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD133.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-255037873 +# @用例名称: ltp.ltp-aiodio.part1.AD133 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD133 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD133 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD134.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD134.sh new file mode 100755 index 0000000000000000000000000000000000000000..d846649a34ff0df1e4887c2011faaaf404381023 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD134.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-263990609 +# @用例名称: ltp.ltp-aiodio.part1.AD134 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD134 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD134 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD135.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD135.sh new file mode 100755 index 0000000000000000000000000000000000000000..b16ebcba250fc34e17b9b93e4aa8704226e03fa4 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD135.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-272878813 +# @用例名称: ltp.ltp-aiodio.part1.AD135 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD135 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD135 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD136.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD136.sh new file mode 100755 index 0000000000000000000000000000000000000000..e2402bb9e7ed30f53844aa53d8323d95148bd92e --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD136.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-281530876 +# @用例名称: ltp.ltp-aiodio.part1.AD136 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD136 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD136 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD137.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD137.sh new file mode 100755 index 0000000000000000000000000000000000000000..c30a8fd6f2f5da1f51c70acb3bd7e194dc0238d3 --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD137.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-289994055 +# @用例名称: ltp.ltp-aiodio.part1.AD137 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD137 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD137 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD138.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD138.sh new file mode 100755 index 0000000000000000000000000000000000000000..6ee60b7fd64b3d240d6f9426b033648c4d3b8cbb --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD138.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-298493542 +# @用例名称: ltp.ltp-aiodio.part1.AD138 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD138 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD138 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD139.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD139.sh new file mode 100755 index 0000000000000000000000000000000000000000..28eaf1841561d273d8c8de60b26c9c091e7f27eb --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD139.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-306985845 +# @用例名称: ltp.ltp-aiodio.part1.AD139 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD139 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD139 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD140.sh b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD140.sh new file mode 100755 index 0000000000000000000000000000000000000000..a4831d486a5a6384fe881ba34b34cb2cf30bd0cd --- /dev/null +++ b/testcase/ltp-aiodio.part1/ltp.ltp-aiodio.part1.AD140.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212957-315377790 +# @用例名称: ltp.ltp-aiodio.part1.AD140 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part1.AD140 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part1 AD140 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP000.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP000.sh new file mode 100755 index 0000000000000000000000000000000000000000..ceb30fdf7c80dbe4c0fb3a94fe824540dc8247bd --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP000.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-006512674 +# @用例名称: ltp.ltp-aiodio.part2.ADSP000 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP000 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP000 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP001.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP001.sh new file mode 100755 index 0000000000000000000000000000000000000000..cc3ec24ace64aea19314bbd73cf1bf15b2bcb2d1 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP001.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-014986052 +# @用例名称: ltp.ltp-aiodio.part2.ADSP001 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP001 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP001 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP002.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP002.sh new file mode 100755 index 0000000000000000000000000000000000000000..04a33629f49cf44c44e145f34df11e1c3f8cc452 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP002.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-023542576 +# @用例名称: ltp.ltp-aiodio.part2.ADSP002 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP002 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP002 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP003.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP003.sh new file mode 100755 index 0000000000000000000000000000000000000000..eb3c3c01c1626c59a3cd10e8c3bec96615937b64 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP003.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-032163489 +# @用例名称: ltp.ltp-aiodio.part2.ADSP003 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP003 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP003 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP004.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP004.sh new file mode 100755 index 0000000000000000000000000000000000000000..b48bf088efc8b992153d4ae57a10a678667149dd --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP004.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-040724522 +# @用例名称: ltp.ltp-aiodio.part2.ADSP004 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP004 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP004 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP005.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP005.sh new file mode 100755 index 0000000000000000000000000000000000000000..cd40e1637c83bc90e59580092089d0e377036bfd --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP005.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-050046719 +# @用例名称: ltp.ltp-aiodio.part2.ADSP005 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP005 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP005 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP006.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP006.sh new file mode 100755 index 0000000000000000000000000000000000000000..af8024b8da6a0114801c5a2938ab3e4ce92eaece --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP006.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-058555703 +# @用例名称: ltp.ltp-aiodio.part2.ADSP006 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP006 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP006 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP007.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP007.sh new file mode 100755 index 0000000000000000000000000000000000000000..cac743c5e83701fb9e9006f4c8fa9ad9d7bb51c6 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP007.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-067245506 +# @用例名称: ltp.ltp-aiodio.part2.ADSP007 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP007 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP007 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP008.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP008.sh new file mode 100755 index 0000000000000000000000000000000000000000..09ce189a0f101e4945e3c83d2a5b30b4aab34a15 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP008.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-075976977 +# @用例名称: ltp.ltp-aiodio.part2.ADSP008 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP008 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP008 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP009.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP009.sh new file mode 100755 index 0000000000000000000000000000000000000000..ae5cfadf7790a201ad331efb76b7a094412ae819 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP009.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-084541997 +# @用例名称: ltp.ltp-aiodio.part2.ADSP009 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP009 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP009 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP010.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP010.sh new file mode 100755 index 0000000000000000000000000000000000000000..76d75907be1cb9781f19c2de7c5b79f428279202 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP010.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-092987322 +# @用例名称: ltp.ltp-aiodio.part2.ADSP010 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP010 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP010 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP011.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP011.sh new file mode 100755 index 0000000000000000000000000000000000000000..8abe5f55e2e10771f06887903c48716780c9e6bc --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP011.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-101452715 +# @用例名称: ltp.ltp-aiodio.part2.ADSP011 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP011 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP011 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP012.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP012.sh new file mode 100755 index 0000000000000000000000000000000000000000..436fe768d6db7c82fc3c4ecac51bf3763c879c8a --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP012.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-110766306 +# @用例名称: ltp.ltp-aiodio.part2.ADSP012 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP012 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP012 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP013.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP013.sh new file mode 100755 index 0000000000000000000000000000000000000000..33b95533ef58bd70c9879c910b63fac4cc5d5446 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP013.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-119969279 +# @用例名称: ltp.ltp-aiodio.part2.ADSP013 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP013 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP013 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP014.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP014.sh new file mode 100755 index 0000000000000000000000000000000000000000..f174d3c21158d5f107c56011f63be8d81c32d136 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP014.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-128553885 +# @用例名称: ltp.ltp-aiodio.part2.ADSP014 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP014 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP014 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP015.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP015.sh new file mode 100755 index 0000000000000000000000000000000000000000..d749cc4ba1db01c3b96d85ccf49c18021cfaca88 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP015.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-137205777 +# @用例名称: ltp.ltp-aiodio.part2.ADSP015 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP015 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP015 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP016.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP016.sh new file mode 100755 index 0000000000000000000000000000000000000000..30aca9608498c577e9f027f79e799779feddf182 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP016.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-145700565 +# @用例名称: ltp.ltp-aiodio.part2.ADSP016 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP016 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP016 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP017.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP017.sh new file mode 100755 index 0000000000000000000000000000000000000000..f94b8f6e6299483f62ca0816b97482d67c7e2d51 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP017.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-154248563 +# @用例名称: ltp.ltp-aiodio.part2.ADSP017 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP017 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP017 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP018.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP018.sh new file mode 100755 index 0000000000000000000000000000000000000000..540cbaa2243e00c42c004e5275a5bd81e2663aec --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP018.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-162956169 +# @用例名称: ltp.ltp-aiodio.part2.ADSP018 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP018 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP018 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP019.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP019.sh new file mode 100755 index 0000000000000000000000000000000000000000..6d1e785515f735a1aaf55a589e421b5944d8116b --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP019.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-171515007 +# @用例名称: ltp.ltp-aiodio.part2.ADSP019 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP019 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP019 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP020.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP020.sh new file mode 100755 index 0000000000000000000000000000000000000000..3728d00db213a13180c8c5c84c8cb87c1cb9c04a --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP020.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-180355062 +# @用例名称: ltp.ltp-aiodio.part2.ADSP020 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP020 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP020 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP021.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP021.sh new file mode 100755 index 0000000000000000000000000000000000000000..548c9c02732a0d1a2731e7d384fe077742bb33af --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP021.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-189682497 +# @用例名称: ltp.ltp-aiodio.part2.ADSP021 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP021 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP021 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP022.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP022.sh new file mode 100755 index 0000000000000000000000000000000000000000..110bdfee3fc60a95684d8f67b3e4679fcecd9c57 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP022.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-198271482 +# @用例名称: ltp.ltp-aiodio.part2.ADSP022 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP022 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP022 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP023.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP023.sh new file mode 100755 index 0000000000000000000000000000000000000000..d2750dd935b4b840d28ac2575e1c32431b9c0b23 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP023.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-206949713 +# @用例名称: ltp.ltp-aiodio.part2.ADSP023 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP023 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP023 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP024.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP024.sh new file mode 100755 index 0000000000000000000000000000000000000000..87372e3b604e6c069eae06fd3595ffbfffb2cff8 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP024.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-215424293 +# @用例名称: ltp.ltp-aiodio.part2.ADSP024 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP024 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP024 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP025.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP025.sh new file mode 100755 index 0000000000000000000000000000000000000000..ef3e2c03dcde96842bad1769e1f7fb33431d587c --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP025.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-226004484 +# @用例名称: ltp.ltp-aiodio.part2.ADSP025 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP025 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP025 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP026.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP026.sh new file mode 100755 index 0000000000000000000000000000000000000000..3a1e8f1479219a27002df7fcfdb8a45e483b2885 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP026.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-234540419 +# @用例名称: ltp.ltp-aiodio.part2.ADSP026 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP026 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP026 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP027.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP027.sh new file mode 100755 index 0000000000000000000000000000000000000000..9f1d69eefdfdbc4e5cbf61c1e37b4e40cf732d02 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP027.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-243148240 +# @用例名称: ltp.ltp-aiodio.part2.ADSP027 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP027 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP027 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP028.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP028.sh new file mode 100755 index 0000000000000000000000000000000000000000..cb7168a8325c0154b582e2ea77331e4087e0fed2 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP028.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-251663356 +# @用例名称: ltp.ltp-aiodio.part2.ADSP028 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP028 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP028 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP029.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP029.sh new file mode 100755 index 0000000000000000000000000000000000000000..ecca87af8a1b8954a498c8d7787a97b0b14581c9 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP029.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-260214378 +# @用例名称: ltp.ltp-aiodio.part2.ADSP029 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP029 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP029 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP030.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP030.sh new file mode 100755 index 0000000000000000000000000000000000000000..bcdb80c591396581602922d038ac122690d95632 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP030.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-268799997 +# @用例名称: ltp.ltp-aiodio.part2.ADSP030 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP030 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP030 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP031.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP031.sh new file mode 100755 index 0000000000000000000000000000000000000000..b48d18d896fc3f0933f95023ff1cb2d20f890370 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP031.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-277503495 +# @用例名称: ltp.ltp-aiodio.part2.ADSP031 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP031 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP031 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP032.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP032.sh new file mode 100755 index 0000000000000000000000000000000000000000..0c018be287248434ba1cdef74dd348f652a5e58d --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP032.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-285942489 +# @用例名称: ltp.ltp-aiodio.part2.ADSP032 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP032 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP032 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP033.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP033.sh new file mode 100755 index 0000000000000000000000000000000000000000..ef9de797c063e25032f0c3bc237c2f6495da0f29 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP033.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-294426768 +# @用例名称: ltp.ltp-aiodio.part2.ADSP033 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP033 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP033 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP034.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP034.sh new file mode 100755 index 0000000000000000000000000000000000000000..028fbbd9647523ad36a64193bb2d8bc0dde5633d --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP034.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-302934540 +# @用例名称: ltp.ltp-aiodio.part2.ADSP034 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP034 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP034 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP035.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP035.sh new file mode 100755 index 0000000000000000000000000000000000000000..9f091414de1eff7197be0f78f1de8cc1d9a9e4c1 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP035.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-311657094 +# @用例名称: ltp.ltp-aiodio.part2.ADSP035 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP035 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP035 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP036.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP036.sh new file mode 100755 index 0000000000000000000000000000000000000000..b299343f7b8a6d775d1c5a8749dc34342223d870 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP036.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-320345955 +# @用例名称: ltp.ltp-aiodio.part2.ADSP036 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP036 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP036 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP037.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP037.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d5260e9225ac45c166c3dbfee1b610c44b0b3df --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP037.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-329098416 +# @用例名称: ltp.ltp-aiodio.part2.ADSP037 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP037 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP037 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP038.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP038.sh new file mode 100755 index 0000000000000000000000000000000000000000..dacb87bfd4e78042ddb613fd86b2bc2a81ed8b0a --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP038.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-337665409 +# @用例名称: ltp.ltp-aiodio.part2.ADSP038 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP038 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP038 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP039.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP039.sh new file mode 100755 index 0000000000000000000000000000000000000000..c03a3591df123f79dcdacd725c7f1d414e08752c --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP039.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-346337729 +# @用例名称: ltp.ltp-aiodio.part2.ADSP039 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP039 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP039 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP040.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP040.sh new file mode 100755 index 0000000000000000000000000000000000000000..f69c477aaa06997d7fa9ed1cc537c53f8f68d304 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP040.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-354894654 +# @用例名称: ltp.ltp-aiodio.part2.ADSP040 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP040 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP040 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP041.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP041.sh new file mode 100755 index 0000000000000000000000000000000000000000..0eb62194fea33cb3cf66a4779e7f65d027bca610 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP041.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-363470383 +# @用例名称: ltp.ltp-aiodio.part2.ADSP041 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP041 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP041 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP042.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP042.sh new file mode 100755 index 0000000000000000000000000000000000000000..6485fec9d0d0105ebdd7a6f743bde66f56285a51 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP042.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-372114020 +# @用例名称: ltp.ltp-aiodio.part2.ADSP042 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP042 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP042 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP043.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP043.sh new file mode 100755 index 0000000000000000000000000000000000000000..81db02b206bb01a25488d65a5c6dd95e95f07e77 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP043.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-381351117 +# @用例名称: ltp.ltp-aiodio.part2.ADSP043 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP043 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP043 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP044.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP044.sh new file mode 100755 index 0000000000000000000000000000000000000000..8a481af8b68f6cdd5ac582fbcea9d0365d35b7e2 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP044.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-389886722 +# @用例名称: ltp.ltp-aiodio.part2.ADSP044 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP044 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP044 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP045.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP045.sh new file mode 100755 index 0000000000000000000000000000000000000000..8ef8820a4a4043a81fa76fa7daa04034b3581420 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP045.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-398444878 +# @用例名称: ltp.ltp-aiodio.part2.ADSP045 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP045 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP045 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP046.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP046.sh new file mode 100755 index 0000000000000000000000000000000000000000..55eab271d79607a33a5e20597c9295942a311c9f --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP046.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-407106108 +# @用例名称: ltp.ltp-aiodio.part2.ADSP046 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP046 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP046 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP047.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP047.sh new file mode 100755 index 0000000000000000000000000000000000000000..5d5a46559570cb8c63fa8f3f3fb289127846e498 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP047.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-415623288 +# @用例名称: ltp.ltp-aiodio.part2.ADSP047 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP047 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP047 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP048.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP048.sh new file mode 100755 index 0000000000000000000000000000000000000000..485ea9b778bb8242a253035013fc30b7290cc13a --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP048.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-424154314 +# @用例名称: ltp.ltp-aiodio.part2.ADSP048 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP048 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP048 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP049.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP049.sh new file mode 100755 index 0000000000000000000000000000000000000000..b7cdf02ebcaafd3b86ff4685f504925e25603088 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP049.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-432676622 +# @用例名称: ltp.ltp-aiodio.part2.ADSP049 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP049 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP049 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP050.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP050.sh new file mode 100755 index 0000000000000000000000000000000000000000..4d401884d36d1411373abee028a3002800fc7e90 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP050.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-441251651 +# @用例名称: ltp.ltp-aiodio.part2.ADSP050 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP050 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP050 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP051.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP051.sh new file mode 100755 index 0000000000000000000000000000000000000000..030642011e3841d854b296bfc508d02625683c91 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP051.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-449835716 +# @用例名称: ltp.ltp-aiodio.part2.ADSP051 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP051 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP051 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP052.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP052.sh new file mode 100755 index 0000000000000000000000000000000000000000..6af972d6fb8ae77d013eb4de834b6c2ff9e7a2b9 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP052.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-458562599 +# @用例名称: ltp.ltp-aiodio.part2.ADSP052 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP052 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP052 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP053.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP053.sh new file mode 100755 index 0000000000000000000000000000000000000000..ad7ef9281e341917dc79d767f02caeed9d70dfe2 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP053.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-467411068 +# @用例名称: ltp.ltp-aiodio.part2.ADSP053 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP053 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP053 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP054.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP054.sh new file mode 100755 index 0000000000000000000000000000000000000000..876b76b3325ac42af39b2a997ef332f13cfc415c --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP054.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-476094550 +# @用例名称: ltp.ltp-aiodio.part2.ADSP054 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP054 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP054 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP055.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP055.sh new file mode 100755 index 0000000000000000000000000000000000000000..c430aea89d0f5515305e28dbda77a16f9f91265f --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP055.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-484645393 +# @用例名称: ltp.ltp-aiodio.part2.ADSP055 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP055 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP055 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP056.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP056.sh new file mode 100755 index 0000000000000000000000000000000000000000..71d935712e873b382d0728867d8200e081f2ba9f --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP056.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-493237152 +# @用例名称: ltp.ltp-aiodio.part2.ADSP056 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP056 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP056 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP057.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP057.sh new file mode 100755 index 0000000000000000000000000000000000000000..64bf94405cc4f523944dd9d00e24495ea96234eb --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP057.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-501716662 +# @用例名称: ltp.ltp-aiodio.part2.ADSP057 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP057 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP057 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP058.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP058.sh new file mode 100755 index 0000000000000000000000000000000000000000..d53796ea58521c8e81f5ae3401525d350bfb26e5 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP058.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-510238510 +# @用例名称: ltp.ltp-aiodio.part2.ADSP058 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP058 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP058 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP059.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP059.sh new file mode 100755 index 0000000000000000000000000000000000000000..e8dc658fdd68eb71329784c6655417ccd3189460 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP059.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-518842473 +# @用例名称: ltp.ltp-aiodio.part2.ADSP059 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP059 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP059 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP060.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP060.sh new file mode 100755 index 0000000000000000000000000000000000000000..6f553645f779e7732d7dd32d9b0ccb3f07af9c11 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP060.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-527343753 +# @用例名称: ltp.ltp-aiodio.part2.ADSP060 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP060 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP060 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP061.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP061.sh new file mode 100755 index 0000000000000000000000000000000000000000..0d166f6d44e7792a5824bde9cf14beaf5f394635 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP061.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-535986328 +# @用例名称: ltp.ltp-aiodio.part2.ADSP061 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP061 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP061 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP062.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP062.sh new file mode 100755 index 0000000000000000000000000000000000000000..df587a1e07c98859a7a2ebf2e4bf2d23f6da2486 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP062.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-544542411 +# @用例名称: ltp.ltp-aiodio.part2.ADSP062 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP062 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP062 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP063.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP063.sh new file mode 100755 index 0000000000000000000000000000000000000000..b1877c718b5260834bcba6c60036cf01af9a665a --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP063.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-553133429 +# @用例名称: ltp.ltp-aiodio.part2.ADSP063 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP063 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP063 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP064.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP064.sh new file mode 100755 index 0000000000000000000000000000000000000000..a49dc28c68a60f4908f93ec2f7fe9eba9e017046 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP064.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-561745707 +# @用例名称: ltp.ltp-aiodio.part2.ADSP064 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP064 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP064 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP065.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP065.sh new file mode 100755 index 0000000000000000000000000000000000000000..aa60fab146640c7e1c6441638cfae2bcac4fa322 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP065.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-570345401 +# @用例名称: ltp.ltp-aiodio.part2.ADSP065 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP065 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP065 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP066.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP066.sh new file mode 100755 index 0000000000000000000000000000000000000000..0c25448c70410121ceda25aa9dde034c267405a8 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP066.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-578867971 +# @用例名称: ltp.ltp-aiodio.part2.ADSP066 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP066 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP066 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP067.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP067.sh new file mode 100755 index 0000000000000000000000000000000000000000..798d9202141992fe0619379655db0acc096063c2 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP067.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-587486621 +# @用例名称: ltp.ltp-aiodio.part2.ADSP067 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP067 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP067 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP068.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP068.sh new file mode 100755 index 0000000000000000000000000000000000000000..4272d8c1eb0e9290e05a1cbc4c3432d7762d0561 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP068.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-595965569 +# @用例名称: ltp.ltp-aiodio.part2.ADSP068 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP068 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP068 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP069.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP069.sh new file mode 100755 index 0000000000000000000000000000000000000000..24cfb324f5c453da9b81f8ea1e70e39bcacee43e --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP069.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-604518366 +# @用例名称: ltp.ltp-aiodio.part2.ADSP069 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP069 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP069 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP070.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP070.sh new file mode 100755 index 0000000000000000000000000000000000000000..829e901192f8188e9fdf50c68f22a325e69fcb60 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP070.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-613812340 +# @用例名称: ltp.ltp-aiodio.part2.ADSP070 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP070 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP070 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP071.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP071.sh new file mode 100755 index 0000000000000000000000000000000000000000..1dd3c4dc815c5a15ed418c5e5d471c82b3663e82 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP071.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-622427232 +# @用例名称: ltp.ltp-aiodio.part2.ADSP071 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP071 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP071 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP072.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP072.sh new file mode 100755 index 0000000000000000000000000000000000000000..cf49b76b735dd5c2ef3853cb1a68dde665451c62 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP072.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-630954531 +# @用例名称: ltp.ltp-aiodio.part2.ADSP072 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP072 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP072 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP073.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP073.sh new file mode 100755 index 0000000000000000000000000000000000000000..47ae90ea047a86c5c9c908b217a06ed04a51fdb3 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP073.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-639514461 +# @用例名称: ltp.ltp-aiodio.part2.ADSP073 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP073 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP073 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP074.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP074.sh new file mode 100755 index 0000000000000000000000000000000000000000..057b5b12e284ca3b1cd4c91a2514c78784e01ef6 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP074.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-648378911 +# @用例名称: ltp.ltp-aiodio.part2.ADSP074 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP074 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP074 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP075.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP075.sh new file mode 100755 index 0000000000000000000000000000000000000000..fec1274060064e3822ddc7a265d4aa63f64bf398 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP075.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-657046653 +# @用例名称: ltp.ltp-aiodio.part2.ADSP075 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP075 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP075 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP076.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP076.sh new file mode 100755 index 0000000000000000000000000000000000000000..38ef7011c486d048805e70a503870f5e5b8d2cf0 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP076.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-665856010 +# @用例名称: ltp.ltp-aiodio.part2.ADSP076 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP076 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP076 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP077.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP077.sh new file mode 100755 index 0000000000000000000000000000000000000000..3a0107e54b72c7273e7fb11b2ca176435abe4042 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP077.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-674740838 +# @用例名称: ltp.ltp-aiodio.part2.ADSP077 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP077 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP077 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP078.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP078.sh new file mode 100755 index 0000000000000000000000000000000000000000..78006d43bcbf1e40dd24aba3908ac0deefd04d7d --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP078.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-683538112 +# @用例名称: ltp.ltp-aiodio.part2.ADSP078 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP078 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP078 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP079.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP079.sh new file mode 100755 index 0000000000000000000000000000000000000000..d00d4e42d7c37c384a41b7a827d6d67c3ac8a0fa --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP079.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-692255156 +# @用例名称: ltp.ltp-aiodio.part2.ADSP079 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP079 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP079 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP080.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP080.sh new file mode 100755 index 0000000000000000000000000000000000000000..f13a5ee4a2fc7b54ab369616a130df997a060ea0 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP080.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-701096904 +# @用例名称: ltp.ltp-aiodio.part2.ADSP080 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP080 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP080 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP081.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP081.sh new file mode 100755 index 0000000000000000000000000000000000000000..bbfd07fb20e4670747a4d36b07649314dbd072bc --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP081.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-709748665 +# @用例名称: ltp.ltp-aiodio.part2.ADSP081 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP081 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP081 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP082.sh b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP082.sh new file mode 100755 index 0000000000000000000000000000000000000000..faa5f43883a58f01f20cebf90e17e5575a5dc388 --- /dev/null +++ b/testcase/ltp-aiodio.part2/ltp.ltp-aiodio.part2.ADSP082.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212958-718510533 +# @用例名称: ltp.ltp-aiodio.part2.ADSP082 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part2.ADSP082 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part2 ADSP082 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx01.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0db145187286c64cb67a18deafdfc81090657078 --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx01.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172827-118648064 +# @用例名称: ltp.ltp-aiodio.part3.fsx01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx01 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx02.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx02.sh new file mode 100755 index 0000000000000000000000000000000000000000..c897ca3d352c733c8f8e5da5b332c3f494c7dd6c --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx02.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172827-196275349 +# @用例名称: ltp.ltp-aiodio.part3.fsx02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx02 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx03.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx03.sh new file mode 100755 index 0000000000000000000000000000000000000000..4f0f5bb78c5494cc5124168911c083bed344fe1d --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx03.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172827-273121090 +# @用例名称: ltp.ltp-aiodio.part3.fsx03 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx03 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx04.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx04.sh new file mode 100755 index 0000000000000000000000000000000000000000..3f94e404e0769593a9fa836f2ad93fdd59e19bd2 --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx04.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172827-349843058 +# @用例名称: ltp.ltp-aiodio.part3.fsx04 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx04 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx05.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx05.sh new file mode 100755 index 0000000000000000000000000000000000000000..7c63aa2b860f1dbb536267a351502217556c0603 --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx05.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172827-425096820 +# @用例名称: ltp.ltp-aiodio.part3.fsx05 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx05 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx06.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx06.sh new file mode 100755 index 0000000000000000000000000000000000000000..12a99927d28177ef41e594ca7e0e165ca840467c --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx06.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172827-503011362 +# @用例名称: ltp.ltp-aiodio.part3.fsx06 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx06 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx07.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx07.sh new file mode 100755 index 0000000000000000000000000000000000000000..f70438c0a48c1a0de28f049c65c55113f1cd4104 --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx07.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172827-582217652 +# @用例名称: ltp.ltp-aiodio.part3.fsx07 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx07 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx08.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx08.sh new file mode 100755 index 0000000000000000000000000000000000000000..9dfc0d33311f4b2dda0a1bc9b5cd6c8bf827b1fd --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx08.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172827-654223851 +# @用例名称: ltp.ltp-aiodio.part3.fsx08 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx08 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx09.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx09.sh new file mode 100755 index 0000000000000000000000000000000000000000..91a1cd67af0ec31fdab7ff64c71c9712d0c78010 --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx09.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172827-725231108 +# @用例名称: ltp.ltp-aiodio.part3.fsx09 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx09 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx10.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx10.sh new file mode 100755 index 0000000000000000000000000000000000000000..7b9b3aa0a0f524d19ab5743672bd69431ac11bec --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx10.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172827-798680337 +# @用例名称: ltp.ltp-aiodio.part3.fsx10 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx10 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx12.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx12.sh new file mode 100755 index 0000000000000000000000000000000000000000..a620fd6c98b3db8c3f0ea039d012e21b4d7609d7 --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx12.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172827-872403481 +# @用例名称: ltp.ltp-aiodio.part3.fsx12 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx12 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx13.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx13.sh new file mode 100755 index 0000000000000000000000000000000000000000..6ad1f358a06968ff3ae73fa1057fcaf6fb705785 --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx13.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172827-946457724 +# @用例名称: ltp.ltp-aiodio.part3.fsx13 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx13 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx14.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx14.sh new file mode 100755 index 0000000000000000000000000000000000000000..5100b1127144c89f897ae3132122da21ad6ccb09 --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx14.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172828-021288789 +# @用例名称: ltp.ltp-aiodio.part3.fsx14 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx14 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx15.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx15.sh new file mode 100755 index 0000000000000000000000000000000000000000..c0c1f6845b31bd4757d187cdccd9399ba92e2e23 --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx15.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172828-099489428 +# @用例名称: ltp.ltp-aiodio.part3.fsx15 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx15 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx16.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx16.sh new file mode 100755 index 0000000000000000000000000000000000000000..47e4f80c5657b97529c0489629c23dca5f612bae --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx16.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172828-176711810 +# @用例名称: ltp.ltp-aiodio.part3.fsx16 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx16 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx17.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx17.sh new file mode 100755 index 0000000000000000000000000000000000000000..0b97884cbba22f1b43c7ed3c3cc6ee7c10c49191 --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx17.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172828-252167774 +# @用例名称: ltp.ltp-aiodio.part3.fsx17 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx17 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx18.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx18.sh new file mode 100755 index 0000000000000000000000000000000000000000..53471c03ee8f00d2abe3c2048506c632630f1941 --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx18.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172828-329161390 +# @用例名称: ltp.ltp-aiodio.part3.fsx18 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx18 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx19.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx19.sh new file mode 100755 index 0000000000000000000000000000000000000000..f551e98771e663e5a881c076f116bb7667046ec0 --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx19.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172828-406565846 +# @用例名称: ltp.ltp-aiodio.part3.fsx19 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx19 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx20.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx20.sh new file mode 100755 index 0000000000000000000000000000000000000000..14b370519e4383043d1a03e3ab6ef9b2df8eccc5 --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx20.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172828-484106291 +# @用例名称: ltp.ltp-aiodio.part3.fsx20 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx20 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx21.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx21.sh new file mode 100755 index 0000000000000000000000000000000000000000..aaf7aac89327a379675817f591a7389eab62ddf2 --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx21.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172828-561107766 +# @用例名称: ltp.ltp-aiodio.part3.fsx21 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx21 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx22.sh b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx22.sh new file mode 100755 index 0000000000000000000000000000000000000000..da7764348c60d8e43c1f4189ecca4a6f994e4075 --- /dev/null +++ b/testcase/ltp-aiodio.part3/ltp.ltp-aiodio.part3.fsx22.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172828-643296735 +# @用例名称: ltp.ltp-aiodio.part3.fsx22 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part3.fsx22 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part3 fsx22 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD000.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD000.sh new file mode 100755 index 0000000000000000000000000000000000000000..f295052fc2bcf9d414eff75ce1c44cf5c9503996 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD000.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-455822277 +# @用例名称: ltp.ltp-aiodio.part4.AD000 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.AD000 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 AD000 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD001.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD001.sh new file mode 100755 index 0000000000000000000000000000000000000000..38632388abc49334bce961adff7e0aaeef4868e4 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD001.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-464487875 +# @用例名称: ltp.ltp-aiodio.part4.AD001 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.AD001 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 AD001 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD002.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD002.sh new file mode 100755 index 0000000000000000000000000000000000000000..afe123113aae5f2f43e2fc93ade1551aff157eb3 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD002.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-473322279 +# @用例名称: ltp.ltp-aiodio.part4.AD002 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.AD002 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 AD002 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD003.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD003.sh new file mode 100755 index 0000000000000000000000000000000000000000..1b88adba43922697e5976f75952a2eefea73653b --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD003.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-482006772 +# @用例名称: ltp.ltp-aiodio.part4.AD003 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.AD003 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 AD003 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD004.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD004.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c3c87e2e349739674d0ba45d8183ab8e344311e --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD004.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-490547295 +# @用例名称: ltp.ltp-aiodio.part4.AD004 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.AD004 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 AD004 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD005.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD005.sh new file mode 100755 index 0000000000000000000000000000000000000000..a16c2e883e032c6e63885987f2c4d70f051966aa --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD005.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-499220046 +# @用例名称: ltp.ltp-aiodio.part4.AD005 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.AD005 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 AD005 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD006.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD006.sh new file mode 100755 index 0000000000000000000000000000000000000000..46b4afd89c0d051d224885fa0dc5af4ffc2dc07c --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD006.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-508244085 +# @用例名称: ltp.ltp-aiodio.part4.AD006 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.AD006 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 AD006 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD007.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD007.sh new file mode 100755 index 0000000000000000000000000000000000000000..ce9b623e92ef59b4d7ab4d0be9722f706aeec572 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD007.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-517178535 +# @用例名称: ltp.ltp-aiodio.part4.AD007 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.AD007 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 AD007 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD008.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD008.sh new file mode 100755 index 0000000000000000000000000000000000000000..cd1fceb9bc8cce77c87857341f1229f14db0d1aa --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD008.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-525847149 +# @用例名称: ltp.ltp-aiodio.part4.AD008 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.AD008 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 AD008 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD009.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD009.sh new file mode 100755 index 0000000000000000000000000000000000000000..450f8565d56a0378b1e37577a1873345a049e1a4 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.AD009.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-534636007 +# @用例名称: ltp.ltp-aiodio.part4.AD009 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.AD009 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 AD009 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI000.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI000.sh new file mode 100755 index 0000000000000000000000000000000000000000..db148f5520549a4bec8c8744266f8e24f96f2014 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI000.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-544299282 +# @用例名称: ltp.ltp-aiodio.part4.ADI000 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.ADI000 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 ADI000 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI001.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI001.sh new file mode 100755 index 0000000000000000000000000000000000000000..9e80f306124f739fdfe00b2a6ce929f75fc46289 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI001.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-553619305 +# @用例名称: ltp.ltp-aiodio.part4.ADI001 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.ADI001 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 ADI001 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI002.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI002.sh new file mode 100755 index 0000000000000000000000000000000000000000..cfc3a48d6716b3f0bb4f54e168e6a102288cd3f4 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI002.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-562331790 +# @用例名称: ltp.ltp-aiodio.part4.ADI002 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.ADI002 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 ADI002 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI003.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI003.sh new file mode 100755 index 0000000000000000000000000000000000000000..6883fb4683671aed55fe659f1569a060cce2daf3 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI003.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-570930783 +# @用例名称: ltp.ltp-aiodio.part4.ADI003 +# @用例级别: 1 +# @用例标签: +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.ADI003 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 ADI003 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI004.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI004.sh new file mode 100755 index 0000000000000000000000000000000000000000..5645f187b4e91639f8c1c9ee6b4b6eb10e363000 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI004.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-579517443 +# @用例名称: ltp.ltp-aiodio.part4.ADI004 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.ADI004 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 ADI004 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI005.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI005.sh new file mode 100755 index 0000000000000000000000000000000000000000..d1b1e13e755926953f80ac5f2551b64450931284 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI005.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-588006270 +# @用例名称: ltp.ltp-aiodio.part4.ADI005 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.ADI005 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 ADI005 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI006.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI006.sh new file mode 100755 index 0000000000000000000000000000000000000000..04156bd1404152a619a845f28c5ad3cde9814d6d --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI006.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-596658783 +# @用例名称: ltp.ltp-aiodio.part4.ADI006 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.ADI006 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 ADI006 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI007.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI007.sh new file mode 100755 index 0000000000000000000000000000000000000000..098fd6e6187263d2adbd25a1d4fafb2d2344c1d8 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI007.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-605306959 +# @用例名称: ltp.ltp-aiodio.part4.ADI007 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.ADI007 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 ADI007 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI008.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI008.sh new file mode 100755 index 0000000000000000000000000000000000000000..8bf95f5535b5f33d0a4cf4470ebe4ad5ab5d7c79 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI008.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-614060621 +# @用例名称: ltp.ltp-aiodio.part4.ADI008 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.ADI008 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 ADI008 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI009.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI009.sh new file mode 100755 index 0000000000000000000000000000000000000000..9b2bd069a108be3444a3c8be684b67304beda5d3 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.ADI009.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-627056072 +# @用例名称: ltp.ltp-aiodio.part4.ADI009 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.ADI009 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 ADI009 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI000.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI000.sh new file mode 100755 index 0000000000000000000000000000000000000000..1945c468894ee5fc1461076e679a42040af30699 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI000.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-185768810 +# @用例名称: ltp.ltp-aiodio.part4.DI000 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DI000 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DI000 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI001.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI001.sh new file mode 100755 index 0000000000000000000000000000000000000000..47454b8083149df569c1951541b0c77c879cd064 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI001.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-203461001 +# @用例名称: ltp.ltp-aiodio.part4.DI001 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DI001 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DI001 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI002.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI002.sh new file mode 100755 index 0000000000000000000000000000000000000000..bf603bd2683e5d2f83522f2fbc8c851d83353a2a --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI002.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-221013160 +# @用例名称: ltp.ltp-aiodio.part4.DI002 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DI002 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DI002 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI003.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI003.sh new file mode 100755 index 0000000000000000000000000000000000000000..f30927aa2b138520548bf512013808b3ccd39398 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI003.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-238368931 +# @用例名称: ltp.ltp-aiodio.part4.DI003 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DI003 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DI003 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI004.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI004.sh new file mode 100755 index 0000000000000000000000000000000000000000..f6db12b43755c97fe864a5486d927a0e196c1705 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI004.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-255531792 +# @用例名称: ltp.ltp-aiodio.part4.DI004 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DI004 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DI004 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI005.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI005.sh new file mode 100755 index 0000000000000000000000000000000000000000..17a143efd6c1a6d85bad0b4a6d15d0473b8ee5e7 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI005.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-272926887 +# @用例名称: ltp.ltp-aiodio.part4.DI005 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DI005 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DI005 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI006.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI006.sh new file mode 100755 index 0000000000000000000000000000000000000000..9f8ea44769c02532ba4e4a922a93292e4da4804f --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI006.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-290724315 +# @用例名称: ltp.ltp-aiodio.part4.DI006 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DI006 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DI006 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI007.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI007.sh new file mode 100755 index 0000000000000000000000000000000000000000..777b2be49169cc2a8844603cd575339fe977fc99 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI007.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-311858077 +# @用例名称: ltp.ltp-aiodio.part4.DI007 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DI007 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DI007 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI008.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI008.sh new file mode 100755 index 0000000000000000000000000000000000000000..df26b6cd75d22e10a53875cad880bc245cde1432 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI008.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-329127587 +# @用例名称: ltp.ltp-aiodio.part4.DI008 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DI008 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DI008 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI009.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI009.sh new file mode 100755 index 0000000000000000000000000000000000000000..a2a5cdf5372a9523cdf6f24cbf10ebac97fdca26 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DI009.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-349466251 +# @用例名称: ltp.ltp-aiodio.part4.DI009 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DI009 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DI009 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO00.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO00.sh new file mode 100755 index 0000000000000000000000000000000000000000..a69e53235363cc6d7ee323242f3caf6682fa5416 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO00.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-367937179 +# @用例名称: ltp.ltp-aiodio.part4.DIO00 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DIO00 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DIO00 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO01.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9aa96f5565d996ec4729b901c2af62a66e1d9340 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-376525643 +# @用例名称: ltp.ltp-aiodio.part4.DIO01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DIO01 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DIO01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO02.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO02.sh new file mode 100755 index 0000000000000000000000000000000000000000..46bbee0698a5fda7618b3c50a21841beb4af8102 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-385268736 +# @用例名称: ltp.ltp-aiodio.part4.DIO02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DIO02 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DIO02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO03.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO03.sh new file mode 100755 index 0000000000000000000000000000000000000000..f36cb5d21adca3bc78f611af0d620bf12de1b337 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-393869983 +# @用例名称: ltp.ltp-aiodio.part4.DIO03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DIO03 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DIO03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO04.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO04.sh new file mode 100755 index 0000000000000000000000000000000000000000..f031182c6c2cc211559bc59afe1f2abcf563d5bb --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-402457845 +# @用例名称: ltp.ltp-aiodio.part4.DIO04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DIO04 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DIO04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO05.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO05.sh new file mode 100755 index 0000000000000000000000000000000000000000..7bba175ce71449158f811dcbcace0c08e611b343 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-411266170 +# @用例名称: ltp.ltp-aiodio.part4.DIO05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DIO05 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DIO05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO06.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO06.sh new file mode 100755 index 0000000000000000000000000000000000000000..30505b38c81aab9551e0eb050e6f76fa631befd0 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-419920396 +# @用例名称: ltp.ltp-aiodio.part4.DIO06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DIO06 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DIO06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO07.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO07.sh new file mode 100755 index 0000000000000000000000000000000000000000..796c66c235b5e03060c89b81d3710443627ae963 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-428762956 +# @用例名称: ltp.ltp-aiodio.part4.DIO07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DIO07 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DIO07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO08.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO08.sh new file mode 100755 index 0000000000000000000000000000000000000000..a38c4aab359d9fd3b01c45516a4378f45578bea6 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-437344706 +# @用例名称: ltp.ltp-aiodio.part4.DIO08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DIO08 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DIO08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO09.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO09.sh new file mode 100755 index 0000000000000000000000000000000000000000..503992b9cae57d5bcc0b99a196d1732018103450 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIO09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-445998191 +# @用例名称: ltp.ltp-aiodio.part4.DIO09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DIO09 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DIO09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIT000.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIT000.sh new file mode 100755 index 0000000000000000000000000000000000000000..2f9aff239f206f1fac967d7542c39570582e8bdf --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIT000.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-636782626 +# @用例名称: ltp.ltp-aiodio.part4.DIT000 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DIT000 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DIT000 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIT001.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIT001.sh new file mode 100755 index 0000000000000000000000000000000000000000..aaf83785b7844b2f6bdf8267afd1f5ae37cb3598 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIT001.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-645337335 +# @用例名称: ltp.ltp-aiodio.part4.DIT001 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DIT001 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DIT001 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIT002.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIT002.sh new file mode 100755 index 0000000000000000000000000000000000000000..f493b8e450ce46fbd3bc6e195abe9842fa57e77c --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DIT002.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-655935169 +# @用例名称: ltp.ltp-aiodio.part4.DIT002 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DIT002 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DIT002 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DOR000.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DOR000.sh new file mode 100755 index 0000000000000000000000000000000000000000..aae00e67f43ef4de2a0de89fc949b37444cec189 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DOR000.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-669555059 +# @用例名称: ltp.ltp-aiodio.part4.DOR000 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DOR000 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DOR000 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DOR001.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DOR001.sh new file mode 100755 index 0000000000000000000000000000000000000000..edb2d2978c136392e7383aa1d1d05b89cb55d538 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DOR001.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-679438957 +# @用例名称: ltp.ltp-aiodio.part4.DOR001 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DOR001 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DOR001 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DOR002.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DOR002.sh new file mode 100755 index 0000000000000000000000000000000000000000..36f2a05f709fde1863b61f9c02b625b584586909 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DOR002.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-688645687 +# @用例名称: ltp.ltp-aiodio.part4.DOR002 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DOR002 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DOR002 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DOR003.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DOR003.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d8f513c63dc01769dcb4d887ec635be45adc36c --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DOR003.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-698444666 +# @用例名称: ltp.ltp-aiodio.part4.DOR003 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DOR003 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DOR003 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS000.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS000.sh new file mode 100755 index 0000000000000000000000000000000000000000..3b13a604f83a97dd3c3e065ed6c1386673b8c064 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS000.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-194758204 +# @用例名称: ltp.ltp-aiodio.part4.DS000 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DS000 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DS000 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS001.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS001.sh new file mode 100755 index 0000000000000000000000000000000000000000..513d7d42a5026ab02e3e626d0596542ceaa59b92 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS001.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-212396544 +# @用例名称: ltp.ltp-aiodio.part4.DS001 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DS001 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DS001 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS002.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS002.sh new file mode 100755 index 0000000000000000000000000000000000000000..5a7b780ca86c0b39df6bc645acdbbd1c9735e20c --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS002.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-229666835 +# @用例名称: ltp.ltp-aiodio.part4.DS002 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DS002 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DS002 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS003.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS003.sh new file mode 100755 index 0000000000000000000000000000000000000000..4fa49603dafa8910b0a2dba189c54e229bcb047c --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS003.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-246962875 +# @用例名称: ltp.ltp-aiodio.part4.DS003 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DS003 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DS003 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS004.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS004.sh new file mode 100755 index 0000000000000000000000000000000000000000..51b10f9f8027b2a0d12b103c42f049718688eae9 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS004.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-264162705 +# @用例名称: ltp.ltp-aiodio.part4.DS004 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DS004 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DS004 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS005.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS005.sh new file mode 100755 index 0000000000000000000000000000000000000000..322c17f87a623b0ae1e80a3b64f112bc97cf95aa --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS005.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-281498820 +# @用例名称: ltp.ltp-aiodio.part4.DS005 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DS005 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DS005 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS006.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS006.sh new file mode 100755 index 0000000000000000000000000000000000000000..da48ec3170f1991d8ad01cfccb0ad6ae8e31cb32 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS006.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-301879282 +# @用例名称: ltp.ltp-aiodio.part4.DS006 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DS006 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DS006 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS007.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS007.sh new file mode 100755 index 0000000000000000000000000000000000000000..e029a0219f270a32409b8bccf8e8617c468cf10f --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS007.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-320476666 +# @用例名称: ltp.ltp-aiodio.part4.DS007 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DS007 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DS007 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS008.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS008.sh new file mode 100755 index 0000000000000000000000000000000000000000..b18d0eb2ca4a0ec971ad550806067d494569b868 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS008.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-340841620 +# @用例名称: ltp.ltp-aiodio.part4.DS008 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DS008 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DS008 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS009.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS009.sh new file mode 100755 index 0000000000000000000000000000000000000000..a692955e5e2648f3c3a980aca4fb8e0479ecf6a2 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.DS009.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-212959-358201960 +# @用例名称: ltp.ltp-aiodio.part4.DS009 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.DS009 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 DS009 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.aio01.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.aio01.sh new file mode 100755 index 0000000000000000000000000000000000000000..546889ae5d9057c35e19a1a3f4e372664f9d411c --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.aio01.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172828-716782951 +# @用例名称: ltp.ltp-aiodio.part4.aio01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.aio01 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 aio01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.aio02.sh b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.aio02.sh new file mode 100755 index 0000000000000000000000000000000000000000..37723bca40caf59fe66e2d67e0d5e5557c1540b7 --- /dev/null +++ b/testcase/ltp-aiodio.part4/ltp.ltp-aiodio.part4.aio02.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172828-791065733 +# @用例名称: ltp.ltp-aiodio.part4.aio02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.ltp-aiodio.part4.aio02 + # @预期结果:1: 用例返回0 + ltp_run_testcase ltp-aiodio.part4 aio02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/math/ltp.math.abs01.sh b/testcase/math/ltp.math.abs01.sh new file mode 100755 index 0000000000000000000000000000000000000000..62013b341201f81965ff67cb5dacbb2c7bfacb1d --- /dev/null +++ b/testcase/math/ltp.math.abs01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-318682976 +# @用例名称: ltp.math.abs01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.math.abs01 + # @预期结果:1: 用例返回0 + ltp_run_testcase math abs01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/math/ltp.math.atof01.sh b/testcase/math/ltp.math.atof01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e67f4b5fb0e6f849413306cf7435c77b3ca5d140 --- /dev/null +++ b/testcase/math/ltp.math.atof01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-329315034 +# @用例名称: ltp.math.atof01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.math.atof01 + # @预期结果:1: 用例返回0 + ltp_run_testcase math atof01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/math/ltp.math.float_bessel.sh b/testcase/math/ltp.math.float_bessel.sh new file mode 100755 index 0000000000000000000000000000000000000000..7e18d3fa14d3319305c0ea403c155483241c26fd --- /dev/null +++ b/testcase/math/ltp.math.float_bessel.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-339844671 +# @用例名称: ltp.math.float_bessel +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.math.float_bessel + # @预期结果:1: 用例返回0 + ltp_run_testcase math float_bessel + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/math/ltp.math.float_exp_log.sh b/testcase/math/ltp.math.float_exp_log.sh new file mode 100755 index 0000000000000000000000000000000000000000..7a6ad402d90476a8bf97032391fe18a751e9bfe8 --- /dev/null +++ b/testcase/math/ltp.math.float_exp_log.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-348492696 +# @用例名称: ltp.math.float_exp_log +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.math.float_exp_log + # @预期结果:1: 用例返回0 + ltp_run_testcase math float_exp_log + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/math/ltp.math.float_iperb.sh b/testcase/math/ltp.math.float_iperb.sh new file mode 100755 index 0000000000000000000000000000000000000000..54027cd5edda3b4f29848fd15255a86c2e3ee5d3 --- /dev/null +++ b/testcase/math/ltp.math.float_iperb.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-361717606 +# @用例名称: ltp.math.float_iperb +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.math.float_iperb + # @预期结果:1: 用例返回0 + ltp_run_testcase math float_iperb + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/math/ltp.math.float_power.sh b/testcase/math/ltp.math.float_power.sh new file mode 100755 index 0000000000000000000000000000000000000000..da128da3fb5cad5ea24cc8eb0417fb2602f17235 --- /dev/null +++ b/testcase/math/ltp.math.float_power.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-372884796 +# @用例名称: ltp.math.float_power +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.math.float_power + # @预期结果:1: 用例返回0 + ltp_run_testcase math float_power + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/math/ltp.math.float_trigo.sh b/testcase/math/ltp.math.float_trigo.sh new file mode 100755 index 0000000000000000000000000000000000000000..678c20d7252640ba615ae3983f0fe1337e49d9b7 --- /dev/null +++ b/testcase/math/ltp.math.float_trigo.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-381475233 +# @用例名称: ltp.math.float_trigo +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.math.float_trigo + # @预期结果:1: 用例返回0 + ltp_run_testcase math float_trigo + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/math/ltp.math.fptest01.sh b/testcase/math/ltp.math.fptest01.sh new file mode 100755 index 0000000000000000000000000000000000000000..3caf9b25760acfa877e1b07e4a863495b220d12e --- /dev/null +++ b/testcase/math/ltp.math.fptest01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-392031749 +# @用例名称: ltp.math.fptest01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.math.fptest01 + # @预期结果:1: 用例返回0 + ltp_run_testcase math fptest01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/math/ltp.math.fptest02.sh b/testcase/math/ltp.math.fptest02.sh new file mode 100755 index 0000000000000000000000000000000000000000..81fb2ae93d5f8f25231d391caa74936fa1883d2e --- /dev/null +++ b/testcase/math/ltp.math.fptest02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-400816069 +# @用例名称: ltp.math.fptest02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.math.fptest02 + # @预期结果:1: 用例返回0 + ltp_run_testcase math fptest02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/math/ltp.math.nextafter01.sh b/testcase/math/ltp.math.nextafter01.sh new file mode 100755 index 0000000000000000000000000000000000000000..3afd4f765c13f21f1c922d2bb7abca170776e7af --- /dev/null +++ b/testcase/math/ltp.math.nextafter01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-411553615 +# @用例名称: ltp.math.nextafter01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.math.nextafter01 + # @预期结果:1: 用例返回0 + ltp_run_testcase math nextafter01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.cpuset01.sh b/testcase/mm/ltp.mm.cpuset01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ee8b2d3ecedfcdcf9de96272f274c46479eedae1 --- /dev/null +++ b/testcase/mm/ltp.mm.cpuset01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-910758089 +# @用例名称: ltp.mm.cpuset01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.cpuset01 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm cpuset01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.cpuset02.sh b/testcase/mm/ltp.mm.cpuset02.sh new file mode 100755 index 0000000000000000000000000000000000000000..7ae69eec5f8144c6e5de3d07c642f1f4ce9a4157 --- /dev/null +++ b/testcase/mm/ltp.mm.cpuset02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110835-464502387 +# @用例名称: ltp.mm.cpuset02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.cpuset02 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm cpuset02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.data_space.sh b/testcase/mm/ltp.mm.data_space.sh new file mode 100755 index 0000000000000000000000000000000000000000..c9207286a7c20449371d1d3c628cfa06e08fe277 --- /dev/null +++ b/testcase/mm/ltp.mm.data_space.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-541497365 +# @用例名称: ltp.mm.data_space +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.data_space + # @预期结果:1: 用例返回0 + ltp_run_testcase mm data_space + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.kallsyms.sh b/testcase/mm/ltp.mm.kallsyms.sh new file mode 100755 index 0000000000000000000000000000000000000000..0bc233239d452a4bca51147991282837ef305bb0 --- /dev/null +++ b/testcase/mm/ltp.mm.kallsyms.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172828-865469825 +# @用例名称: ltp.mm.kallsyms +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.kallsyms + # @预期结果:1: 用例返回0 + ltp_run_testcase mm kallsyms + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.ksm01.sh b/testcase/mm/ltp.mm.ksm01.sh new file mode 100755 index 0000000000000000000000000000000000000000..b553ff199b2bd6afce0ace5ef43182f35f06623d --- /dev/null +++ b/testcase/mm/ltp.mm.ksm01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-803652109 +# @用例名称: ltp.mm.ksm01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.ksm01 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm ksm01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.ksm01_1.sh b/testcase/mm/ltp.mm.ksm01_1.sh new file mode 100755 index 0000000000000000000000000000000000000000..5131fd7e6738eace0ec908cbc2929ed8815e524e --- /dev/null +++ b/testcase/mm/ltp.mm.ksm01_1.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-812443643 +# @用例名称: ltp.mm.ksm01_1 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.ksm01_1 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm ksm01_1 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.ksm02.sh b/testcase/mm/ltp.mm.ksm02.sh new file mode 100755 index 0000000000000000000000000000000000000000..f45a8889e452ad3a9c56f850bf798ed220b02995 --- /dev/null +++ b/testcase/mm/ltp.mm.ksm02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-820983656 +# @用例名称: ltp.mm.ksm02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.ksm02 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm ksm02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.ksm02_1.sh b/testcase/mm/ltp.mm.ksm02_1.sh new file mode 100755 index 0000000000000000000000000000000000000000..f3cfff9d9c241221b977b331cd05e22ec1aef102 --- /dev/null +++ b/testcase/mm/ltp.mm.ksm02_1.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-829799615 +# @用例名称: ltp.mm.ksm02_1 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.ksm02_1 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm ksm02_1 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.ksm03.sh b/testcase/mm/ltp.mm.ksm03.sh new file mode 100755 index 0000000000000000000000000000000000000000..53efe3619ae8f8f930685608325e0eff956d03f4 --- /dev/null +++ b/testcase/mm/ltp.mm.ksm03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-838861555 +# @用例名称: ltp.mm.ksm03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.ksm03 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm ksm03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.ksm03_1.sh b/testcase/mm/ltp.mm.ksm03_1.sh new file mode 100755 index 0000000000000000000000000000000000000000..874d6f478cd1d5403f398bc648c6678ae9437b3a --- /dev/null +++ b/testcase/mm/ltp.mm.ksm03_1.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-847574711 +# @用例名称: ltp.mm.ksm03_1 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.ksm03_1 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm ksm03_1 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.ksm04.sh b/testcase/mm/ltp.mm.ksm04.sh new file mode 100755 index 0000000000000000000000000000000000000000..49ce5b45c7df674b5af919057cddaf7f40853ca0 --- /dev/null +++ b/testcase/mm/ltp.mm.ksm04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-856335147 +# @用例名称: ltp.mm.ksm04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.ksm04 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm ksm04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.ksm04_1.sh b/testcase/mm/ltp.mm.ksm04_1.sh new file mode 100755 index 0000000000000000000000000000000000000000..112f3eaa5c8fe1e905d5c2b93d79c0c115c50526 --- /dev/null +++ b/testcase/mm/ltp.mm.ksm04_1.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-865319170 +# @用例名称: ltp.mm.ksm04_1 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.ksm04_1 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm ksm04_1 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.ksm05.sh b/testcase/mm/ltp.mm.ksm05.sh new file mode 100755 index 0000000000000000000000000000000000000000..0e994fdc2e67cda9fd9e4a6126d656c172089765 --- /dev/null +++ b/testcase/mm/ltp.mm.ksm05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-874039711 +# @用例名称: ltp.mm.ksm05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.ksm05 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm ksm05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.ksm06.sh b/testcase/mm/ltp.mm.ksm06.sh new file mode 100755 index 0000000000000000000000000000000000000000..32635f59d0bc650600e4e4129bb87a5a47e0f645 --- /dev/null +++ b/testcase/mm/ltp.mm.ksm06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-883072205 +# @用例名称: ltp.mm.ksm06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.ksm06 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm ksm06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.ksm06_1.sh b/testcase/mm/ltp.mm.ksm06_1.sh new file mode 100755 index 0000000000000000000000000000000000000000..e26311f5c0ddadfdd988daef30bc30426f514a8c --- /dev/null +++ b/testcase/mm/ltp.mm.ksm06_1.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-891607659 +# @用例名称: ltp.mm.ksm06_1 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.ksm06_1 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm ksm06_1 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.ksm06_2.sh b/testcase/mm/ltp.mm.ksm06_2.sh new file mode 100755 index 0000000000000000000000000000000000000000..e8955817e6e72d7140be25d48c678bab32956251 --- /dev/null +++ b/testcase/mm/ltp.mm.ksm06_2.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-900270181 +# @用例名称: ltp.mm.ksm06_2 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.ksm06_2 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm ksm06_2 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.ksm07.sh b/testcase/mm/ltp.mm.ksm07.sh new file mode 100755 index 0000000000000000000000000000000000000000..f9206ec573b8fabb53a820811e583abc8674b9a2 --- /dev/null +++ b/testcase/mm/ltp.mm.ksm07.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172828-939113493 +# @用例名称: ltp.mm.ksm07 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.ksm07 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm ksm07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mallocstress01.sh b/testcase/mm/ltp.mm.mallocstress01.sh new file mode 100755 index 0000000000000000000000000000000000000000..3986fdbfe1abf7ccae8c670fd24bd7a2a8e3cf1c --- /dev/null +++ b/testcase/mm/ltp.mm.mallocstress01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-651020638 +# @用例名称: ltp.mm.mallocstress01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mallocstress01 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mallocstress01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.max_map_count.sh b/testcase/mm/ltp.mm.max_map_count.sh new file mode 100755 index 0000000000000000000000000000000000000000..8564c586a4221d6f50d4721cf87b2c7ba6721030 --- /dev/null +++ b/testcase/mm/ltp.mm.max_map_count.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-145566495 +# @用例名称: ltp.mm.max_map_count +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.max_map_count + # @预期结果:1: 用例返回0 + ltp_run_testcase mm max_map_count + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mem02.sh b/testcase/mm/ltp.mm.mem02.sh new file mode 100755 index 0000000000000000000000000000000000000000..bc94535d5ae96464d9da628f0fb56a53ff29d946 --- /dev/null +++ b/testcase/mm/ltp.mm.mem02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-510408312 +# @用例名称: ltp.mm.mem02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mem02 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mem02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.min_free_kbytes.sh b/testcase/mm/ltp.mm.min_free_kbytes.sh new file mode 100755 index 0000000000000000000000000000000000000000..92a595117a6370a4feae857e84dc78840190eeb1 --- /dev/null +++ b/testcase/mm/ltp.mm.min_free_kbytes.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-157507403 +# @用例名称: ltp.mm.min_free_kbytes +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.min_free_kbytes + # @预期结果:1: 用例返回0 + ltp_run_testcase mm min_free_kbytes + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mmap10.sh b/testcase/mm/ltp.mm.mmap10.sh new file mode 100755 index 0000000000000000000000000000000000000000..f229fcc36596c99466f1c19af5ae847fb0ce13f5 --- /dev/null +++ b/testcase/mm/ltp.mm.mmap10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-753626567 +# @用例名称: ltp.mm.mmap10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mmap10 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mmap10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mmap10_1.sh b/testcase/mm/ltp.mm.mmap10_1.sh new file mode 100755 index 0000000000000000000000000000000000000000..ec61c860a279a9fb44368571919be789c1e409d2 --- /dev/null +++ b/testcase/mm/ltp.mm.mmap10_1.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-762573521 +# @用例名称: ltp.mm.mmap10_1 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mmap10_1 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mmap10_1 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mmap21_01.sh b/testcase/mm/ltp.mm.mmap21_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ab965f3099d8581281554397a638eff32f6334f3 --- /dev/null +++ b/testcase/mm/ltp.mm.mmap21_01.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110835-294604466 +# @用例名称: ltp.mm.mmap21_01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mmap21_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mmap21_01 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mmap21_02.sh b/testcase/mm/ltp.mm.mmap21_02.sh new file mode 100755 index 0000000000000000000000000000000000000000..54d19842c942051dc9b6c5ade9a04e3b954f2a0e --- /dev/null +++ b/testcase/mm/ltp.mm.mmap21_02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110835-377960667 +# @用例名称: ltp.mm.mmap21_02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mmap21_02 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mmap21_02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mmapstress01.sh b/testcase/mm/ltp.mm.mmapstress01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ca9a870bae7ddada243e4f929e2ffe4afc7e81f7 --- /dev/null +++ b/testcase/mm/ltp.mm.mmapstress01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-661584429 +# @用例名称: ltp.mm.mmapstress01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mmapstress01 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mmapstress01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mmapstress02.sh b/testcase/mm/ltp.mm.mmapstress02.sh new file mode 100755 index 0000000000000000000000000000000000000000..57880a403847597f7ff1adb4ae7b99f3f87ff828 --- /dev/null +++ b/testcase/mm/ltp.mm.mmapstress02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-670256078 +# @用例名称: ltp.mm.mmapstress02 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mmapstress02 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mmapstress02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mmapstress03.sh b/testcase/mm/ltp.mm.mmapstress03.sh new file mode 100755 index 0000000000000000000000000000000000000000..46bf60df85fd2497ea296a1e23af54089755ecc2 --- /dev/null +++ b/testcase/mm/ltp.mm.mmapstress03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-679058161 +# @用例名称: ltp.mm.mmapstress03 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mmapstress03 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mmapstress03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mmapstress04.sh b/testcase/mm/ltp.mm.mmapstress04.sh new file mode 100755 index 0000000000000000000000000000000000000000..ca62b2dfc4bc200c180c671afb092a56aa6098ac --- /dev/null +++ b/testcase/mm/ltp.mm.mmapstress04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-687706477 +# @用例名称: ltp.mm.mmapstress04 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mmapstress04 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mmapstress04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mmapstress05.sh b/testcase/mm/ltp.mm.mmapstress05.sh new file mode 100755 index 0000000000000000000000000000000000000000..709d29ff86ba7114deef372b128231862308a61c --- /dev/null +++ b/testcase/mm/ltp.mm.mmapstress05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-696414975 +# @用例名称: ltp.mm.mmapstress05 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mmapstress05 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mmapstress05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mmapstress06.sh b/testcase/mm/ltp.mm.mmapstress06.sh new file mode 100755 index 0000000000000000000000000000000000000000..9f4ccfeb52b133c9bec5c2390b668dc214bbc663 --- /dev/null +++ b/testcase/mm/ltp.mm.mmapstress06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-705097564 +# @用例名称: ltp.mm.mmapstress06 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mmapstress06 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mmapstress06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mmapstress07.sh b/testcase/mm/ltp.mm.mmapstress07.sh new file mode 100755 index 0000000000000000000000000000000000000000..c59aeccd9c2e4d977ab84c629969a23aa345d538 --- /dev/null +++ b/testcase/mm/ltp.mm.mmapstress07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-714075226 +# @用例名称: ltp.mm.mmapstress07 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mmapstress07 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mmapstress07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mmapstress08.sh b/testcase/mm/ltp.mm.mmapstress08.sh new file mode 100755 index 0000000000000000000000000000000000000000..2b9b1477b271808b46085f2e6b870abac432f061 --- /dev/null +++ b/testcase/mm/ltp.mm.mmapstress08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-723157704 +# @用例名称: ltp.mm.mmapstress08 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mmapstress08 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mmapstress08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mmapstress09.sh b/testcase/mm/ltp.mm.mmapstress09.sh new file mode 100755 index 0000000000000000000000000000000000000000..d44f18e2f389d027fe5d37c045f9e192d8ce6931 --- /dev/null +++ b/testcase/mm/ltp.mm.mmapstress09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-732261833 +# @用例名称: ltp.mm.mmapstress09 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mmapstress09 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mmapstress09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mmapstress10.sh b/testcase/mm/ltp.mm.mmapstress10.sh new file mode 100755 index 0000000000000000000000000000000000000000..b41786f81a706ba5011bd8a71e66662335c998fb --- /dev/null +++ b/testcase/mm/ltp.mm.mmapstress10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-741119319 +# @用例名称: ltp.mm.mmapstress10 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mmapstress10 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mmapstress10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mtest01.sh b/testcase/mm/ltp.mm.mtest01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7ec9c604ba12214656287d4261a02c95338fee20 --- /dev/null +++ b/testcase/mm/ltp.mm.mtest01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-450899591 +# @用例名称: ltp.mm.mtest01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mtest01 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mtest01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mtest01w.sh b/testcase/mm/ltp.mm.mtest01w.sh new file mode 100755 index 0000000000000000000000000000000000000000..0881a1a8cec03b0ce431a4f439f9e1bde3c5f70d --- /dev/null +++ b/testcase/mm/ltp.mm.mtest01w.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-459601036 +# @用例名称: ltp.mm.mtest01w +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mtest01w + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mtest01w + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mtest05.sh b/testcase/mm/ltp.mm.mtest05.sh new file mode 100755 index 0000000000000000000000000000000000000000..dc0394e70bfeac199ef1e4616cd2d36681b83350 --- /dev/null +++ b/testcase/mm/ltp.mm.mtest05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-471531684 +# @用例名称: ltp.mm.mtest05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mtest05 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mtest05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mtest06.sh b/testcase/mm/ltp.mm.mtest06.sh new file mode 100755 index 0000000000000000000000000000000000000000..65987a4dd1491d085159de3e7262b49cc4939522 --- /dev/null +++ b/testcase/mm/ltp.mm.mtest06.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-480313469 +# @用例名称: ltp.mm.mtest06 +# @用例级别: 1 +# @用例标签: +# @超时时间: 360 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mtest06 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mtest06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mtest06_2.sh b/testcase/mm/ltp.mm.mtest06_2.sh new file mode 100755 index 0000000000000000000000000000000000000000..5d78e38dc581dfdb52835706c257e6fecd423958 --- /dev/null +++ b/testcase/mm/ltp.mm.mtest06_2.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-488985269 +# @用例名称: ltp.mm.mtest06_2 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mtest06_2 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mtest06_2 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.mtest06_3.sh b/testcase/mm/ltp.mm.mtest06_3.sh new file mode 100755 index 0000000000000000000000000000000000000000..d7eb00f751df8ada5d5838b557dff40cd0ad0b98 --- /dev/null +++ b/testcase/mm/ltp.mm.mtest06_3.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-497680672 +# @用例名称: ltp.mm.mtest06_3 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.mtest06_3 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm mtest06_3 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.oom01.sh b/testcase/mm/ltp.mm.oom01.sh new file mode 100755 index 0000000000000000000000000000000000000000..6abb18231c3621bc950ec82276cc0b5acddc4032 --- /dev/null +++ b/testcase/mm/ltp.mm.oom01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-924357139 +# @用例名称: ltp.mm.oom01 +# @用例级别: 4 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.oom01 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm oom01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.oom02.sh b/testcase/mm/ltp.mm.oom02.sh new file mode 100755 index 0000000000000000000000000000000000000000..43878f03a187f617b97121f1a4ac6945bfaf8628 --- /dev/null +++ b/testcase/mm/ltp.mm.oom02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-933112696 +# @用例名称: ltp.mm.oom02 +# @用例级别: 4 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.oom02 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm oom02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.oom03.sh b/testcase/mm/ltp.mm.oom03.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d9ce16b6e315fbf69cc8decb5e0227a5198afc7 --- /dev/null +++ b/testcase/mm/ltp.mm.oom03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-941777202 +# @用例名称: ltp.mm.oom03 +# @用例级别: 4 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.oom03 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm oom03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.oom04.sh b/testcase/mm/ltp.mm.oom04.sh new file mode 100755 index 0000000000000000000000000000000000000000..266fca04196b45d4199494213314a7e59b85c95b --- /dev/null +++ b/testcase/mm/ltp.mm.oom04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-950451135 +# @用例名称: ltp.mm.oom04 +# @用例级别: 4 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.oom04 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm oom04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.oom05.sh b/testcase/mm/ltp.mm.oom05.sh new file mode 100755 index 0000000000000000000000000000000000000000..d6d16fe80913e9e949d82d19d136829b140777dc --- /dev/null +++ b/testcase/mm/ltp.mm.oom05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-959229203 +# @用例名称: ltp.mm.oom05 +# @用例级别: 4 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.oom05 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm oom05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.overcommit_memory01.sh b/testcase/mm/ltp.mm.overcommit_memory01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d1768b4d701fcc2528d5e95f1a2975f88c943513 --- /dev/null +++ b/testcase/mm/ltp.mm.overcommit_memory01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-082450112 +# @用例名称: ltp.mm.overcommit_memory01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.overcommit_memory01 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm overcommit_memory01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.overcommit_memory02.sh b/testcase/mm/ltp.mm.overcommit_memory02.sh new file mode 100755 index 0000000000000000000000000000000000000000..f3bfafeb734df8f1162ee16e5b0a98274005a054 --- /dev/null +++ b/testcase/mm/ltp.mm.overcommit_memory02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-099530658 +# @用例名称: ltp.mm.overcommit_memory02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.overcommit_memory02 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm overcommit_memory02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.overcommit_memory03.sh b/testcase/mm/ltp.mm.overcommit_memory03.sh new file mode 100755 index 0000000000000000000000000000000000000000..072a47ce9fb9c43b93381ae991121b9ea73b9032 --- /dev/null +++ b/testcase/mm/ltp.mm.overcommit_memory03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-108258062 +# @用例名称: ltp.mm.overcommit_memory03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.overcommit_memory03 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm overcommit_memory03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.overcommit_memory04.sh b/testcase/mm/ltp.mm.overcommit_memory04.sh new file mode 100755 index 0000000000000000000000000000000000000000..c89576f2720b40ca0a61af9b4a051c295b0906ed --- /dev/null +++ b/testcase/mm/ltp.mm.overcommit_memory04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-117545453 +# @用例名称: ltp.mm.overcommit_memory04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.overcommit_memory04 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm overcommit_memory04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.overcommit_memory05.sh b/testcase/mm/ltp.mm.overcommit_memory05.sh new file mode 100755 index 0000000000000000000000000000000000000000..1fdd4cbf45c4928f894087a6ac303c2f6e7e4305 --- /dev/null +++ b/testcase/mm/ltp.mm.overcommit_memory05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-126447333 +# @用例名称: ltp.mm.overcommit_memory05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.overcommit_memory05 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm overcommit_memory05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.overcommit_memory06.sh b/testcase/mm/ltp.mm.overcommit_memory06.sh new file mode 100755 index 0000000000000000000000000000000000000000..e92119343725bbb53082bfe486c75fe2b50d4ca4 --- /dev/null +++ b/testcase/mm/ltp.mm.overcommit_memory06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-135072656 +# @用例名称: ltp.mm.overcommit_memory06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.overcommit_memory06 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm overcommit_memory06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.page01.sh b/testcase/mm/ltp.mm.page01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4a4511146127d8ce2586ab4649dadfaafc41c927 --- /dev/null +++ b/testcase/mm/ltp.mm.page01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-521676681 +# @用例名称: ltp.mm.page01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.page01 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm page01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.page02.sh b/testcase/mm/ltp.mm.page02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ec9cb3dcd4a93a464e78933258d6b92af0ce9621 --- /dev/null +++ b/testcase/mm/ltp.mm.page02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-530623334 +# @用例名称: ltp.mm.page02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.page02 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm page02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.shm_test01.sh b/testcase/mm/ltp.mm.shm_test01.sh new file mode 100755 index 0000000000000000000000000000000000000000..adff0c0a4775eee9eb3a10dc8413aca8a0d8920b --- /dev/null +++ b/testcase/mm/ltp.mm.shm_test01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-642314645 +# @用例名称: ltp.mm.shm_test01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.shm_test01 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm shm_test01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.shmt02.sh b/testcase/mm/ltp.mm.shmt02.sh new file mode 100755 index 0000000000000000000000000000000000000000..39f2c8c81b9b97f70d40699de06c52472ccfa90b --- /dev/null +++ b/testcase/mm/ltp.mm.shmt02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-560978795 +# @用例名称: ltp.mm.shmt02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.shmt02 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm shmt02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.shmt03.sh b/testcase/mm/ltp.mm.shmt03.sh new file mode 100755 index 0000000000000000000000000000000000000000..07ce7e251e220d1619eaff1d2278a4300d1b35e7 --- /dev/null +++ b/testcase/mm/ltp.mm.shmt03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-569721206 +# @用例名称: ltp.mm.shmt03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.shmt03 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm shmt03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.shmt04.sh b/testcase/mm/ltp.mm.shmt04.sh new file mode 100755 index 0000000000000000000000000000000000000000..1c4039df2e61301f703af6acd5fdfac25bc89b95 --- /dev/null +++ b/testcase/mm/ltp.mm.shmt04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-578371927 +# @用例名称: ltp.mm.shmt04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.shmt04 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm shmt04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.shmt05.sh b/testcase/mm/ltp.mm.shmt05.sh new file mode 100755 index 0000000000000000000000000000000000000000..13f7f41a7878f050f6be993b32b32a58cfc53488 --- /dev/null +++ b/testcase/mm/ltp.mm.shmt05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-588203706 +# @用例名称: ltp.mm.shmt05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.shmt05 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm shmt05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.shmt07.sh b/testcase/mm/ltp.mm.shmt07.sh new file mode 100755 index 0000000000000000000000000000000000000000..05ff1517e4c5bfa5770365b2932a0c122d3c17be --- /dev/null +++ b/testcase/mm/ltp.mm.shmt07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-606068481 +# @用例名称: ltp.mm.shmt07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.shmt07 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm shmt07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.shmt08.sh b/testcase/mm/ltp.mm.shmt08.sh new file mode 100755 index 0000000000000000000000000000000000000000..275e1068fa5a90363459529653963b309bc20940 --- /dev/null +++ b/testcase/mm/ltp.mm.shmt08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-614545435 +# @用例名称: ltp.mm.shmt08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.shmt08 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm shmt08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.shmt09.sh b/testcase/mm/ltp.mm.shmt09.sh new file mode 100755 index 0000000000000000000000000000000000000000..b131e835264a8adcd65a7d2baf9779f8895287bf --- /dev/null +++ b/testcase/mm/ltp.mm.shmt09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-623068085 +# @用例名称: ltp.mm.shmt09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.shmt09 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm shmt09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.shmt10.sh b/testcase/mm/ltp.mm.shmt10.sh new file mode 100755 index 0000000000000000000000000000000000000000..948632cc42c5ed68733c9c56a3ce403e2aff9091 --- /dev/null +++ b/testcase/mm/ltp.mm.shmt10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-631561371 +# @用例名称: ltp.mm.shmt10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.shmt10 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm shmt10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.stack_space.sh b/testcase/mm/ltp.mm.stack_space.sh new file mode 100755 index 0000000000000000000000000000000000000000..974e1e527bd92e4fc37a6ff3e989b03762d356fd --- /dev/null +++ b/testcase/mm/ltp.mm.stack_space.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-550212165 +# @用例名称: ltp.mm.stack_space +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.stack_space + # @预期结果:1: 用例返回0 + ltp_run_testcase mm stack_space + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.swapping01.sh b/testcase/mm/ltp.mm.swapping01.sh new file mode 100755 index 0000000000000000000000000000000000000000..3a643f2fc21ae02ba869523369b79c8a1abe79d7 --- /dev/null +++ b/testcase/mm/ltp.mm.swapping01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-969885026 +# @用例名称: ltp.mm.swapping01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.swapping01 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm swapping01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.thp01.sh b/testcase/mm/ltp.mm.thp01.sh new file mode 100755 index 0000000000000000000000000000000000000000..b359a07e3c19be55fa46fcbc43b9e15ee54c0bd9 --- /dev/null +++ b/testcase/mm/ltp.mm.thp01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-980854315 +# @用例名称: ltp.mm.thp01 +# @用例级别: 2 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.thp01 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm thp01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.thp02.sh b/testcase/mm/ltp.mm.thp02.sh new file mode 100755 index 0000000000000000000000000000000000000000..21b0fdc95ff53fb0ba840844220ca1e8a6bb865c --- /dev/null +++ b/testcase/mm/ltp.mm.thp02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213000-994538806 +# @用例名称: ltp.mm.thp02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.thp02 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm thp02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.thp03.sh b/testcase/mm/ltp.mm.thp03.sh new file mode 100755 index 0000000000000000000000000000000000000000..bf4e7a7b830e8765537dbdbd48fc0a01ea8dcae6 --- /dev/null +++ b/testcase/mm/ltp.mm.thp03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-003913570 +# @用例名称: ltp.mm.thp03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.thp03 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm thp03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.thp04.sh b/testcase/mm/ltp.mm.thp04.sh new file mode 100755 index 0000000000000000000000000000000000000000..3d7f8303b5f9fb46686980654a52a18dd8dd7d79 --- /dev/null +++ b/testcase/mm/ltp.mm.thp04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-013801896 +# @用例名称: ltp.mm.thp04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.thp04 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm thp04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.vma01.sh b/testcase/mm/ltp.mm.vma01.sh new file mode 100755 index 0000000000000000000000000000000000000000..5554fde692d746c23ead8b7ceea3a0648c0b5ca1 --- /dev/null +++ b/testcase/mm/ltp.mm.vma01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-024994583 +# @用例名称: ltp.mm.vma01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.vma01 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm vma01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.vma02.sh b/testcase/mm/ltp.mm.vma02.sh new file mode 100755 index 0000000000000000000000000000000000000000..990046a06d05ea100a76d2c99e1ef63f6cf10500 --- /dev/null +++ b/testcase/mm/ltp.mm.vma02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-033964000 +# @用例名称: ltp.mm.vma02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.vma02 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm vma02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.vma03.sh b/testcase/mm/ltp.mm.vma03.sh new file mode 100755 index 0000000000000000000000000000000000000000..41217e81708c767b3df5489ddb846deefd5c0c01 --- /dev/null +++ b/testcase/mm/ltp.mm.vma03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-043991898 +# @用例名称: ltp.mm.vma03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.vma03 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm vma03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.vma04.sh b/testcase/mm/ltp.mm.vma04.sh new file mode 100755 index 0000000000000000000000000000000000000000..9de4b6129675e1b6086ad9f75a2e26f0b335c955 --- /dev/null +++ b/testcase/mm/ltp.mm.vma04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-053849726 +# @用例名称: ltp.mm.vma04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.vma04 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm vma04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/mm/ltp.mm.vma05.sh b/testcase/mm/ltp.mm.vma05.sh new file mode 100755 index 0000000000000000000000000000000000000000..e0b53457bb1cb7c01de7f151a2ae194a3458c870 --- /dev/null +++ b/testcase/mm/ltp.mm.vma05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-063079800 +# @用例名称: ltp.mm.vma05 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.mm.vma05 + # @预期结果:1: 用例返回0 + ltp_run_testcase mm vma05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.bbr01.sh b/testcase/net.features/ltp.net.features.bbr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..314d262eba9441c069a5d823b307019369fa752c --- /dev/null +++ b/testcase/net.features/ltp.net.features.bbr01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-172017357 +# @用例名称: ltp.net.features.bbr01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.bbr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features bbr01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.bbr01_ipv6.sh b/testcase/net.features/ltp.net.features.bbr01_ipv6.sh new file mode 100755 index 0000000000000000000000000000000000000000..cbec7d1934b917f2710151cec932e0fa939155c5 --- /dev/null +++ b/testcase/net.features/ltp.net.features.bbr01_ipv6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-184777899 +# @用例名称: ltp.net.features.bbr01_ipv6 +# @用例级别: 2 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.bbr01_ipv6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features bbr01_ipv6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.bbr02.sh b/testcase/net.features/ltp.net.features.bbr02.sh new file mode 100755 index 0000000000000000000000000000000000000000..a171b7603f519db0441070371053cc7297a6f738 --- /dev/null +++ b/testcase/net.features/ltp.net.features.bbr02.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-195371335 +# @用例名称: ltp.net.features.bbr02 +# @用例级别: 3 +# @用例标签: +# @超时时间: 360 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.bbr02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features bbr02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.bbr02_ipv6.sh b/testcase/net.features/ltp.net.features.bbr02_ipv6.sh new file mode 100755 index 0000000000000000000000000000000000000000..7edc5755974ff07c28787ac787ec36e220769b9d --- /dev/null +++ b/testcase/net.features/ltp.net.features.bbr02_ipv6.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-204122042 +# @用例名称: ltp.net.features.bbr02_ipv6 +# @用例级别: 3 +# @用例标签: +# @超时时间: 360 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.bbr02_ipv6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features bbr02_ipv6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.bind_noport01.sh b/testcase/net.features/ltp.net.features.bind_noport01.sh new file mode 100755 index 0000000000000000000000000000000000000000..2475d00b541ebfe518e035be58c1c6edcc82e553 --- /dev/null +++ b/testcase/net.features/ltp.net.features.bind_noport01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-215111138 +# @用例名称: ltp.net.features.bind_noport01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.bind_noport01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features bind_noport01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.bind_noport01_ipv6.sh b/testcase/net.features/ltp.net.features.bind_noport01_ipv6.sh new file mode 100755 index 0000000000000000000000000000000000000000..17416a06fd8224ef1e6cafe8b0aa366ba0b0ae1b --- /dev/null +++ b/testcase/net.features/ltp.net.features.bind_noport01_ipv6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-223808836 +# @用例名称: ltp.net.features.bind_noport01_ipv6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.bind_noport01_ipv6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features bind_noport01_ipv6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.busy_poll01.sh b/testcase/net.features/ltp.net.features.busy_poll01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8b5d12353546654965bd503485c8cf96929263b6 --- /dev/null +++ b/testcase/net.features/ltp.net.features.busy_poll01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-238648528 +# @用例名称: ltp.net.features.busy_poll01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.busy_poll01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features busy_poll01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.busy_poll01_ipv6.sh b/testcase/net.features/ltp.net.features.busy_poll01_ipv6.sh new file mode 100755 index 0000000000000000000000000000000000000000..8e3f0c700b50234173e692a656d17aef45915389 --- /dev/null +++ b/testcase/net.features/ltp.net.features.busy_poll01_ipv6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-252548061 +# @用例名称: ltp.net.features.busy_poll01_ipv6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.busy_poll01_ipv6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features busy_poll01_ipv6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.busy_poll02.sh b/testcase/net.features/ltp.net.features.busy_poll02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ad8d5b3dba926c600a62b4d6cf334a8b566218dc --- /dev/null +++ b/testcase/net.features/ltp.net.features.busy_poll02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-267234146 +# @用例名称: ltp.net.features.busy_poll02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.busy_poll02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features busy_poll02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.busy_poll02_ipv6.sh b/testcase/net.features/ltp.net.features.busy_poll02_ipv6.sh new file mode 100755 index 0000000000000000000000000000000000000000..6d884e8628d70423401c49c7f7b3864bcd697953 --- /dev/null +++ b/testcase/net.features/ltp.net.features.busy_poll02_ipv6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-278426734 +# @用例名称: ltp.net.features.busy_poll02_ipv6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.busy_poll02_ipv6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features busy_poll02_ipv6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.busy_poll03.sh b/testcase/net.features/ltp.net.features.busy_poll03.sh new file mode 100755 index 0000000000000000000000000000000000000000..80d5a5ff2f069b28f6995e37030b9dd06213408e --- /dev/null +++ b/testcase/net.features/ltp.net.features.busy_poll03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-290981971 +# @用例名称: ltp.net.features.busy_poll03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.busy_poll03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features busy_poll03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.busy_poll03_ipv6.sh b/testcase/net.features/ltp.net.features.busy_poll03_ipv6.sh new file mode 100755 index 0000000000000000000000000000000000000000..8ec37824b7b5a86bfd0113a22b44f7a6e768d003 --- /dev/null +++ b/testcase/net.features/ltp.net.features.busy_poll03_ipv6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-300233615 +# @用例名称: ltp.net.features.busy_poll03_ipv6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.busy_poll03_ipv6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features busy_poll03_ipv6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.dccp01.sh b/testcase/net.features/ltp.net.features.dccp01.sh new file mode 100755 index 0000000000000000000000000000000000000000..65a38d8b74af4d79c185b9671df08a01d08f7a22 --- /dev/null +++ b/testcase/net.features/ltp.net.features.dccp01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-311950334 +# @用例名称: ltp.net.features.dccp01 +# @用例级别: 2 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.dccp01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features dccp01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.dccp01_ipv6.sh b/testcase/net.features/ltp.net.features.dccp01_ipv6.sh new file mode 100755 index 0000000000000000000000000000000000000000..0cc2adfe6d0aab7e62f0084f7cebd273849a0ac3 --- /dev/null +++ b/testcase/net.features/ltp.net.features.dccp01_ipv6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-323384803 +# @用例名称: ltp.net.features.dccp01_ipv6 +# @用例级别: 2 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.dccp01_ipv6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features dccp01_ipv6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.dctcp_ipv4_01.sh b/testcase/net.features/ltp.net.features.dctcp_ipv4_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ed4f992da321d39cf6b1c53a1cfa052f69b7ceb5 --- /dev/null +++ b/testcase/net.features/ltp.net.features.dctcp_ipv4_01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-686326811 +# @用例名称: ltp.net.features.dctcp_ipv4_01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.dctcp_ipv4_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features dctcp_ipv4_01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.dctcp_ipv6_01.sh b/testcase/net.features/ltp.net.features.dctcp_ipv6_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d7d14ab40bd663567331d10ee49ebae1609b02b1 --- /dev/null +++ b/testcase/net.features/ltp.net.features.dctcp_ipv6_01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-695212792 +# @用例名称: ltp.net.features.dctcp_ipv6_01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.dctcp_ipv6_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features dctcp_ipv6_01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.fanout01.sh b/testcase/net.features/ltp.net.features.fanout01.sh new file mode 100755 index 0000000000000000000000000000000000000000..808e06145b10701f7788766e0d2ec2ef842af299 --- /dev/null +++ b/testcase/net.features/ltp.net.features.fanout01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-810910701 +# @用例名称: ltp.net.features.fanout01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.fanout01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features fanout01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.fou01.sh b/testcase/net.features/ltp.net.features.fou01.sh new file mode 100755 index 0000000000000000000000000000000000000000..434100dcbbcdff2db2763233e8a078eca298858a --- /dev/null +++ b/testcase/net.features/ltp.net.features.fou01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-661109146 +# @用例名称: ltp.net.features.fou01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.fou01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features fou01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.fou01_ipv6.sh b/testcase/net.features/ltp.net.features.fou01_ipv6.sh new file mode 100755 index 0000000000000000000000000000000000000000..480740b8edd6bd5cad66868446582cc5142bb6c7 --- /dev/null +++ b/testcase/net.features/ltp.net.features.fou01_ipv6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-670003723 +# @用例名称: ltp.net.features.fou01_ipv6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.fou01_ipv6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features fou01_ipv6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.geneve01.sh b/testcase/net.features/ltp.net.features.geneve01.sh new file mode 100755 index 0000000000000000000000000000000000000000..deaa550e7021ea1e96938edbea3bfc869a9b7048 --- /dev/null +++ b/testcase/net.features/ltp.net.features.geneve01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-706052699 +# @用例名称: ltp.net.features.geneve01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.geneve01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features geneve01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.geneve01_ipv6.sh b/testcase/net.features/ltp.net.features.geneve01_ipv6.sh new file mode 100755 index 0000000000000000000000000000000000000000..c4fae5c043de0fa85f7f81afeb544ffd7c51c5a9 --- /dev/null +++ b/testcase/net.features/ltp.net.features.geneve01_ipv6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-714808115 +# @用例名称: ltp.net.features.geneve01_ipv6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.geneve01_ipv6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features geneve01_ipv6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.geneve02.sh b/testcase/net.features/ltp.net.features.geneve02.sh new file mode 100755 index 0000000000000000000000000000000000000000..4e8ee888ec59f03b32320c82fce4d28882499693 --- /dev/null +++ b/testcase/net.features/ltp.net.features.geneve02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-723666713 +# @用例名称: ltp.net.features.geneve02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.geneve02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features geneve02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.geneve02_ipv6.sh b/testcase/net.features/ltp.net.features.geneve02_ipv6.sh new file mode 100755 index 0000000000000000000000000000000000000000..d63d275b09ba2bdfa57be308586ce469d764bd7f --- /dev/null +++ b/testcase/net.features/ltp.net.features.geneve02_ipv6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-732390409 +# @用例名称: ltp.net.features.geneve02_ipv6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.geneve02_ipv6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features geneve02_ipv6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.gre_ipv4_01.sh b/testcase/net.features/ltp.net.features.gre_ipv4_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9e16628bb1596ec4d4df564b0d5e3aa4a16da713 --- /dev/null +++ b/testcase/net.features/ltp.net.features.gre_ipv4_01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-589559310 +# @用例名称: ltp.net.features.gre_ipv4_01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.gre_ipv4_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features gre_ipv4_01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.gre_ipv4_02.sh b/testcase/net.features/ltp.net.features.gre_ipv4_02.sh new file mode 100755 index 0000000000000000000000000000000000000000..7f282d78a658e90e71dbf4b904e0e894f271dff8 --- /dev/null +++ b/testcase/net.features/ltp.net.features.gre_ipv4_02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-609452050 +# @用例名称: ltp.net.features.gre_ipv4_02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.gre_ipv4_02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features gre_ipv4_02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.gre_ipv6_01.sh b/testcase/net.features/ltp.net.features.gre_ipv6_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8e52f5564e6b944cfcf858ef57b0cccad63804e0 --- /dev/null +++ b/testcase/net.features/ltp.net.features.gre_ipv6_01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-598459117 +# @用例名称: ltp.net.features.gre_ipv6_01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.gre_ipv6_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features gre_ipv6_01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.gre_ipv6_02.sh b/testcase/net.features/ltp.net.features.gre_ipv6_02.sh new file mode 100755 index 0000000000000000000000000000000000000000..e3e15a1b66ac25e3ca5ce61756903c3010c28f77 --- /dev/null +++ b/testcase/net.features/ltp.net.features.gre_ipv6_02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-618395257 +# @用例名称: ltp.net.features.gre_ipv6_02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.gre_ipv6_02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features gre_ipv6_02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.gue01.sh b/testcase/net.features/ltp.net.features.gue01.sh new file mode 100755 index 0000000000000000000000000000000000000000..274fe5881d59ba8825d8666ab6ca572493573a48 --- /dev/null +++ b/testcase/net.features/ltp.net.features.gue01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-635092175 +# @用例名称: ltp.net.features.gue01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.gue01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features gue01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.gue01_ipv6.sh b/testcase/net.features/ltp.net.features.gue01_ipv6.sh new file mode 100755 index 0000000000000000000000000000000000000000..a1d8b1c7c54873dc6493c4b5ed45bacdabe6cb53 --- /dev/null +++ b/testcase/net.features/ltp.net.features.gue01_ipv6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-646517628 +# @用例名称: ltp.net.features.gue01_ipv6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.gue01_ipv6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features gue01_ipv6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.ipvlan01.sh b/testcase/net.features/ltp.net.features.ipvlan01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c6026bfeef85a4ad01b66728d19fa365e53eb7e6 --- /dev/null +++ b/testcase/net.features/ltp.net.features.ipvlan01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-578384126 +# @用例名称: ltp.net.features.ipvlan01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.ipvlan01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features ipvlan01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.macsec01.sh b/testcase/net.features/ltp.net.features.macsec01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4019fb2000f3da103e395cf7e4b25755f12ff8d1 --- /dev/null +++ b/testcase/net.features/ltp.net.features.macsec01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-549544653 +# @用例名称: ltp.net.features.macsec01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.macsec01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features macsec01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.macsec02.sh b/testcase/net.features/ltp.net.features.macsec02.sh new file mode 100755 index 0000000000000000000000000000000000000000..8bc1474cbe35189dd0bf265dcfb8190c18599564 --- /dev/null +++ b/testcase/net.features/ltp.net.features.macsec02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-558247530 +# @用例名称: ltp.net.features.macsec02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.macsec02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features macsec02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.macsec03.sh b/testcase/net.features/ltp.net.features.macsec03.sh new file mode 100755 index 0000000000000000000000000000000000000000..7dd258511dafa240140d60e3d8cd087497ed6bbc --- /dev/null +++ b/testcase/net.features/ltp.net.features.macsec03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-567199784 +# @用例名称: ltp.net.features.macsec03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.macsec03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features macsec03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.macvlan01.sh b/testcase/net.features/ltp.net.features.macvlan01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7c47611765c60e7b9bfe1898cab5426b03835e65 --- /dev/null +++ b/testcase/net.features/ltp.net.features.macvlan01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-529769012 +# @用例名称: ltp.net.features.macvlan01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.macvlan01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features macvlan01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.macvtap01.sh b/testcase/net.features/ltp.net.features.macvtap01.sh new file mode 100755 index 0000000000000000000000000000000000000000..df1a04f81e3a99d4fc32fe8c36337665c0598f56 --- /dev/null +++ b/testcase/net.features/ltp.net.features.macvtap01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-538700869 +# @用例名称: ltp.net.features.macvtap01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.macvtap01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features macvtap01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.mpls01.sh b/testcase/net.features/ltp.net.features.mpls01.sh new file mode 100755 index 0000000000000000000000000000000000000000..2b9505f4b8540309d17e4e55dfb6003a7bf2ca9b --- /dev/null +++ b/testcase/net.features/ltp.net.features.mpls01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-754744074 +# @用例名称: ltp.net.features.mpls01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.mpls01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features mpls01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.mpls02.sh b/testcase/net.features/ltp.net.features.mpls02.sh new file mode 100755 index 0000000000000000000000000000000000000000..4d9ae3f79bf329bde5aa59a5902a0e540dcfec7f --- /dev/null +++ b/testcase/net.features/ltp.net.features.mpls02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-765088234 +# @用例名称: ltp.net.features.mpls02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.mpls02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features mpls02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.mpls02_ipv6.sh b/testcase/net.features/ltp.net.features.mpls02_ipv6.sh new file mode 100755 index 0000000000000000000000000000000000000000..670c703576f49803cf5c20c2ffd7defdf9edc491 --- /dev/null +++ b/testcase/net.features/ltp.net.features.mpls02_ipv6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-773874387 +# @用例名称: ltp.net.features.mpls02_ipv6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.mpls02_ipv6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features mpls02_ipv6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.mpls03.sh b/testcase/net.features/ltp.net.features.mpls03.sh new file mode 100755 index 0000000000000000000000000000000000000000..58b4dd659d72df3d4613d41d953284ce69f29e4b --- /dev/null +++ b/testcase/net.features/ltp.net.features.mpls03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-782477568 +# @用例名称: ltp.net.features.mpls03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.mpls03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features mpls03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.mpls03_ipv6.sh b/testcase/net.features/ltp.net.features.mpls03_ipv6.sh new file mode 100755 index 0000000000000000000000000000000000000000..7a31e319ab55d7829a2bdcbc4fa439d4691a622a --- /dev/null +++ b/testcase/net.features/ltp.net.features.mpls03_ipv6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-791432457 +# @用例名称: ltp.net.features.mpls03_ipv6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.mpls03_ipv6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features mpls03_ipv6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.mpls04.sh b/testcase/net.features/ltp.net.features.mpls04.sh new file mode 100755 index 0000000000000000000000000000000000000000..4e04bec2340d15f7612abcbd83ea0c8a04425b4d --- /dev/null +++ b/testcase/net.features/ltp.net.features.mpls04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-800155723 +# @用例名称: ltp.net.features.mpls04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.mpls04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features mpls04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.sctp01.sh b/testcase/net.features/ltp.net.features.sctp01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8566cc251448a60368ab5cfa37db6dec774de53f --- /dev/null +++ b/testcase/net.features/ltp.net.features.sctp01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-346838066 +# @用例名称: ltp.net.features.sctp01 +# @用例级别: 3 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.sctp01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features sctp01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.sctp01_ipv6.sh b/testcase/net.features/ltp.net.features.sctp01_ipv6.sh new file mode 100755 index 0000000000000000000000000000000000000000..061f776c269a19318d3aa2f0b093b9c266c7921d --- /dev/null +++ b/testcase/net.features/ltp.net.features.sctp01_ipv6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-366252971 +# @用例名称: ltp.net.features.sctp01_ipv6 +# @用例级别: 3 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.sctp01_ipv6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features sctp01_ipv6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.sit01.sh b/testcase/net.features/ltp.net.features.sit01.sh new file mode 100755 index 0000000000000000000000000000000000000000..42f881d6466224c918f2df6848d10678951c222a --- /dev/null +++ b/testcase/net.features/ltp.net.features.sit01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-744003824 +# @用例名称: ltp.net.features.sit01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.sit01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features sit01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.tcp_fastopen.sh b/testcase/net.features/ltp.net.features.tcp_fastopen.sh new file mode 100755 index 0000000000000000000000000000000000000000..ae8fbb758717aa1fe10bd56430d5d80b59c5df23 --- /dev/null +++ b/testcase/net.features/ltp.net.features.tcp_fastopen.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-386300290 +# @用例名称: ltp.net.features.tcp_fastopen +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.tcp_fastopen + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features tcp_fastopen + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.tcp_fastopen6.sh b/testcase/net.features/ltp.net.features.tcp_fastopen6.sh new file mode 100755 index 0000000000000000000000000000000000000000..6656b4a3715c6a36156410f0a9dc23ec6b4df95f --- /dev/null +++ b/testcase/net.features/ltp.net.features.tcp_fastopen6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-398266745 +# @用例名称: ltp.net.features.tcp_fastopen6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.tcp_fastopen6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features tcp_fastopen6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.vlan01.sh b/testcase/net.features/ltp.net.features.vlan01.sh new file mode 100755 index 0000000000000000000000000000000000000000..18e5a4084f445417ad43a8505cf9c875d8418807 --- /dev/null +++ b/testcase/net.features/ltp.net.features.vlan01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-501250159 +# @用例名称: ltp.net.features.vlan01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.vlan01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features vlan01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.vlan02.sh b/testcase/net.features/ltp.net.features.vlan02.sh new file mode 100755 index 0000000000000000000000000000000000000000..fde19f710e16d4849300ac7e63c30dd74d23e4d3 --- /dev/null +++ b/testcase/net.features/ltp.net.features.vlan02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-510187836 +# @用例名称: ltp.net.features.vlan02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.vlan02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features vlan02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.vlan03.sh b/testcase/net.features/ltp.net.features.vlan03.sh new file mode 100755 index 0000000000000000000000000000000000000000..3131a73b2505d1453112ec2810717850c4c44557 --- /dev/null +++ b/testcase/net.features/ltp.net.features.vlan03.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-519063878 +# @用例名称: ltp.net.features.vlan03 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.vlan03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features vlan03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.vxlan01.sh b/testcase/net.features/ltp.net.features.vxlan01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f6c4a930e551b1092b106ebb92df426d53c34ebf --- /dev/null +++ b/testcase/net.features/ltp.net.features.vxlan01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-410976962 +# @用例名称: ltp.net.features.vxlan01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.vxlan01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features vxlan01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.vxlan02.sh b/testcase/net.features/ltp.net.features.vxlan02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b7cb3cf44eb26b2439bbd5594d00e133a690713c --- /dev/null +++ b/testcase/net.features/ltp.net.features.vxlan02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-420624858 +# @用例名称: ltp.net.features.vxlan02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.vxlan02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features vxlan02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.vxlan02_ipv6.sh b/testcase/net.features/ltp.net.features.vxlan02_ipv6.sh new file mode 100755 index 0000000000000000000000000000000000000000..c604a757cc37a1788cd3f8f8c341b04e192434b4 --- /dev/null +++ b/testcase/net.features/ltp.net.features.vxlan02_ipv6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-430917300 +# @用例名称: ltp.net.features.vxlan02_ipv6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.vxlan02_ipv6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features vxlan02_ipv6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.vxlan_ipv6_multi_03.sh b/testcase/net.features/ltp.net.features.vxlan_ipv6_multi_03.sh new file mode 100755 index 0000000000000000000000000000000000000000..2a7c4a6fc512f5ea63d6f03abf35a02d1c249e23 --- /dev/null +++ b/testcase/net.features/ltp.net.features.vxlan_ipv6_multi_03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-462009370 +# @用例名称: ltp.net.features.vxlan_ipv6_multi_03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.vxlan_ipv6_multi_03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features vxlan_ipv6_multi_03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.vxlan_ipv6_uni_03.sh b/testcase/net.features/ltp.net.features.vxlan_ipv6_uni_03.sh new file mode 100755 index 0000000000000000000000000000000000000000..40caa1ce4c17c69957adac9f3d955a9d2717cf7a --- /dev/null +++ b/testcase/net.features/ltp.net.features.vxlan_ipv6_uni_03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-470798598 +# @用例名称: ltp.net.features.vxlan_ipv6_uni_03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.vxlan_ipv6_uni_03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features vxlan_ipv6_uni_03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.vxlan_ipv6_uni_04.sh b/testcase/net.features/ltp.net.features.vxlan_ipv6_uni_04.sh new file mode 100755 index 0000000000000000000000000000000000000000..007f3c02a8077b105277a29a98f725ad626b329e --- /dev/null +++ b/testcase/net.features/ltp.net.features.vxlan_ipv6_uni_04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-490478159 +# @用例名称: ltp.net.features.vxlan_ipv6_uni_04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.vxlan_ipv6_uni_04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features vxlan_ipv6_uni_04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.vxlan_multi_03.sh b/testcase/net.features/ltp.net.features.vxlan_multi_03.sh new file mode 100755 index 0000000000000000000000000000000000000000..8f1c81722694c363f8b7dd20fe234e38e85c56c5 --- /dev/null +++ b/testcase/net.features/ltp.net.features.vxlan_multi_03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-442384532 +# @用例名称: ltp.net.features.vxlan_multi_03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.vxlan_multi_03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features vxlan_multi_03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.vxlan_uni_03.sh b/testcase/net.features/ltp.net.features.vxlan_uni_03.sh new file mode 100755 index 0000000000000000000000000000000000000000..e7050495843d74cf18d5b197fb9dce40a0e0c6e5 --- /dev/null +++ b/testcase/net.features/ltp.net.features.vxlan_uni_03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-451241758 +# @用例名称: ltp.net.features.vxlan_uni_03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.vxlan_uni_03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features vxlan_uni_03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.vxlan_uni_04.sh b/testcase/net.features/ltp.net.features.vxlan_uni_04.sh new file mode 100755 index 0000000000000000000000000000000000000000..0f14cc5960490e2468bac6623c3bc119b3910c61 --- /dev/null +++ b/testcase/net.features/ltp.net.features.vxlan_uni_04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-481568876 +# @用例名称: ltp.net.features.vxlan_uni_04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.vxlan_uni_04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features vxlan_uni_04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.wireguard01.sh b/testcase/net.features/ltp.net.features.wireguard01.sh new file mode 100755 index 0000000000000000000000000000000000000000..924bca09ad8f0b1d26885553ec7985f5ba394511 --- /dev/null +++ b/testcase/net.features/ltp.net.features.wireguard01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-821576112 +# @用例名称: ltp.net.features.wireguard01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.wireguard01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features wireguard01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.wireguard01_ipv6.sh b/testcase/net.features/ltp.net.features.wireguard01_ipv6.sh new file mode 100755 index 0000000000000000000000000000000000000000..851fe38b1893eb69bf8064161004cb5b7c6010f6 --- /dev/null +++ b/testcase/net.features/ltp.net.features.wireguard01_ipv6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-830488541 +# @用例名称: ltp.net.features.wireguard01_ipv6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.wireguard01_ipv6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features wireguard01_ipv6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.wireguard02.sh b/testcase/net.features/ltp.net.features.wireguard02.sh new file mode 100755 index 0000000000000000000000000000000000000000..5843c30cb125ee2ae26ba62fa9329c21dcf70897 --- /dev/null +++ b/testcase/net.features/ltp.net.features.wireguard02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-839937785 +# @用例名称: ltp.net.features.wireguard02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.wireguard02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features wireguard02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.features/ltp.net.features.wireguard02_ipv6.sh b/testcase/net.features/ltp.net.features.wireguard02_ipv6.sh new file mode 100755 index 0000000000000000000000000000000000000000..837c0a3cbe51c6647fb9e5676947df9164aaba66 --- /dev/null +++ b/testcase/net.features/ltp.net.features.wireguard02_ipv6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-848686518 +# @用例名称: ltp.net.features.wireguard02_ipv6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.features.wireguard02_ipv6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.features wireguard02_ipv6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.ipv6/ltp.net.ipv6.dhcpd6.sh b/testcase/net.ipv6/ltp.net.ipv6.dhcpd6.sh new file mode 100755 index 0000000000000000000000000000000000000000..e8908e4e0fc76ff50d6183057e43ba93cdce3200 --- /dev/null +++ b/testcase/net.ipv6/ltp.net.ipv6.dhcpd6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-916812978 +# @用例名称: ltp.net.ipv6.dhcpd6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.ipv6.dhcpd6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.ipv6 dhcpd6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.ipv6/ltp.net.ipv6.dnsmasq6.sh b/testcase/net.ipv6/ltp.net.ipv6.dnsmasq6.sh new file mode 100755 index 0000000000000000000000000000000000000000..8f220ca45dbde373ea5dc1473a8c62550390d2da --- /dev/null +++ b/testcase/net.ipv6/ltp.net.ipv6.dnsmasq6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-925477473 +# @用例名称: ltp.net.ipv6.dnsmasq6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.ipv6.dnsmasq6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.ipv6 dnsmasq6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.ipv6/ltp.net.ipv6.ip6tables.sh b/testcase/net.ipv6/ltp.net.ipv6.ip6tables.sh new file mode 100755 index 0000000000000000000000000000000000000000..966b0034e31c57775de33b2115043757ee3a1545 --- /dev/null +++ b/testcase/net.ipv6/ltp.net.ipv6.ip6tables.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-942834878 +# @用例名称: ltp.net.ipv6.ip6tables +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.ipv6.ip6tables + # @预期结果:1: 用例返回0 + ltp_run_testcase net.ipv6 ip6tables + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.ipv6/ltp.net.ipv6.ipneigh6_ip.sh b/testcase/net.ipv6/ltp.net.ipv6.ipneigh6_ip.sh new file mode 100755 index 0000000000000000000000000000000000000000..86299436674c452ff137433098356111a489a828 --- /dev/null +++ b/testcase/net.ipv6/ltp.net.ipv6.ipneigh6_ip.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-934090723 +# @用例名称: ltp.net.ipv6.ipneigh6_ip +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.ipv6.ipneigh6_ip + # @预期结果:1: 用例返回0 + ltp_run_testcase net.ipv6 ipneigh6_ip + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.ipv6/ltp.net.ipv6.nft6.sh b/testcase/net.ipv6/ltp.net.ipv6.nft6.sh new file mode 100755 index 0000000000000000000000000000000000000000..b6cb5e48eefa6e83aa7ba3baa6f5589d7fcc9fd5 --- /dev/null +++ b/testcase/net.ipv6/ltp.net.ipv6.nft6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-951505315 +# @用例名称: ltp.net.ipv6.nft6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.ipv6.nft6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.ipv6 nft6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.ipv6/ltp.net.ipv6.ping601.sh b/testcase/net.ipv6/ltp.net.ipv6.ping601.sh new file mode 100755 index 0000000000000000000000000000000000000000..c69800014f60951e0c24bc59d1c8aa1f19e12290 --- /dev/null +++ b/testcase/net.ipv6/ltp.net.ipv6.ping601.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-861330962 +# @用例名称: ltp.net.ipv6.ping601 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.ipv6.ping601 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.ipv6 ping601 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.ipv6/ltp.net.ipv6.ping602.sh b/testcase/net.ipv6/ltp.net.ipv6.ping602.sh new file mode 100755 index 0000000000000000000000000000000000000000..7277b6ec1c5aa112243863fdcdc24342a3bef82d --- /dev/null +++ b/testcase/net.ipv6/ltp.net.ipv6.ping602.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-873394169 +# @用例名称: ltp.net.ipv6.ping602 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.ipv6.ping602 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.ipv6 ping602 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.ipv6/ltp.net.ipv6.sendfile601.sh b/testcase/net.ipv6/ltp.net.ipv6.sendfile601.sh new file mode 100755 index 0000000000000000000000000000000000000000..d832203e674f34e4583dd55e2a84b0c33736b5f8 --- /dev/null +++ b/testcase/net.ipv6/ltp.net.ipv6.sendfile601.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-882068253 +# @用例名称: ltp.net.ipv6.sendfile601 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.ipv6.sendfile601 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.ipv6 sendfile601 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.ipv6/ltp.net.ipv6.tcpdump601.sh b/testcase/net.ipv6/ltp.net.ipv6.tcpdump601.sh new file mode 100755 index 0000000000000000000000000000000000000000..932da9c8436d8f8bf14af06b7015a5e3d8ef4191 --- /dev/null +++ b/testcase/net.ipv6/ltp.net.ipv6.tcpdump601.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-890823659 +# @用例名称: ltp.net.ipv6.tcpdump601 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.ipv6.tcpdump601 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.ipv6 tcpdump601 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.ipv6/ltp.net.ipv6.tracepath601.sh b/testcase/net.ipv6/ltp.net.ipv6.tracepath601.sh new file mode 100755 index 0000000000000000000000000000000000000000..362f6a977fbdc3f905b14184635074a69268ede5 --- /dev/null +++ b/testcase/net.ipv6/ltp.net.ipv6.tracepath601.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-899466233 +# @用例名称: ltp.net.ipv6.tracepath601 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.ipv6.tracepath601 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.ipv6 tracepath601 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.ipv6/ltp.net.ipv6.traceroute601.sh b/testcase/net.ipv6/ltp.net.ipv6.traceroute601.sh new file mode 100755 index 0000000000000000000000000000000000000000..b287a54d07fcdf5d9b27c57191d24fb6c0680ed7 --- /dev/null +++ b/testcase/net.ipv6/ltp.net.ipv6.traceroute601.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-908210698 +# @用例名称: ltp.net.ipv6.traceroute601 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.ipv6.traceroute601 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.ipv6 traceroute601 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.ipv6_lib/ltp.net.ipv6_lib.asapi_01.sh b/testcase/net.ipv6_lib/ltp.net.ipv6_lib.asapi_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..47310471c7a23b51c13a1a4e606516cd238ec07a --- /dev/null +++ b/testcase/net.ipv6_lib/ltp.net.ipv6_lib.asapi_01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-991780920 +# @用例名称: ltp.net.ipv6_lib.asapi_01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.ipv6_lib.asapi_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.ipv6_lib asapi_01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.ipv6_lib/ltp.net.ipv6_lib.asapi_02.sh b/testcase/net.ipv6_lib/ltp.net.ipv6_lib.asapi_02.sh new file mode 100755 index 0000000000000000000000000000000000000000..0e1c50833dc88d2919a7a73bbf30a7c06056aab8 --- /dev/null +++ b/testcase/net.ipv6_lib/ltp.net.ipv6_lib.asapi_02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-002396498 +# @用例名称: ltp.net.ipv6_lib.asapi_02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.ipv6_lib.asapi_02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.ipv6_lib asapi_02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.ipv6_lib/ltp.net.ipv6_lib.asapi_03.sh b/testcase/net.ipv6_lib/ltp.net.ipv6_lib.asapi_03.sh new file mode 100755 index 0000000000000000000000000000000000000000..43dd3cea7467b88b61880564773e28bb1d3261c5 --- /dev/null +++ b/testcase/net.ipv6_lib/ltp.net.ipv6_lib.asapi_03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-011105256 +# @用例名称: ltp.net.ipv6_lib.asapi_03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.ipv6_lib.asapi_03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.ipv6_lib asapi_03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.ipv6_lib/ltp.net.ipv6_lib.getaddrinfo_01.sh b/testcase/net.ipv6_lib/ltp.net.ipv6_lib.getaddrinfo_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9197bd08ac2ec3b9722761106d6a411b87f5de8a --- /dev/null +++ b/testcase/net.ipv6_lib/ltp.net.ipv6_lib.getaddrinfo_01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-983004596 +# @用例名称: ltp.net.ipv6_lib.getaddrinfo_01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.ipv6_lib.getaddrinfo_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.ipv6_lib getaddrinfo_01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.ipv6_lib/ltp.net.ipv6_lib.in6_01.sh b/testcase/net.ipv6_lib/ltp.net.ipv6_lib.in6_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..90d8fac6d5e3e62dfec3bb6c1a7c1bea1a7378e5 --- /dev/null +++ b/testcase/net.ipv6_lib/ltp.net.ipv6_lib.in6_01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-963098361 +# @用例名称: ltp.net.ipv6_lib.in6_01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.ipv6_lib.in6_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.ipv6_lib in6_01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.ipv6_lib/ltp.net.ipv6_lib.in6_02.sh b/testcase/net.ipv6_lib/ltp.net.ipv6_lib.in6_02.sh new file mode 100755 index 0000000000000000000000000000000000000000..57da0c0b309f887ee8ed9a64de3dbfa7bb97f276 --- /dev/null +++ b/testcase/net.ipv6_lib/ltp.net.ipv6_lib.in6_02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213001-974298572 +# @用例名称: ltp.net.ipv6_lib.in6_02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.ipv6_lib.in6_02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.ipv6_lib in6_02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.multicast/ltp.net.multicast.mc_cmds.sh b/testcase/net.multicast/ltp.net.multicast.mc_cmds.sh new file mode 100755 index 0000000000000000000000000000000000000000..c9d3f1ed8367f4329c310d74a71bf1ddb689480d --- /dev/null +++ b/testcase/net.multicast/ltp.net.multicast.mc_cmds.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-025645499 +# @用例名称: ltp.net.multicast.mc_cmds +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.multicast.mc_cmds + # @预期结果:1: 用例返回0 + ltp_run_testcase net.multicast mc_cmds + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.multicast/ltp.net.multicast.mc_commo.sh b/testcase/net.multicast/ltp.net.multicast.mc_commo.sh new file mode 100755 index 0000000000000000000000000000000000000000..230fcd0ca882b4b4b1cccda4e607c252b82f0a1e --- /dev/null +++ b/testcase/net.multicast/ltp.net.multicast.mc_commo.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-034358024 +# @用例名称: ltp.net.multicast.mc_commo +# @用例级别: 3 +# @用例标签: +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.multicast.mc_commo + # @预期结果:1: 用例返回0 + ltp_run_testcase net.multicast mc_commo + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.multicast/ltp.net.multicast.mc_member.sh b/testcase/net.multicast/ltp.net.multicast.mc_member.sh new file mode 100755 index 0000000000000000000000000000000000000000..0f67d672d4b44ae1d53a27801dd80242bf8d2c66 --- /dev/null +++ b/testcase/net.multicast/ltp.net.multicast.mc_member.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-043033450 +# @用例名称: ltp.net.multicast.mc_member +# @用例级别: 3 +# @用例标签: +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.multicast.mc_member + # @预期结果:1: 用例返回0 + ltp_run_testcase net.multicast mc_member + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.multicast/ltp.net.multicast.mc_opts.sh b/testcase/net.multicast/ltp.net.multicast.mc_opts.sh new file mode 100755 index 0000000000000000000000000000000000000000..4513f23bd4300139652735ed1402ad076586b79f --- /dev/null +++ b/testcase/net.multicast/ltp.net.multicast.mc_opts.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-051614099 +# @用例名称: ltp.net.multicast.mc_opts +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.multicast.mc_opts + # @预期结果:1: 用例返回0 + ltp_run_testcase net.multicast mc_opts + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.fsx_v30_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.fsx_v30_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..f6e95af68e8ab73925369f057f1172bc65a2d925 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.fsx_v30_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172836-858344238 +# @用例名称: ltp.net.nfs.fsx_v30_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.fsx_v30_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs fsx_v30_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.fsx_v30_ip4u.sh b/testcase/net.nfs/ltp.net.nfs.fsx_v30_ip4u.sh new file mode 100755 index 0000000000000000000000000000000000000000..1159dea4172ab25dd777b6d5a455fe031ba0707d --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.fsx_v30_ip4u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172836-784404695 +# @用例名称: ltp.net.nfs.fsx_v30_ip4u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.fsx_v30_ip4u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs fsx_v30_ip4u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.fsx_v30_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.fsx_v30_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..e293f309963214085b49895be29dd183c83c2217 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.fsx_v30_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172837-266033835 +# @用例名称: ltp.net.nfs.fsx_v30_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.fsx_v30_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs fsx_v30_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.fsx_v30_ip6u.sh b/testcase/net.nfs/ltp.net.nfs.fsx_v30_ip6u.sh new file mode 100755 index 0000000000000000000000000000000000000000..64936928523cef179bb47532e91a453f5313b8d4 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.fsx_v30_ip6u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172837-182177100 +# @用例名称: ltp.net.nfs.fsx_v30_ip6u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.fsx_v30_ip6u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs fsx_v30_ip6u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.fsx_v40_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.fsx_v40_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..d3535b8229b9ad6f9800acb7bdd55aa0ec4ed7b1 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.fsx_v40_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172836-938348662 +# @用例名称: ltp.net.nfs.fsx_v40_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.fsx_v40_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs fsx_v40_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.fsx_v40_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.fsx_v40_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..1726dc63c5c931688a802ca7b248683215f9abe2 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.fsx_v40_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172837-346977532 +# @用例名称: ltp.net.nfs.fsx_v40_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.fsx_v40_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs fsx_v40_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.fsx_v41_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.fsx_v41_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..c579a7cba246d460a598cc6a07739a02d43c5a60 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.fsx_v41_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172837-016391621 +# @用例名称: ltp.net.nfs.fsx_v41_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.fsx_v41_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs fsx_v41_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.fsx_v41_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.fsx_v41_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..9b2b363de116300a6fd9dae0468b769f4a81b4ec --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.fsx_v41_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172837-423328369 +# @用例名称: ltp.net.nfs.fsx_v41_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.fsx_v41_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs fsx_v41_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.fsx_v42_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.fsx_v42_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..f492beeba46da1d19d496d670c79b873336f9149 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.fsx_v42_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172837-100134005 +# @用例名称: ltp.net.nfs.fsx_v42_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.fsx_v42_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs fsx_v42_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.fsx_v42_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.fsx_v42_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..e1a1f6b50a25f63b58e1038d4090e74c40849523 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.fsx_v42_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172837-499505231 +# @用例名称: ltp.net.nfs.fsx_v42_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.fsx_v42_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs fsx_v42_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs01_v30_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs01_v30_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..d460e6d919d19c6be9340f3397cd1f9af9a78da0 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs01_v30_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172829-088829420 +# @用例名称: ltp.net.nfs.nfs01_v30_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs01_v30_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs01_v30_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs01_v30_ip4u.sh b/testcase/net.nfs/ltp.net.nfs.nfs01_v30_ip4u.sh new file mode 100755 index 0000000000000000000000000000000000000000..d5383c638166433f644de5b78578664289aaaf04 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs01_v30_ip4u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172829-013679268 +# @用例名称: ltp.net.nfs.nfs01_v30_ip4u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs01_v30_ip4u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs01_v30_ip4u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs01_v30_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs01_v30_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..a440584a0dec8674703231dc903bce3bfb1a3083 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs01_v30_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172829-460889117 +# @用例名称: ltp.net.nfs.nfs01_v30_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs01_v30_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs01_v30_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs01_v30_ip6u.sh b/testcase/net.nfs/ltp.net.nfs.nfs01_v30_ip6u.sh new file mode 100755 index 0000000000000000000000000000000000000000..68b1613a4abe927f6cf68f17fdb2cdd8557fce77 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs01_v30_ip6u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172829-386790156 +# @用例名称: ltp.net.nfs.nfs01_v30_ip6u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs01_v30_ip6u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs01_v30_ip6u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs01_v40_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs01_v40_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..6cbaff8fd3a927d957dadb71dd2075a9ab9db7fe --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs01_v40_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172829-162330286 +# @用例名称: ltp.net.nfs.nfs01_v40_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs01_v40_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs01_v40_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs01_v40_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs01_v40_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..291ab239254baeea8f756c25d99bf64e4aa1e64f --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs01_v40_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172829-534189162 +# @用例名称: ltp.net.nfs.nfs01_v40_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs01_v40_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs01_v40_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs01_v41_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs01_v41_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..716f3bf1dc19c6f1bd34f3423a65a317a25db437 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs01_v41_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172829-234897471 +# @用例名称: ltp.net.nfs.nfs01_v41_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs01_v41_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs01_v41_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs01_v41_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs01_v41_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..f30a58925cf02db24a66c16486d3d1b576080050 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs01_v41_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172829-609249145 +# @用例名称: ltp.net.nfs.nfs01_v41_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs01_v41_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs01_v41_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs01_v42_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs01_v42_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..67b6437b1615a6426bd4fb6290ab977a527097a9 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs01_v42_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172829-310831315 +# @用例名称: ltp.net.nfs.nfs01_v42_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs01_v42_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs01_v42_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs01_v42_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs01_v42_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..608b731b551b301113af9fd693be6c70fd52ae83 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs01_v42_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172829-689844324 +# @用例名称: ltp.net.nfs.nfs01_v42_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs01_v42_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs01_v42_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs02_v30_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs02_v30_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..11d128667192b2572c7eba9823a7ce98ee0a1940 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs02_v30_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172829-838287125 +# @用例名称: ltp.net.nfs.nfs02_v30_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs02_v30_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs02_v30_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs02_v30_ip4u.sh b/testcase/net.nfs/ltp.net.nfs.nfs02_v30_ip4u.sh new file mode 100755 index 0000000000000000000000000000000000000000..407160222d08b28df0cd46bee58d3294747f6a8e --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs02_v30_ip4u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172829-766765972 +# @用例名称: ltp.net.nfs.nfs02_v30_ip4u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs02_v30_ip4u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs02_v30_ip4u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs02_v30_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs02_v30_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..3cc9bd4810864875a73ffe846a951fc902cb449c --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs02_v30_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172830-200370381 +# @用例名称: ltp.net.nfs.nfs02_v30_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs02_v30_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs02_v30_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs02_v30_ip6u.sh b/testcase/net.nfs/ltp.net.nfs.nfs02_v30_ip6u.sh new file mode 100755 index 0000000000000000000000000000000000000000..4cfa8ffdfc785a060aa414d5c4566c5ed1761cb7 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs02_v30_ip6u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172830-126294967 +# @用例名称: ltp.net.nfs.nfs02_v30_ip6u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs02_v30_ip6u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs02_v30_ip6u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs02_v40_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs02_v40_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..1e5f5461effb8e3af1620cae68a99c1072a5f626 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs02_v40_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172829-911853035 +# @用例名称: ltp.net.nfs.nfs02_v40_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs02_v40_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs02_v40_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs02_v40_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs02_v40_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..71d36eef4c3e1a81d4d0cf79e381fa158ec4e664 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs02_v40_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172830-273888289 +# @用例名称: ltp.net.nfs.nfs02_v40_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs02_v40_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs02_v40_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs02_v41_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs02_v41_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..d1d44a92a9dcde73d5f8688029782334d8a15327 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs02_v41_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172829-983656736 +# @用例名称: ltp.net.nfs.nfs02_v41_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs02_v41_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs02_v41_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs02_v41_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs02_v41_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..84d100e85a6ddca5268fc37dc15df3dd7ff73c1a --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs02_v41_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172830-347286192 +# @用例名称: ltp.net.nfs.nfs02_v41_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs02_v41_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs02_v41_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs02_v42_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs02_v42_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..565c88d06460c46206913b15a77f27db790f04eb --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs02_v42_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172830-055051985 +# @用例名称: ltp.net.nfs.nfs02_v42_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs02_v42_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs02_v42_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs02_v42_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs02_v42_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..b86d308e7c1d6cba3648038e77d2c1df34544f48 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs02_v42_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172830-420788260 +# @用例名称: ltp.net.nfs.nfs02_v42_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs02_v42_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs02_v42_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs03_v30_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs03_v30_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..cf888ad3f98cfff7b508854632a6883d0adeff59 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs03_v30_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172830-568252622 +# @用例名称: ltp.net.nfs.nfs03_v30_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs03_v30_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs03_v30_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs03_v30_ip4u.sh b/testcase/net.nfs/ltp.net.nfs.nfs03_v30_ip4u.sh new file mode 100755 index 0000000000000000000000000000000000000000..ed61d730c378d7d649582b3a2b2b137d7028d61c --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs03_v30_ip4u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172830-496024925 +# @用例名称: ltp.net.nfs.nfs03_v30_ip4u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs03_v30_ip4u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs03_v30_ip4u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs03_v30_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs03_v30_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..1eb374458a25dd9d1a5a4f4975c376e292a92d46 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs03_v30_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172830-958460550 +# @用例名称: ltp.net.nfs.nfs03_v30_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs03_v30_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs03_v30_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs03_v30_ip6u.sh b/testcase/net.nfs/ltp.net.nfs.nfs03_v30_ip6u.sh new file mode 100755 index 0000000000000000000000000000000000000000..1a31cb46192d54216443d6c2a80b4a2f28f80b81 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs03_v30_ip6u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172830-883722885 +# @用例名称: ltp.net.nfs.nfs03_v30_ip6u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs03_v30_ip6u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs03_v30_ip6u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs03_v40_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs03_v40_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..5963267e625bdadd83148fc0c8c8e9880bfce630 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs03_v40_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172830-653517182 +# @用例名称: ltp.net.nfs.nfs03_v40_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs03_v40_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs03_v40_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs03_v40_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs03_v40_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..1373004f99dc031f9a49fc1f807a8989053a4e2b --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs03_v40_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172831-036395384 +# @用例名称: ltp.net.nfs.nfs03_v40_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs03_v40_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs03_v40_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs03_v41_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs03_v41_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..30dd2a7a1e314c26d4584250e457b890daa673ba --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs03_v41_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172830-731500522 +# @用例名称: ltp.net.nfs.nfs03_v41_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs03_v41_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs03_v41_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs03_v41_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs03_v41_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..d112687a7bfae6cfd046d257a18cb69be926f0b3 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs03_v41_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172831-112171802 +# @用例名称: ltp.net.nfs.nfs03_v41_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs03_v41_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs03_v41_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs03_v42_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs03_v42_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..507231f79037367a2837efb53cd45e37b3e69231 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs03_v42_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172830-808208122 +# @用例名称: ltp.net.nfs.nfs03_v42_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs03_v42_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs03_v42_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs03_v42_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs03_v42_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..d542e8b5a7f4f8e606eaa03035f4d4633bbc2ee7 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs03_v42_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172831-187042174 +# @用例名称: ltp.net.nfs.nfs03_v42_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs03_v42_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs03_v42_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs04_v30_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs04_v30_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..4d7ddb380cfecaa6dd0e9ab1df5b47e67a4388cd --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs04_v30_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172831-335529715 +# @用例名称: ltp.net.nfs.nfs04_v30_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs04_v30_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs04_v30_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs04_v30_ip4u.sh b/testcase/net.nfs/ltp.net.nfs.nfs04_v30_ip4u.sh new file mode 100755 index 0000000000000000000000000000000000000000..445f848bb286788ab61f2641dc4f1fb97b9cfbde --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs04_v30_ip4u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172831-261098076 +# @用例名称: ltp.net.nfs.nfs04_v30_ip4u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs04_v30_ip4u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs04_v30_ip4u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs04_v30_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs04_v30_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..cb66e3c621a0c5933d8d7b55ef4568060e83aeeb --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs04_v30_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172831-714344153 +# @用例名称: ltp.net.nfs.nfs04_v30_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs04_v30_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs04_v30_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs04_v30_ip6u.sh b/testcase/net.nfs/ltp.net.nfs.nfs04_v30_ip6u.sh new file mode 100755 index 0000000000000000000000000000000000000000..ed84a2d41c55948f11512ada6140ad62f5fe6814 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs04_v30_ip6u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172831-639230697 +# @用例名称: ltp.net.nfs.nfs04_v30_ip6u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs04_v30_ip6u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs04_v30_ip6u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs04_v40_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs04_v40_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..2bb08080599361b796f0e00bb09a28a673bf8d0b --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs04_v40_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172831-411401693 +# @用例名称: ltp.net.nfs.nfs04_v40_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs04_v40_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs04_v40_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs04_v40_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs04_v40_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..e6a1037b2faa13a2884b2fe4a9514559863d1175 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs04_v40_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172831-794305910 +# @用例名称: ltp.net.nfs.nfs04_v40_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs04_v40_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs04_v40_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs04_v41_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs04_v41_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..5553c2c705c0f9dac2c4f80f70e44d2404819f33 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs04_v41_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172831-488625058 +# @用例名称: ltp.net.nfs.nfs04_v41_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs04_v41_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs04_v41_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs04_v41_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs04_v41_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..d3e14f11ebee65c99de631d72683aeb082625105 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs04_v41_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172831-871454904 +# @用例名称: ltp.net.nfs.nfs04_v41_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs04_v41_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs04_v41_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs04_v42_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs04_v42_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..f4c3efae69e16522a4f088f2ebb3c2a9d5b17710 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs04_v42_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172831-564770884 +# @用例名称: ltp.net.nfs.nfs04_v42_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs04_v42_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs04_v42_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs04_v42_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs04_v42_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..f1b25550eb18374b779ca057d4efbca9cea5c367 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs04_v42_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172831-946565113 +# @用例名称: ltp.net.nfs.nfs04_v42_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs04_v42_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs04_v42_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs05_v30_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs05_v30_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..c73ac3842860b5be5d53e95f92412acbc19dc7a3 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs05_v30_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172832-093839657 +# @用例名称: ltp.net.nfs.nfs05_v30_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs05_v30_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs05_v30_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs05_v30_ip4u.sh b/testcase/net.nfs/ltp.net.nfs.nfs05_v30_ip4u.sh new file mode 100755 index 0000000000000000000000000000000000000000..b8994f6012fadb8c18b11d657cc68d978d790261 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs05_v30_ip4u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172832-019072523 +# @用例名称: ltp.net.nfs.nfs05_v30_ip4u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs05_v30_ip4u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs05_v30_ip4u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs05_v30_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs05_v30_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..19f0f1884870ab36451674172c022da7ad5c3b5f --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs05_v30_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172832-467595503 +# @用例名称: ltp.net.nfs.nfs05_v30_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs05_v30_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs05_v30_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs05_v30_ip6u.sh b/testcase/net.nfs/ltp.net.nfs.nfs05_v30_ip6u.sh new file mode 100755 index 0000000000000000000000000000000000000000..2c9da282c593e86f33a0a9d4703522ff480ed539 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs05_v30_ip6u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172832-395399867 +# @用例名称: ltp.net.nfs.nfs05_v30_ip6u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs05_v30_ip6u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs05_v30_ip6u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs05_v40_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs05_v40_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..1c027fe60d310a38e84295ee96dade90483b873e --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs05_v40_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172832-171335406 +# @用例名称: ltp.net.nfs.nfs05_v40_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs05_v40_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs05_v40_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs05_v40_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs05_v40_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c6bcea939645b3568ae9bde9af81ca95ecf19e0 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs05_v40_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172832-539430026 +# @用例名称: ltp.net.nfs.nfs05_v40_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs05_v40_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs05_v40_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs05_v41_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs05_v41_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..678f00b7c0f4147fb2c14d09d1e4f1a82379f566 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs05_v41_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172832-247225573 +# @用例名称: ltp.net.nfs.nfs05_v41_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs05_v41_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs05_v41_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs05_v41_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs05_v41_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..ce9887a6016785072394cf4609ce4e337e79ebce --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs05_v41_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172832-611658548 +# @用例名称: ltp.net.nfs.nfs05_v41_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs05_v41_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs05_v41_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs05_v42_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs05_v42_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..5184518c81c6f737d41ce8db3e9ee975f07eb46b --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs05_v42_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172832-321136603 +# @用例名称: ltp.net.nfs.nfs05_v42_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs05_v42_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs05_v42_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs05_v42_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs05_v42_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..bf6874a2d1c9f50ae9a02df99ed86ab3ae4ea817 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs05_v42_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172832-685478844 +# @用例名称: ltp.net.nfs.nfs05_v42_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs05_v42_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs05_v42_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs06_v30_v40_ip4.sh b/testcase/net.nfs/ltp.net.nfs.nfs06_v30_v40_ip4.sh new file mode 100755 index 0000000000000000000000000000000000000000..0841101397ff54ca601a06c120499c1109beb087 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs06_v30_v40_ip4.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172832-757717927 +# @用例名称: ltp.net.nfs.nfs06_v30_v40_ip4 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs06_v30_v40_ip4 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs06_v30_v40_ip4 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs06_v4x_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs06_v4x_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..e4ba4e0c29076529e048a6b7518c01e585f7eaca --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs06_v4x_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172832-910334643 +# @用例名称: ltp.net.nfs.nfs06_v4x_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs06_v4x_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs06_v4x_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs06_vall_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs06_vall_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..98965e31f22c6c50591d58f6fa2e74afea7ac140 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs06_vall_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172832-832434246 +# @用例名称: ltp.net.nfs.nfs06_vall_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs06_vall_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs06_vall_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs07_v30_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs07_v30_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..1ec557168e552ce406f225b1c93daffece1243af --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs07_v30_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172833-060649489 +# @用例名称: ltp.net.nfs.nfs07_v30_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs07_v30_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs07_v30_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs07_v30_ip4u.sh b/testcase/net.nfs/ltp.net.nfs.nfs07_v30_ip4u.sh new file mode 100755 index 0000000000000000000000000000000000000000..90ca283c115f6a864134a33f977df57b904de0ba --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs07_v30_ip4u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172832-983225357 +# @用例名称: ltp.net.nfs.nfs07_v30_ip4u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs07_v30_ip4u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs07_v30_ip4u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs07_v30_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs07_v30_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..29a03984ca2d154a921719bf4a33edd592dadb3d --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs07_v30_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172833-441930414 +# @用例名称: ltp.net.nfs.nfs07_v30_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs07_v30_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs07_v30_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs07_v30_ip6u.sh b/testcase/net.nfs/ltp.net.nfs.nfs07_v30_ip6u.sh new file mode 100755 index 0000000000000000000000000000000000000000..830a3e4fa92b2674d1384396489cd623e3e236b4 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs07_v30_ip6u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172833-366086864 +# @用例名称: ltp.net.nfs.nfs07_v30_ip6u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs07_v30_ip6u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs07_v30_ip6u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs07_v40_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs07_v40_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..0d736b032f4d10bbb5f9d2b81f3a3caf7343a171 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs07_v40_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172833-133894763 +# @用例名称: ltp.net.nfs.nfs07_v40_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs07_v40_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs07_v40_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs07_v40_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs07_v40_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..ecbf64d486700c34eab80ba6c877eb8c82397361 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs07_v40_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172833-517999410 +# @用例名称: ltp.net.nfs.nfs07_v40_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs07_v40_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs07_v40_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs07_v41_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs07_v41_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..f106ed67edcc8ed030dbbbe3336fc0da2c704581 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs07_v41_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172833-210725483 +# @用例名称: ltp.net.nfs.nfs07_v41_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs07_v41_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs07_v41_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs07_v41_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs07_v41_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..dec17cfec6dadd2b1721456dcf93b775d9538154 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs07_v41_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172833-594675885 +# @用例名称: ltp.net.nfs.nfs07_v41_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs07_v41_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs07_v41_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs07_v42_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs07_v42_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..daa35665fb734693e6348ad42dc815a0309373b7 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs07_v42_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172833-289859931 +# @用例名称: ltp.net.nfs.nfs07_v42_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs07_v42_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs07_v42_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs07_v42_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs07_v42_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..d421ed2fc4e470ea6adede298e125e0e08d84a92 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs07_v42_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172833-674032321 +# @用例名称: ltp.net.nfs.nfs07_v42_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs07_v42_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs07_v42_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs08_v30_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs08_v30_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..00e8aa2a1fbb4c8be42634331b78935bf5f994a9 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs08_v30_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172833-836452615 +# @用例名称: ltp.net.nfs.nfs08_v30_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs08_v30_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs08_v30_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs08_v30_ip4u.sh b/testcase/net.nfs/ltp.net.nfs.nfs08_v30_ip4u.sh new file mode 100755 index 0000000000000000000000000000000000000000..fe76063769e5956094e65705123e7cddfb301d57 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs08_v30_ip4u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172833-754097003 +# @用例名称: ltp.net.nfs.nfs08_v30_ip4u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs08_v30_ip4u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs08_v30_ip4u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs08_v30_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs08_v30_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..31bc301ae84a7fc1c85273a6dbc24bbd1f65dfcc --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs08_v30_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172834-213476402 +# @用例名称: ltp.net.nfs.nfs08_v30_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs08_v30_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs08_v30_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs08_v30_ip6u.sh b/testcase/net.nfs/ltp.net.nfs.nfs08_v30_ip6u.sh new file mode 100755 index 0000000000000000000000000000000000000000..d1216c26c1f88c6af64d6c8ae30277efb4918b25 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs08_v30_ip6u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172834-138835030 +# @用例名称: ltp.net.nfs.nfs08_v30_ip6u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs08_v30_ip6u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs08_v30_ip6u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs08_v40_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs08_v40_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..0894a1ee6492b818bcefb125a154bbf71c140dbe --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs08_v40_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172833-919705073 +# @用例名称: ltp.net.nfs.nfs08_v40_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs08_v40_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs08_v40_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs08_v40_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs08_v40_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..81b61453d6a2edb8626a469f9538e7392b82f836 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs08_v40_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172834-289228098 +# @用例名称: ltp.net.nfs.nfs08_v40_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs08_v40_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs08_v40_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs08_v41_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs08_v41_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..554c206a06ae92ccf62fba64015d174e0f75cd35 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs08_v41_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172833-992539462 +# @用例名称: ltp.net.nfs.nfs08_v41_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs08_v41_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs08_v41_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs08_v41_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs08_v41_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..74f2cd87e81ace999707d0a15607654d5d88e0cd --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs08_v41_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172834-365011806 +# @用例名称: ltp.net.nfs.nfs08_v41_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs08_v41_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs08_v41_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs08_v42_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs08_v42_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..b091393059a11897c6d213365e1414eab83c1592 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs08_v42_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172834-067350010 +# @用例名称: ltp.net.nfs.nfs08_v42_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs08_v42_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs08_v42_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs08_v42_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs08_v42_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..459d7b31f1dbf3981504fff79e3e8d28cf63e437 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs08_v42_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172834-442024254 +# @用例名称: ltp.net.nfs.nfs08_v42_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs08_v42_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs08_v42_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs09_v30_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs09_v30_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..cc13544748a24b4c96e2976da5a66680afab74cc --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs09_v30_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172834-591140181 +# @用例名称: ltp.net.nfs.nfs09_v30_ip4t +# @用例级别: 3 +# @用例标签: 待分析 +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs09_v30_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs09_v30_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs09_v30_ip4u.sh b/testcase/net.nfs/ltp.net.nfs.nfs09_v30_ip4u.sh new file mode 100755 index 0000000000000000000000000000000000000000..b4c05cdd9f2d945e0b854f41a01b4f93eb304108 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs09_v30_ip4u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172834-516609796 +# @用例名称: ltp.net.nfs.nfs09_v30_ip4u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs09_v30_ip4u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs09_v30_ip4u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs09_v30_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs09_v30_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..2a71f0440d24005e7b22d9a36fefe1f6e93ea524 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs09_v30_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172834-974245259 +# @用例名称: ltp.net.nfs.nfs09_v30_ip6t +# @用例级别: 3 +# @用例标签: 待分析 +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs09_v30_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs09_v30_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs09_v30_ip6u.sh b/testcase/net.nfs/ltp.net.nfs.nfs09_v30_ip6u.sh new file mode 100755 index 0000000000000000000000000000000000000000..c5582a9ed97cf40cc4226633e91b07e578a8b950 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs09_v30_ip6u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172834-895451119 +# @用例名称: ltp.net.nfs.nfs09_v30_ip6u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs09_v30_ip6u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs09_v30_ip6u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs09_v40_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs09_v40_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..561ef5a9b7fb9360f34cbdd617e8fa414a8970d0 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs09_v40_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172834-666608924 +# @用例名称: ltp.net.nfs.nfs09_v40_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs09_v40_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs09_v40_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs09_v40_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs09_v40_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..a6140bcdd8e8a23c28c71b9f05acf298397c0c5d --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs09_v40_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172835-047972186 +# @用例名称: ltp.net.nfs.nfs09_v40_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs09_v40_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs09_v40_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs09_v41_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs09_v41_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..31e3aa45b2fc74c13183d66c1daa3d8d43f73eba --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs09_v41_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172834-740507759 +# @用例名称: ltp.net.nfs.nfs09_v41_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs09_v41_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs09_v41_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs09_v41_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs09_v41_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..cc741e0c5b1aad0be9e939c23f5f8190a7da8824 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs09_v41_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172835-121358966 +# @用例名称: ltp.net.nfs.nfs09_v41_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs09_v41_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs09_v41_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs09_v42_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs09_v42_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..a3feb020ac4209a8b25011c9c953c772abf55fe8 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs09_v42_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172834-819098547 +# @用例名称: ltp.net.nfs.nfs09_v42_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs09_v42_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs09_v42_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs09_v42_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs09_v42_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..c163b8fa7c2a6837e76e5103cc8919ef87fb00f5 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs09_v42_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172835-196164460 +# @用例名称: ltp.net.nfs.nfs09_v42_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs09_v42_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs09_v42_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs10_v30_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs10_v30_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..4f3f9e477a53b769a6cb76ce348be2a79e400078 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs10_v30_ip4t.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110835-635221249 +# @用例名称: ltp.net.nfs.nfs10_v30_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs10_v30_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs10_v30_ip4t + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs10_v30_ip4u.sh b/testcase/net.nfs/ltp.net.nfs.nfs10_v30_ip4u.sh new file mode 100755 index 0000000000000000000000000000000000000000..2f56fe9474e52a7501d01c6be0caee9c8e02eac8 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs10_v30_ip4u.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110835-549900553 +# @用例名称: ltp.net.nfs.nfs10_v30_ip4u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs10_v30_ip4u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs10_v30_ip4u + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs10_v30_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs10_v30_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..73b4c834b7c402e1ea80b1c1300aad300a0c9f6f --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs10_v30_ip6t.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110836-059390738 +# @用例名称: ltp.net.nfs.nfs10_v30_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs10_v30_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs10_v30_ip6t + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs10_v30_ip6u.sh b/testcase/net.nfs/ltp.net.nfs.nfs10_v30_ip6u.sh new file mode 100755 index 0000000000000000000000000000000000000000..b2160f0d84fbc0dc7693ca7a9f59e13e3a0a4fa1 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs10_v30_ip6u.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110835-969244907 +# @用例名称: ltp.net.nfs.nfs10_v30_ip6u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs10_v30_ip6u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs10_v30_ip6u + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs10_v40_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs10_v40_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..a33c68b94d259a5b99a53557cb83c1efe0f12d1a --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs10_v40_ip4t.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110835-717012334 +# @用例名称: ltp.net.nfs.nfs10_v40_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs10_v40_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs10_v40_ip4t + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs10_v40_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs10_v40_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..1d331b502140caa1daf341199be3363a3a2baf3e --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs10_v40_ip6t.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110836-146595054 +# @用例名称: ltp.net.nfs.nfs10_v40_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs10_v40_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs10_v40_ip6t + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs10_v41_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs10_v41_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..a46afcf85a789995ebd539b84669f394d476cdb8 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs10_v41_ip4t.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110835-800964090 +# @用例名称: ltp.net.nfs.nfs10_v41_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs10_v41_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs10_v41_ip4t + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs10_v41_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs10_v41_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..3246be72bf5eb05ee2a1cfb8912dbc61d9bb1653 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs10_v41_ip6t.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110836-233004187 +# @用例名称: ltp.net.nfs.nfs10_v41_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs10_v41_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs10_v41_ip6t + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs10_v42_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfs10_v42_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..9e5e52076568949e4558e441d15cedeff377c967 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs10_v42_ip4t.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110835-886502083 +# @用例名称: ltp.net.nfs.nfs10_v42_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs10_v42_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs10_v42_ip4t + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfs10_v42_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfs10_v42_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..57e0f675cd7f4aa5558da32a306befb0fd8647d1 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfs10_v42_ip6t.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110836-317837354 +# @用例名称: ltp.net.nfs.nfs10_v42_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfs10_v42_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfs10_v42_ip6t + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfslock01_v30_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfslock01_v30_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..92cdd0a3023c06415947a745174f6d60a41f96ab --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfslock01_v30_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172835-345239769 +# @用例名称: ltp.net.nfs.nfslock01_v30_ip4t +# @用例级别: 3 +# @用例标签: 待分析 +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfslock01_v30_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfslock01_v30_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfslock01_v30_ip4u.sh b/testcase/net.nfs/ltp.net.nfs.nfslock01_v30_ip4u.sh new file mode 100755 index 0000000000000000000000000000000000000000..e77675b8f4397abb9f01055586aaa4d918e60c58 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfslock01_v30_ip4u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172835-271225437 +# @用例名称: ltp.net.nfs.nfslock01_v30_ip4u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfslock01_v30_ip4u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfslock01_v30_ip4u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfslock01_v30_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfslock01_v30_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..3243820a632b1f08028bcdd93f7db77721b389cb --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfslock01_v30_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172835-723830638 +# @用例名称: ltp.net.nfs.nfslock01_v30_ip6t +# @用例级别: 3 +# @用例标签: 待分析 +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfslock01_v30_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfslock01_v30_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfslock01_v30_ip6u.sh b/testcase/net.nfs/ltp.net.nfs.nfslock01_v30_ip6u.sh new file mode 100755 index 0000000000000000000000000000000000000000..7a37623d14d31ce63a088f4acefc5f521697f1db --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfslock01_v30_ip6u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172835-648686105 +# @用例名称: ltp.net.nfs.nfslock01_v30_ip6u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfslock01_v30_ip6u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfslock01_v30_ip6u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfslock01_v40_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfslock01_v40_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..6eaf1cdaf62ef1c169647dff43d9afc6cbb252d7 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfslock01_v40_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172835-420390914 +# @用例名称: ltp.net.nfs.nfslock01_v40_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfslock01_v40_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfslock01_v40_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfslock01_v40_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfslock01_v40_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..16ee5638a7a538291fcf88794e5209f47ff76616 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfslock01_v40_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172835-798580150 +# @用例名称: ltp.net.nfs.nfslock01_v40_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfslock01_v40_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfslock01_v40_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfslock01_v41_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfslock01_v41_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..72369fb29b070feb59491e1951e66dd7bd320305 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfslock01_v41_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172835-495837868 +# @用例名称: ltp.net.nfs.nfslock01_v41_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfslock01_v41_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfslock01_v41_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfslock01_v41_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfslock01_v41_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..ad917e9729467cd7d46f3e5b614f3e7a916045c2 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfslock01_v41_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172835-874234695 +# @用例名称: ltp.net.nfs.nfslock01_v41_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfslock01_v41_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfslock01_v41_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfslock01_v42_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfslock01_v42_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..03d6a0a08732d5050fc2972effbeba1272cd1a2d --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfslock01_v42_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172835-572249856 +# @用例名称: ltp.net.nfs.nfslock01_v42_ip4t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfslock01_v42_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfslock01_v42_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfslock01_v42_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfslock01_v42_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..74d28b34fcab9dffb94148c7fbf03cc53da7d7be --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfslock01_v42_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172835-949688846 +# @用例名称: ltp.net.nfs.nfslock01_v42_ip6t +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfslock01_v42_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfslock01_v42_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfsstat01_v30_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v30_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..ec05f3c5ad3f4effeda33f6f67b2aea6aa9fbe58 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v30_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172836-102630588 +# @用例名称: ltp.net.nfs.nfsstat01_v30_ip4t +# @用例级别: 3 +# @用例标签: 待分析 +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfsstat01_v30_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfsstat01_v30_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfsstat01_v30_ip4u.sh b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v30_ip4u.sh new file mode 100755 index 0000000000000000000000000000000000000000..f0ddb24aade861acbb745112a9ceeb38919aaabb --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v30_ip4u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172836-028454523 +# @用例名称: ltp.net.nfs.nfsstat01_v30_ip4u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfsstat01_v30_ip4u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfsstat01_v30_ip4u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfsstat01_v30_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v30_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..c8995fdc5b45e1fa0daacae0f166600b5c359546 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v30_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172836-478451526 +# @用例名称: ltp.net.nfs.nfsstat01_v30_ip6t +# @用例级别: 3 +# @用例标签: 待分析 +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfsstat01_v30_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfsstat01_v30_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfsstat01_v30_ip6u.sh b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v30_ip6u.sh new file mode 100755 index 0000000000000000000000000000000000000000..cb20718243ed6e6ac44ecf73efd1dd367826b37d --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v30_ip6u.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172836-403528132 +# @用例名称: ltp.net.nfs.nfsstat01_v30_ip6u +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfsstat01_v30_ip6u + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfsstat01_v30_ip6u + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfsstat01_v40_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v40_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..2ca59c85dc0ca920f919b5e69504c6b20c8327da --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v40_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172836-177022664 +# @用例名称: ltp.net.nfs.nfsstat01_v40_ip4t +# @用例级别: 3 +# @用例标签: 待分析 +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfsstat01_v40_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfsstat01_v40_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfsstat01_v40_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v40_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..86b2babfed9f58212ee20d56c0b3f134dfe6ec9a --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v40_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172836-554073263 +# @用例名称: ltp.net.nfs.nfsstat01_v40_ip6t +# @用例级别: 3 +# @用例标签: 待分析 +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfsstat01_v40_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfsstat01_v40_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfsstat01_v41_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v41_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..2ac6842d8d6f4c2e47164f194c766f79828a5083 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v41_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172836-252267579 +# @用例名称: ltp.net.nfs.nfsstat01_v41_ip4t +# @用例级别: 3 +# @用例标签: 待分析 +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfsstat01_v41_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfsstat01_v41_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfsstat01_v41_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v41_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..d72a97615e2e139dacd332fecf559cac3d777621 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v41_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172836-628436163 +# @用例名称: ltp.net.nfs.nfsstat01_v41_ip6t +# @用例级别: 3 +# @用例标签: 待分析 +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfsstat01_v41_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfsstat01_v41_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfsstat01_v42_ip4t.sh b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v42_ip4t.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c72f49fb46093ab162690e62f9524821480fce2 --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v42_ip4t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172836-328425797 +# @用例名称: ltp.net.nfs.nfsstat01_v42_ip4t +# @用例级别: 3 +# @用例标签: 待分析 +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfsstat01_v42_ip4t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfsstat01_v42_ip4t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfsstat01_v42_ip6t.sh b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v42_ip6t.sh new file mode 100755 index 0000000000000000000000000000000000000000..591995f9773a49d5acaba7cfbf6c02f86cccd74f --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfsstat01_v42_ip6t.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172836-704570561 +# @用例名称: ltp.net.nfs.nfsstat01_v42_ip6t +# @用例级别: 3 +# @用例标签: 待分析 +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfsstat01_v42_ip6t + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfsstat01_v42_ip6t + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.nfs/ltp.net.nfs.nfsstat02.sh b/testcase/net.nfs/ltp.net.nfs.nfsstat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..e2f2ddd07474a886536c8fc6b1780dfaeff9e94f --- /dev/null +++ b/testcase/net.nfs/ltp.net.nfs.nfsstat02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110836-402859569 +# @用例名称: ltp.net.nfs.nfsstat02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.nfs.nfsstat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.nfs nfsstat02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc01.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc01.sh new file mode 100755 index 0000000000000000000000000000000000000000..6bdc46589f4928cad45a53d7cb30337fdf59d1ab --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-843808556 +# @用例名称: ltp.net.rpc_tests.rpc01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_auth_destroy.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_auth_destroy.sh new file mode 100755 index 0000000000000000000000000000000000000000..061a85742074d6bbc69626638083afab3b57bf7c --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_auth_destroy.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-960908630 +# @用例名称: ltp.net.rpc_tests.rpc_auth_destroy +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_auth_destroy + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_auth_destroy + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_authnone_create.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_authnone_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..6d92f34e986217c681866e9859174ef9476f576a --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_authnone_create.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-934885618 +# @用例名称: ltp.net.rpc_tests.rpc_authnone_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_authnone_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_authnone_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_authunix_create.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_authunix_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..72521e664c0010518481130cad9c2dac1d1e4590 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_authunix_create.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-943598885 +# @用例名称: ltp.net.rpc_tests.rpc_authunix_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_authunix_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_authunix_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_authunix_create_default.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_authunix_create_default.sh new file mode 100755 index 0000000000000000000000000000000000000000..0cd6c8caa185d6af6d0e0a6b8b98562c47d35952 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_authunix_create_default.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-952252119 +# @用例名称: ltp.net.rpc_tests.rpc_authunix_create_default +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_authunix_create_default + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_authunix_create_default + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_callrpc.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_callrpc.sh new file mode 100755 index 0000000000000000000000000000000000000000..d6a7d81271ca8578587ae7bff6bd78a7c7f0d86c --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_callrpc.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-288897272 +# @用例名称: ltp.net.rpc_tests.rpc_callrpc +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_callrpc + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_callrpc + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_broadcast.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_broadcast.sh new file mode 100755 index 0000000000000000000000000000000000000000..5c6c26433e7a1d010468e2d263e9b32d10050e8e --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_broadcast.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-971869193 +# @用例名称: ltp.net.rpc_tests.rpc_clnt_broadcast +# @用例级别: 2 +# @用例标签: TS2不支持 +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_clnt_broadcast + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_clnt_broadcast + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_call.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_call.sh new file mode 100755 index 0000000000000000000000000000000000000000..e721aa83a0b798301aba82176eb6668beea0201b --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_call.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-280263355 +# @用例名称: ltp.net.rpc_tests.rpc_clnt_call +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_clnt_call + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_clnt_call + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_control.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_control.sh new file mode 100755 index 0000000000000000000000000000000000000000..eb54a0fc5e4cb998eb47308d2c65c1a9e03d2036 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_control.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-321068201 +# @用例名称: ltp.net.rpc_tests.rpc_clnt_control +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_clnt_control + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_clnt_control + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_create.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..3d4d5e6d2b1f3ee882be4bb44cf3813912b0feef --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_create.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-044337136 +# @用例名称: ltp.net.rpc_tests.rpc_clnt_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_clnt_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_clnt_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_destroy.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_destroy.sh new file mode 100755 index 0000000000000000000000000000000000000000..e89080d75b3fc766eef3badb7e1c7a27e6c75ef0 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_destroy.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-035391866 +# @用例名称: ltp.net.rpc_tests.rpc_clnt_destroy +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_clnt_destroy + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_clnt_destroy + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_freeres.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_freeres.sh new file mode 100755 index 0000000000000000000000000000000000000000..38dbdf207185d98630f40834c1871115c2dab16b --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_freeres.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-297607524 +# @用例名称: ltp.net.rpc_tests.rpc_clnt_freeres +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_clnt_freeres + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_clnt_freeres + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_geterr.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_geterr.sh new file mode 100755 index 0000000000000000000000000000000000000000..b775b1366b2f0bab9f8230a3db9604dc70a92cba --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_geterr.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-310856550 +# @用例名称: ltp.net.rpc_tests.rpc_clnt_geterr +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_clnt_geterr + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_clnt_geterr + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_pcreateerror.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_pcreateerror.sh new file mode 100755 index 0000000000000000000000000000000000000000..c5997cfdc33cd39a2aeccdd6f2b633b334813a9b --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_pcreateerror.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-101210595 +# @用例名称: ltp.net.rpc_tests.rpc_clnt_pcreateerror +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_clnt_pcreateerror + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_clnt_pcreateerror + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_perrno.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_perrno.sh new file mode 100755 index 0000000000000000000000000000000000000000..7500fff86438f94d31a0f143d2a2f1cbcdd760fa --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_perrno.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-111242911 +# @用例名称: ltp.net.rpc_tests.rpc_clnt_perrno +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_clnt_perrno + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_clnt_perrno + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_perror.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_perror.sh new file mode 100755 index 0000000000000000000000000000000000000000..e8611d49eb2c04b905292a801c8f9f7bc33fde75 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_perror.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-124191194 +# @用例名称: ltp.net.rpc_tests.rpc_clnt_perror +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_clnt_perror + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_clnt_perror + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_spcreateerror.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_spcreateerror.sh new file mode 100755 index 0000000000000000000000000000000000000000..59e73f62847caf63fafc5a7dae8466197072e4e8 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_spcreateerror.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-139724124 +# @用例名称: ltp.net.rpc_tests.rpc_clnt_spcreateerror +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_clnt_spcreateerror + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_clnt_spcreateerror + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_sperrno.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_sperrno.sh new file mode 100755 index 0000000000000000000000000000000000000000..37db28bd3a643e86b47b5e1f8034830c033c0995 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_sperrno.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-151319555 +# @用例名称: ltp.net.rpc_tests.rpc_clnt_sperrno +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_clnt_sperrno + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_clnt_sperrno + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_sperror.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_sperror.sh new file mode 100755 index 0000000000000000000000000000000000000000..aea64cd3c235050b5b7e1d2b2d7fd12e9bca099b --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnt_sperror.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-160372729 +# @用例名称: ltp.net.rpc_tests.rpc_clnt_sperror +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_clnt_sperror + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_clnt_sperror + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clntraw_create.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clntraw_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..0cfc04bbfbf09c9a5f4fe328337527c8dd15bb82 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clntraw_create.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-054200957 +# @用例名称: ltp.net.rpc_tests.rpc_clntraw_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_clntraw_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_clntraw_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnttcp_create.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnttcp_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..ba768e35f3c0dff32bec3cb24a3a9b05e11a7b3f --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clnttcp_create.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-065102710 +# @用例名称: ltp.net.rpc_tests.rpc_clnttcp_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_clnttcp_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_clnttcp_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clntudp_bufcreate.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clntudp_bufcreate.sh new file mode 100755 index 0000000000000000000000000000000000000000..7353ddd4192d734ae73516321b1c6176b1c0423e --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clntudp_bufcreate.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-090416785 +# @用例名称: ltp.net.rpc_tests.rpc_clntudp_bufcreate +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_clntudp_bufcreate + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_clntudp_bufcreate + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clntudp_create.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clntudp_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..726dbbad6617dc87dc4094d7ab64f0d1de0a8c13 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_clntudp_create.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-081686466 +# @用例名称: ltp.net.rpc_tests.rpc_clntudp_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_clntudp_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_clntudp_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_get_myaddress.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_get_myaddress.sh new file mode 100755 index 0000000000000000000000000000000000000000..f93280176d9a787a477f49c293c8388a10215653 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_get_myaddress.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-924192134 +# @用例名称: ltp.net.rpc_tests.rpc_get_myaddress +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_get_myaddress + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_get_myaddress + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_pmap_getmaps.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_pmap_getmaps.sh new file mode 100755 index 0000000000000000000000000000000000000000..9b70ee989938d4907d1e78b91b3977be4da97706 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_pmap_getmaps.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-906927463 +# @用例名称: ltp.net.rpc_tests.rpc_pmap_getmaps +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_pmap_getmaps + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_pmap_getmaps + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_pmap_getport.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_pmap_getport.sh new file mode 100755 index 0000000000000000000000000000000000000000..41f5ec93cd09934c32a1f748779f08cb1beb2c1f --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_pmap_getport.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-898001859 +# @用例名称: ltp.net.rpc_tests.rpc_pmap_getport +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_pmap_getport + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_pmap_getport + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_pmap_rmtcall.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_pmap_rmtcall.sh new file mode 100755 index 0000000000000000000000000000000000000000..ad999c054186de10f8786630ba738dd06cdecd2a --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_pmap_rmtcall.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-915459752 +# @用例名称: ltp.net.rpc_tests.rpc_pmap_rmtcall +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_pmap_rmtcall + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_pmap_rmtcall + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_pmap_set.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_pmap_set.sh new file mode 100755 index 0000000000000000000000000000000000000000..47f53979db8b7b008093878383046698dc72b83e --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_pmap_set.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-880564716 +# @用例名称: ltp.net.rpc_tests.rpc_pmap_set +# @用例级别: 2 +# @用例标签: TS2不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_pmap_set + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_pmap_set + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_pmap_unset.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_pmap_unset.sh new file mode 100755 index 0000000000000000000000000000000000000000..027e147be20ec66a326923754a56d8af0fe93417 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_pmap_unset.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-889375875 +# @用例名称: ltp.net.rpc_tests.rpc_pmap_unset +# @用例级别: 2 +# @用例标签: TS2不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_pmap_unset + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_pmap_unset + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_registerrpc.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_registerrpc.sh new file mode 100755 index 0000000000000000000000000000000000000000..a086d133c56cfc92b43bcc163dc28014b5e6858d --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_registerrpc.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-269114379 +# @用例名称: ltp.net.rpc_tests.rpc_registerrpc +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_registerrpc + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_registerrpc + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_destroy.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_destroy.sh new file mode 100755 index 0000000000000000000000000000000000000000..6332ea6767cb061843a8dad70179e17df12e2046 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_destroy.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-982746189 +# @用例名称: ltp.net.rpc_tests.rpc_svc_destroy +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svc_destroy + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svc_destroy + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_freeargs.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_freeargs.sh new file mode 100755 index 0000000000000000000000000000000000000000..f43d490c2781419761b46ffc133fe471a29db9df --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_freeargs.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-343529117 +# @用例名称: ltp.net.rpc_tests.rpc_svc_freeargs +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svc_freeargs + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svc_freeargs + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_getargs.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_getargs.sh new file mode 100755 index 0000000000000000000000000000000000000000..24a3b3cb0ff6e9dee8d25655829d1c0b53e4303b --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_getargs.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-352456063 +# @用例名称: ltp.net.rpc_tests.rpc_svc_getargs +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svc_getargs + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svc_getargs + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_getcaller.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_getcaller.sh new file mode 100755 index 0000000000000000000000000000000000000000..3780a91115f59a7b1792a1074c265841455a4b49 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_getcaller.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-330143906 +# @用例名称: ltp.net.rpc_tests.rpc_svc_getcaller +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svc_getcaller + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svc_getcaller + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_register.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_register.sh new file mode 100755 index 0000000000000000000000000000000000000000..fd02e76497c8fd5428db51f6035dcec7e30fffc7 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_register.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-251861209 +# @用例名称: ltp.net.rpc_tests.rpc_svc_register +# @用例级别: 2 +# @用例标签: TS2不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svc_register + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svc_register + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_sendreply.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_sendreply.sh new file mode 100755 index 0000000000000000000000000000000000000000..bf55f7c58776ba279ee3718b02cbb03265cbb109 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_sendreply.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-361144164 +# @用例名称: ltp.net.rpc_tests.rpc_svc_sendreply +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svc_sendreply + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svc_sendreply + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_unregister.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_unregister.sh new file mode 100755 index 0000000000000000000000000000000000000000..e5cbe0b959683407ef580f9d0ba69bbd400fe802 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svc_unregister.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-260556573 +# @用例名称: ltp.net.rpc_tests.rpc_svc_unregister +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svc_unregister + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svc_unregister + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_auth.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_auth.sh new file mode 100755 index 0000000000000000000000000000000000000000..5e980bf15bde23be9acac4d994a46a4a41ccba8c --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_auth.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-211841242 +# @用例名称: ltp.net.rpc_tests.rpc_svcerr_auth +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svcerr_auth + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svcerr_auth + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_noproc.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_noproc.sh new file mode 100755 index 0000000000000000000000000000000000000000..f79707268a3eff4f3d4ed1b9788e09490ce904b2 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_noproc.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-170408090 +# @用例名称: ltp.net.rpc_tests.rpc_svcerr_noproc +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svcerr_noproc + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svcerr_noproc + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_noprog.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_noprog.sh new file mode 100755 index 0000000000000000000000000000000000000000..7406e6fd89c6c7d7090b9511b6987261f7f6028b --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_noprog.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-181310453 +# @用例名称: ltp.net.rpc_tests.rpc_svcerr_noprog +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svcerr_noprog + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svcerr_noprog + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_progvers.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_progvers.sh new file mode 100755 index 0000000000000000000000000000000000000000..7e1e9ac384ba7422b733ec30990e655489a06eab --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_progvers.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-190182277 +# @用例名称: ltp.net.rpc_tests.rpc_svcerr_progvers +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svcerr_progvers + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svcerr_progvers + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_systemerr.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_systemerr.sh new file mode 100755 index 0000000000000000000000000000000000000000..2598e1583423ebe7c26df9fb1351b8ff82d0d6bf --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_systemerr.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-200573003 +# @用例名称: ltp.net.rpc_tests.rpc_svcerr_systemerr +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svcerr_systemerr + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svcerr_systemerr + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_weakauth.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_weakauth.sh new file mode 100755 index 0000000000000000000000000000000000000000..fbf6ef3c95038467e80bba6ac55e227bb5446bc7 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcerr_weakauth.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-220766836 +# @用例名称: ltp.net.rpc_tests.rpc_svcerr_weakauth +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svcerr_weakauth + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svcerr_weakauth + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcfd_create.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcfd_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..8879c290582b501d376bc4ee024e88fc3db1f3bb --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcfd_create.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-991550255 +# @用例名称: ltp.net.rpc_tests.rpc_svcfd_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svcfd_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svcfd_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcraw_create.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcraw_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..b6dd2a68757b40acecfbc2e41e055e965fda5877 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcraw_create.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-017894790 +# @用例名称: ltp.net.rpc_tests.rpc_svcraw_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svcraw_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svcraw_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svctcp_create.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svctcp_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..06bc10433d453b555e131e9cf3c33925b4205515 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svctcp_create.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-000329877 +# @用例名称: ltp.net.rpc_tests.rpc_svctcp_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svctcp_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svctcp_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcudp_bufcreate.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcudp_bufcreate.sh new file mode 100755 index 0000000000000000000000000000000000000000..c2b40db9dbc4b9f8e21d6002717effa9695ebb33 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcudp_bufcreate.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-026567591 +# @用例名称: ltp.net.rpc_tests.rpc_svcudp_bufcreate +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svcudp_bufcreate + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svcudp_bufcreate + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcudp_create.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcudp_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..3155316f5ad06ca843db859611667f5d7ac2ef34 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_svcudp_create.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-009208023 +# @用例名称: ltp.net.rpc_tests.rpc_svcudp_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_svcudp_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_svcudp_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_xprt_register.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_xprt_register.sh new file mode 100755 index 0000000000000000000000000000000000000000..6e1e0c4ba032ec534e66733f219d034523300e31 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_xprt_register.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-234466315 +# @用例名称: ltp.net.rpc_tests.rpc_xprt_register +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_xprt_register + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_xprt_register + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_xprt_unregister.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_xprt_unregister.sh new file mode 100755 index 0000000000000000000000000000000000000000..7af591db2fa627b6843f5b9e5c160aab2cec437b --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpc_xprt_unregister.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-243128827 +# @用例名称: ltp.net.rpc_tests.rpc_xprt_unregister +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpc_xprt_unregister + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpc_xprt_unregister + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.rpc_tests/ltp.net.rpc_tests.rpcinfo.sh b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpcinfo.sh new file mode 100755 index 0000000000000000000000000000000000000000..9dd999271d6f9122cc8ad1392fd9516e6cc12138 --- /dev/null +++ b/testcase/net.rpc_tests/ltp.net.rpc_tests.rpcinfo.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213002-852532774 +# @用例名称: ltp.net.rpc_tests.rpcinfo +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.rpc_tests.rpcinfo + # @预期结果:1: 用例返回0 + ltp_run_testcase net.rpc_tests rpcinfo + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_1_to_1_accept_close.sh b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_accept_close.sh new file mode 100755 index 0000000000000000000000000000000000000000..f89eaa6fc0a77134227c58ef1fa3e76f6823176b --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_accept_close.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-373626624 +# @用例名称: ltp.net.sctp.test_1_to_1_accept_close +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_1_to_1_accept_close + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_1_to_1_accept_close + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_1_to_1_addrs.sh b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_addrs.sh new file mode 100755 index 0000000000000000000000000000000000000000..5b1cf9513fcfbc6e970f4a6c3ec363098088fcac --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_addrs.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-382909137 +# @用例名称: ltp.net.sctp.test_1_to_1_addrs +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_1_to_1_addrs + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_1_to_1_addrs + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_1_to_1_connect.sh b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_connect.sh new file mode 100755 index 0000000000000000000000000000000000000000..a374316fbd7a51da5d6a54db024f4eea4465e2cc --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_connect.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-391572760 +# @用例名称: ltp.net.sctp.test_1_to_1_connect +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_1_to_1_connect + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_1_to_1_connect + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_1_to_1_connectx.sh b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_connectx.sh new file mode 100755 index 0000000000000000000000000000000000000000..0d0519e9a9c5cca1c53e705c69657fe4ebd81262 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_connectx.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-400220044 +# @用例名称: ltp.net.sctp.test_1_to_1_connectx +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_1_to_1_connectx + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_1_to_1_connectx + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_1_to_1_events.sh b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_events.sh new file mode 100755 index 0000000000000000000000000000000000000000..a691eac22528bf8b93977a3de511e71e3a4d06f2 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_events.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-408908605 +# @用例名称: ltp.net.sctp.test_1_to_1_events +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_1_to_1_events + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_1_to_1_events + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_1_to_1_initmsg_connect.sh b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_initmsg_connect.sh new file mode 100755 index 0000000000000000000000000000000000000000..7b4f1e9484a4edf70d8e4326efe390a4987485da --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_initmsg_connect.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-417488322 +# @用例名称: ltp.net.sctp.test_1_to_1_initmsg_connect +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_1_to_1_initmsg_connect + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_1_to_1_initmsg_connect + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_1_to_1_nonblock.sh b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_nonblock.sh new file mode 100755 index 0000000000000000000000000000000000000000..b937527f7623e7dc445fec04809bb897e004990f --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_nonblock.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-429351695 +# @用例名称: ltp.net.sctp.test_1_to_1_nonblock +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_1_to_1_nonblock + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_1_to_1_nonblock + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_1_to_1_recvfrom.sh b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_recvfrom.sh new file mode 100755 index 0000000000000000000000000000000000000000..40faec85b6f8dee6dd5c3633b284722f4aaa3e48 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_recvfrom.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-437985653 +# @用例名称: ltp.net.sctp.test_1_to_1_recvfrom +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_1_to_1_recvfrom + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_1_to_1_recvfrom + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_1_to_1_recvmsg.sh b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_recvmsg.sh new file mode 100755 index 0000000000000000000000000000000000000000..ad15956bbdca4e5dc2aae60a1b4d9aeacb325a83 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_recvmsg.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-446586940 +# @用例名称: ltp.net.sctp.test_1_to_1_recvmsg +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_1_to_1_recvmsg + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_1_to_1_recvmsg + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_1_to_1_rtoinfo.sh b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_rtoinfo.sh new file mode 100755 index 0000000000000000000000000000000000000000..339870d5345233e70ecb3fa20c39693500bbf027 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_rtoinfo.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-455262066 +# @用例名称: ltp.net.sctp.test_1_to_1_rtoinfo +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_1_to_1_rtoinfo + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_1_to_1_rtoinfo + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_1_to_1_send.sh b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_send.sh new file mode 100755 index 0000000000000000000000000000000000000000..a8de0a8b4dea3459f0a8d5b70646788c2740e853 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_send.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-464073136 +# @用例名称: ltp.net.sctp.test_1_to_1_send +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_1_to_1_send + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_1_to_1_send + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_1_to_1_sendmsg.sh b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_sendmsg.sh new file mode 100755 index 0000000000000000000000000000000000000000..0176ea6fbb8d1ebe17b1a04d4236d34351d642a8 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_sendmsg.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-472808494 +# @用例名称: ltp.net.sctp.test_1_to_1_sendmsg +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_1_to_1_sendmsg + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_1_to_1_sendmsg + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_1_to_1_sendto.sh b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_sendto.sh new file mode 100755 index 0000000000000000000000000000000000000000..5107d667e47813cacabc3a822cce7d7551344546 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_sendto.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-481416594 +# @用例名称: ltp.net.sctp.test_1_to_1_sendto +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_1_to_1_sendto + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_1_to_1_sendto + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_1_to_1_shutdown.sh b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_shutdown.sh new file mode 100755 index 0000000000000000000000000000000000000000..01ea924252c0697d6ed7448e966f0eff7a300a9a --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_shutdown.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-490139408 +# @用例名称: ltp.net.sctp.test_1_to_1_shutdown +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_1_to_1_shutdown + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_1_to_1_shutdown + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_1_to_1_socket_bind_listen.sh b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_socket_bind_listen.sh new file mode 100755 index 0000000000000000000000000000000000000000..546bce75dc4013434b3fe02e58759e2b30daae09 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_socket_bind_listen.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-498750244 +# @用例名称: ltp.net.sctp.test_1_to_1_socket_bind_listen +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_1_to_1_socket_bind_listen + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_1_to_1_socket_bind_listen + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_1_to_1_sockopt.sh b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_sockopt.sh new file mode 100755 index 0000000000000000000000000000000000000000..d3151627eece9a722afb44aa50ed4b8bc60920db --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_sockopt.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-507324711 +# @用例名称: ltp.net.sctp.test_1_to_1_sockopt +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_1_to_1_sockopt + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_1_to_1_sockopt + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_1_to_1_threads.sh b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_threads.sh new file mode 100755 index 0000000000000000000000000000000000000000..6a221cc80886b1fa3d11d149f79ebc48db811d02 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_1_to_1_threads.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-515961274 +# @用例名称: ltp.net.sctp.test_1_to_1_threads +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_1_to_1_threads + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_1_to_1_threads + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_assoc_abort.sh b/testcase/net.sctp/ltp.net.sctp.test_assoc_abort.sh new file mode 100755 index 0000000000000000000000000000000000000000..cd047954510e57282156a7f7c7d27dd932696a97 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_assoc_abort.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-524762977 +# @用例名称: ltp.net.sctp.test_assoc_abort +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_assoc_abort + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_assoc_abort + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_assoc_shutdown.sh b/testcase/net.sctp/ltp.net.sctp.test_assoc_shutdown.sh new file mode 100755 index 0000000000000000000000000000000000000000..bf50a9ff478af007d6b65dfb5fe6334e40e3f031 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_assoc_shutdown.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-533411733 +# @用例名称: ltp.net.sctp.test_assoc_shutdown +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_assoc_shutdown + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_assoc_shutdown + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_autoclose.sh b/testcase/net.sctp/ltp.net.sctp.test_autoclose.sh new file mode 100755 index 0000000000000000000000000000000000000000..c2b150bf22b892af3527007b531e241dd57d0f78 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_autoclose.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-542031075 +# @用例名称: ltp.net.sctp.test_autoclose +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_autoclose + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_autoclose + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_basic.sh b/testcase/net.sctp/ltp.net.sctp.test_basic.sh new file mode 100755 index 0000000000000000000000000000000000000000..0f56a4a3792dd66ed36d3950644ef2cf99108c38 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_basic.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-550583681 +# @用例名称: ltp.net.sctp.test_basic +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_basic + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_basic + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_basic_v6.sh b/testcase/net.sctp/ltp.net.sctp.test_basic_v6.sh new file mode 100755 index 0000000000000000000000000000000000000000..61417231d37cde9e83beb0709885ef5a78fce309 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_basic_v6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-559143650 +# @用例名称: ltp.net.sctp.test_basic_v6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_basic_v6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_basic_v6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_connect.sh b/testcase/net.sctp/ltp.net.sctp.test_connect.sh new file mode 100755 index 0000000000000000000000000000000000000000..4e0e0cdc58164500326cb6eae7a7f4106441262d --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_connect.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-568011557 +# @用例名称: ltp.net.sctp.test_connect +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_connect + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_connect + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_connectx.sh b/testcase/net.sctp/ltp.net.sctp.test_connectx.sh new file mode 100755 index 0000000000000000000000000000000000000000..5753a090de4695c074c7553c0b2dbd4a752cdbef --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_connectx.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-576698194 +# @用例名称: ltp.net.sctp.test_connectx +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_connectx + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_connectx + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_fragments.sh b/testcase/net.sctp/ltp.net.sctp.test_fragments.sh new file mode 100755 index 0000000000000000000000000000000000000000..aab04a44abf592bf73303b3803034b80ebd695ff --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_fragments.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-585396352 +# @用例名称: ltp.net.sctp.test_fragments +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_fragments + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_fragments + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_fragments_v6.sh b/testcase/net.sctp/ltp.net.sctp.test_fragments_v6.sh new file mode 100755 index 0000000000000000000000000000000000000000..ca6e1455afffc9f4e847cd141f89bac31d237dc2 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_fragments_v6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-594061921 +# @用例名称: ltp.net.sctp.test_fragments_v6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_fragments_v6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_fragments_v6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_getname.sh b/testcase/net.sctp/ltp.net.sctp.test_getname.sh new file mode 100755 index 0000000000000000000000000000000000000000..ff515a11cd21f57ab8eb6ad31b4a92015c474b99 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_getname.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-602651195 +# @用例名称: ltp.net.sctp.test_getname +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_getname + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_getname + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_getname_v6.sh b/testcase/net.sctp/ltp.net.sctp.test_getname_v6.sh new file mode 100755 index 0000000000000000000000000000000000000000..5c7c1f62d09e32a0b8288fab8d99d72d9c8a2934 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_getname_v6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-611508432 +# @用例名称: ltp.net.sctp.test_getname_v6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_getname_v6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_getname_v6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_inaddr_any.sh b/testcase/net.sctp/ltp.net.sctp.test_inaddr_any.sh new file mode 100755 index 0000000000000000000000000000000000000000..ae1148f0de6f518a74864dc3b830a095b79084c8 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_inaddr_any.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-620200018 +# @用例名称: ltp.net.sctp.test_inaddr_any +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_inaddr_any + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_inaddr_any + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_inaddr_any_v6.sh b/testcase/net.sctp/ltp.net.sctp.test_inaddr_any_v6.sh new file mode 100755 index 0000000000000000000000000000000000000000..b76d2887fe5b511b470f9d74be62b84cc8ddfbc1 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_inaddr_any_v6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-628829589 +# @用例名称: ltp.net.sctp.test_inaddr_any_v6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_inaddr_any_v6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_inaddr_any_v6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_peeloff.sh b/testcase/net.sctp/ltp.net.sctp.test_peeloff.sh new file mode 100755 index 0000000000000000000000000000000000000000..7d25cf6fb7fcf87a48f6c230053742a99facfb73 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_peeloff.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-637540601 +# @用例名称: ltp.net.sctp.test_peeloff +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_peeloff + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_peeloff + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_peeloff_v6.sh b/testcase/net.sctp/ltp.net.sctp.test_peeloff_v6.sh new file mode 100755 index 0000000000000000000000000000000000000000..65e5470e7ee0f0cba81b09b0af93df4a2f919a39 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_peeloff_v6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-646383550 +# @用例名称: ltp.net.sctp.test_peeloff_v6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_peeloff_v6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_peeloff_v6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_recvmsg.sh b/testcase/net.sctp/ltp.net.sctp.test_recvmsg.sh new file mode 100755 index 0000000000000000000000000000000000000000..0c5dc0896adebe4e3107e8b8547a3dd46b72eafe --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_recvmsg.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-655059077 +# @用例名称: ltp.net.sctp.test_recvmsg +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_recvmsg + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_recvmsg + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_sctp_sendrecvmsg.sh b/testcase/net.sctp/ltp.net.sctp.test_sctp_sendrecvmsg.sh new file mode 100755 index 0000000000000000000000000000000000000000..4d827187da3585bab926d59476c8fd071361f6e5 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_sctp_sendrecvmsg.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-663752226 +# @用例名称: ltp.net.sctp.test_sctp_sendrecvmsg +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_sctp_sendrecvmsg + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_sctp_sendrecvmsg + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_sctp_sendrecvmsg_v6.sh b/testcase/net.sctp/ltp.net.sctp.test_sctp_sendrecvmsg_v6.sh new file mode 100755 index 0000000000000000000000000000000000000000..2fc6712c2f6232fc72dc2fa4007fd166ad24a8a7 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_sctp_sendrecvmsg_v6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-672372690 +# @用例名称: ltp.net.sctp.test_sctp_sendrecvmsg_v6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_sctp_sendrecvmsg_v6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_sctp_sendrecvmsg_v6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_sockopt.sh b/testcase/net.sctp/ltp.net.sctp.test_sockopt.sh new file mode 100755 index 0000000000000000000000000000000000000000..ffee83a36723644b1144ecfe1215ed9dba2577d8 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_sockopt.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-681806585 +# @用例名称: ltp.net.sctp.test_sockopt +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_sockopt + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_sockopt + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_sockopt_v6.sh b/testcase/net.sctp/ltp.net.sctp.test_sockopt_v6.sh new file mode 100755 index 0000000000000000000000000000000000000000..d9187b765d7e73843cad552604403b07b4011a5a --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_sockopt_v6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-690523559 +# @用例名称: ltp.net.sctp.test_sockopt_v6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_sockopt_v6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_sockopt_v6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_tcp_style.sh b/testcase/net.sctp/ltp.net.sctp.test_tcp_style.sh new file mode 100755 index 0000000000000000000000000000000000000000..57b8e6051bc51c3dfccdcd52989985dd8718c8da --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_tcp_style.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-699090122 +# @用例名称: ltp.net.sctp.test_tcp_style +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_tcp_style + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_tcp_style + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_tcp_style_v6.sh b/testcase/net.sctp/ltp.net.sctp.test_tcp_style_v6.sh new file mode 100755 index 0000000000000000000000000000000000000000..42c4ab68c1dd401163170da6e1dbf899867b4782 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_tcp_style_v6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-708250916 +# @用例名称: ltp.net.sctp.test_tcp_style_v6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_tcp_style_v6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_tcp_style_v6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_timetolive.sh b/testcase/net.sctp/ltp.net.sctp.test_timetolive.sh new file mode 100755 index 0000000000000000000000000000000000000000..32b91e032f5448172fa08134c2e4ff77cb32249d --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_timetolive.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-716781992 +# @用例名称: ltp.net.sctp.test_timetolive +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_timetolive + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_timetolive + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.sctp/ltp.net.sctp.test_timetolive_v6.sh b/testcase/net.sctp/ltp.net.sctp.test_timetolive_v6.sh new file mode 100755 index 0000000000000000000000000000000000000000..aafc159292dc4ee1c683339ae6ffd3664227ef81 --- /dev/null +++ b/testcase/net.sctp/ltp.net.sctp.test_timetolive_v6.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-725546314 +# @用例名称: ltp.net.sctp.test_timetolive_v6 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.sctp.test_timetolive_v6 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.sctp test_timetolive_v6 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tcp_cmds/ltp.net.tcp_cmds.arping01.sh b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.arping01.sh new file mode 100755 index 0000000000000000000000000000000000000000..371013214db1228d92f9ca2c9e699d3f254d0ba4 --- /dev/null +++ b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.arping01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-182784363 +# @用例名称: ltp.net.tcp_cmds.arping01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tcp_cmds.arping01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tcp_cmds arping01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tcp_cmds/ltp.net.tcp_cmds.dhcpd.sh b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.dhcpd.sh new file mode 100755 index 0000000000000000000000000000000000000000..9a31aacc24f44b697b30693bea172f0937cb9f9f --- /dev/null +++ b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.dhcpd.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-297842064 +# @用例名称: ltp.net.tcp_cmds.dhcpd +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tcp_cmds.dhcpd + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tcp_cmds dhcpd + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tcp_cmds/ltp.net.tcp_cmds.dnsmasq.sh b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.dnsmasq.sh new file mode 100755 index 0000000000000000000000000000000000000000..b153727371905559c7b93587b81b42ff4953289e --- /dev/null +++ b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.dnsmasq.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-306481622 +# @用例名称: ltp.net.tcp_cmds.dnsmasq +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tcp_cmds.dnsmasq + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tcp_cmds dnsmasq + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tcp_cmds/ltp.net.tcp_cmds.ipneigh01_arp.sh b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.ipneigh01_arp.sh new file mode 100755 index 0000000000000000000000000000000000000000..77d43e19dc6dab5b7b12036798ec3109dee90d2a --- /dev/null +++ b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.ipneigh01_arp.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-165344845 +# @用例名称: ltp.net.tcp_cmds.ipneigh01_arp +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tcp_cmds.ipneigh01_arp + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tcp_cmds ipneigh01_arp + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tcp_cmds/ltp.net.tcp_cmds.ipneigh01_ip.sh b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.ipneigh01_ip.sh new file mode 100755 index 0000000000000000000000000000000000000000..0c2ba0238e4dc4c66e3f6f2882b1ef39a888c8b1 --- /dev/null +++ b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.ipneigh01_ip.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-174003910 +# @用例名称: ltp.net.tcp_cmds.ipneigh01_ip +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tcp_cmds.ipneigh01_ip + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tcp_cmds ipneigh01_ip + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tcp_cmds/ltp.net.tcp_cmds.iproute.sh b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.iproute.sh new file mode 100755 index 0000000000000000000000000000000000000000..ebe42e7595b5797418aa3ae104244897e70eb134 --- /dev/null +++ b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.iproute.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-319771665 +# @用例名称: ltp.net.tcp_cmds.iproute +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tcp_cmds.iproute + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tcp_cmds iproute + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tcp_cmds/ltp.net.tcp_cmds.iptables.sh b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.iptables.sh new file mode 100755 index 0000000000000000000000000000000000000000..0387d32a342cddc0ec9dd6eb55c46bad54028bf9 --- /dev/null +++ b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.iptables.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-280746920 +# @用例名称: ltp.net.tcp_cmds.iptables +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tcp_cmds.iptables + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tcp_cmds iptables + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tcp_cmds/ltp.net.tcp_cmds.netstat.sh b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.netstat.sh new file mode 100755 index 0000000000000000000000000000000000000000..fae9d38c5df77622209744839a23a446e3de1274 --- /dev/null +++ b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.netstat.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-220399129 +# @用例名称: ltp.net.tcp_cmds.netstat +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tcp_cmds.netstat + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tcp_cmds netstat + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tcp_cmds/ltp.net.tcp_cmds.nft.sh b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.nft.sh new file mode 100755 index 0000000000000000000000000000000000000000..4868f5e0b7e297eb93d747244bbf45f14a9a2c2a --- /dev/null +++ b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.nft.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-289333951 +# @用例名称: ltp.net.tcp_cmds.nft +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tcp_cmds.nft + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tcp_cmds nft + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tcp_cmds/ltp.net.tcp_cmds.ping01.sh b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.ping01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0d2ce31a4322082ed16c78b3e79085dea529fbe7 --- /dev/null +++ b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.ping01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-229606530 +# @用例名称: ltp.net.tcp_cmds.ping01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tcp_cmds.ping01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tcp_cmds ping01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tcp_cmds/ltp.net.tcp_cmds.ping02.sh b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.ping02.sh new file mode 100755 index 0000000000000000000000000000000000000000..6e731d3dada6eb3215da9f43e08d86778f4022eb --- /dev/null +++ b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.ping02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-238134060 +# @用例名称: ltp.net.tcp_cmds.ping02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tcp_cmds.ping02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tcp_cmds ping02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tcp_cmds/ltp.net.tcp_cmds.sendfile.sh b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.sendfile.sh new file mode 100755 index 0000000000000000000000000000000000000000..4fbbfae12a14b7d9ae6395b1aea3f8b2bc9e35dc --- /dev/null +++ b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.sendfile.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-246630541 +# @用例名称: ltp.net.tcp_cmds.sendfile +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tcp_cmds.sendfile + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tcp_cmds sendfile + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tcp_cmds/ltp.net.tcp_cmds.tc01.sh b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.tc01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f7c7b0aef7271fe0c73becc1cf9b007644f2d1fc --- /dev/null +++ b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.tc01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-255209125 +# @用例名称: ltp.net.tcp_cmds.tc01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tcp_cmds.tc01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tcp_cmds tc01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tcp_cmds/ltp.net.tcp_cmds.tcpdump.sh b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.tcpdump.sh new file mode 100755 index 0000000000000000000000000000000000000000..d179d028ba07225086e60f49cfabc5912020a41b --- /dev/null +++ b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.tcpdump.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-263725053 +# @用例名称: ltp.net.tcp_cmds.tcpdump +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tcp_cmds.tcpdump + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tcp_cmds tcpdump + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tcp_cmds/ltp.net.tcp_cmds.tracepath01.sh b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.tracepath01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ef591c20280987dad7890b53df8a91a82ee993a0 --- /dev/null +++ b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.tracepath01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-328272124 +# @用例名称: ltp.net.tcp_cmds.tracepath01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tcp_cmds.tracepath01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tcp_cmds tracepath01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tcp_cmds/ltp.net.tcp_cmds.traceroute01.sh b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.traceroute01.sh new file mode 100755 index 0000000000000000000000000000000000000000..69fdb960c2eb3347e9dc50afb0269be194922166 --- /dev/null +++ b/testcase/net.tcp_cmds/ltp.net.tcp_cmds.traceroute01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-336925619 +# @用例名称: ltp.net.tcp_cmds.traceroute01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tcp_cmds.traceroute01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tcp_cmds traceroute01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_authnone_create.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_authnone_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..9ed634efda2fd7ac20e8bd283a8f36d3f47e2e62 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_authnone_create.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-376432627 +# @用例名称: ltp.net.tirpc_tests.tirpc_authnone_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_authnone_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_authnone_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_authsys_create.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_authsys_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..6b33cb457ccb23a524b0f50545169d9f3b739b9b --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_authsys_create.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-385027953 +# @用例名称: ltp.net.tirpc_tests.tirpc_authsys_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_authsys_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_authsys_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_authsys_create_default.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_authsys_create_default.sh new file mode 100755 index 0000000000000000000000000000000000000000..9440927568b0bb4b60b61b878b1fd117f4de3f0e --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_authsys_create_default.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-393754885 +# @用例名称: ltp.net.tirpc_tests.tirpc_authsys_create_default +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_authsys_create_default + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_authsys_create_default + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_bottomlevel_clnt_call.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_bottomlevel_clnt_call.sh new file mode 100755 index 0000000000000000000000000000000000000000..77a98bbc4f7a954c82ba4d3a2bda674e0637340b --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_bottomlevel_clnt_call.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-438699900 +# @用例名称: ltp.net.tirpc_tests.tirpc_bottomlevel_clnt_call +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_bottomlevel_clnt_call + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_bottomlevel_clnt_call + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_control.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_control.sh new file mode 100755 index 0000000000000000000000000000000000000000..2a47362b4ebcf61a4f65af66c5709d4fd0dda33a --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_control.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-628930178 +# @用例名称: ltp.net.tirpc_tests.tirpc_clnt_control +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_clnt_control + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_clnt_control + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_create.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..987b778e48c9b4e731f13e7ef38ab152cefa9001 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_create.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-675458966 +# @用例名称: ltp.net.tirpc_tests.tirpc_clnt_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_clnt_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_clnt_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_create_timed.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_create_timed.sh new file mode 100755 index 0000000000000000000000000000000000000000..1b071affb1a5064faa9d276bb6e1e0a03428f13b --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_create_timed.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-683974393 +# @用例名称: ltp.net.tirpc_tests.tirpc_clnt_create_timed +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_clnt_create_timed + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_clnt_create_timed + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_destroy.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_destroy.sh new file mode 100755 index 0000000000000000000000000000000000000000..58c80d681d909f1fb652e59909ad4b12175d5266 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_destroy.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-710193242 +# @用例名称: ltp.net.tirpc_tests.tirpc_clnt_destroy +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_clnt_destroy + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_clnt_destroy + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_dg_create.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_dg_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..66a1021e5c888e45e5afcd05739a7f58ea80e10e --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_dg_create.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-404324125 +# @用例名称: ltp.net.tirpc_tests.tirpc_clnt_dg_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_clnt_dg_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_clnt_dg_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_pcreateerror.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_pcreateerror.sh new file mode 100755 index 0000000000000000000000000000000000000000..47904c0553fd9d3aa4731168e6e77a5232681c8e --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_pcreateerror.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-449265634 +# @用例名称: ltp.net.tirpc_tests.tirpc_clnt_pcreateerror +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_clnt_pcreateerror + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_clnt_pcreateerror + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_perrno.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_perrno.sh new file mode 100755 index 0000000000000000000000000000000000000000..0b8d5cad148d90e52a44049aabeba7ddd5cc8083 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_perrno.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-457914250 +# @用例名称: ltp.net.tirpc_tests.tirpc_clnt_perrno +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_clnt_perrno + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_clnt_perrno + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_perror.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_perror.sh new file mode 100755 index 0000000000000000000000000000000000000000..43c756f501cfaa8585ea06419d2fcd4aa92b7415 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_perror.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-466805069 +# @用例名称: ltp.net.tirpc_tests.tirpc_clnt_perror +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_clnt_perror + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_clnt_perror + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_tli_create.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_tli_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..6905d87805e2cc08719de0b06da8315e155e3f5a --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_tli_create.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-519918922 +# @用例名称: ltp.net.tirpc_tests.tirpc_clnt_tli_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_clnt_tli_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_clnt_tli_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_tp_create.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_tp_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..74d01d9346230f0e32be340f7b89f77e26689401 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_tp_create.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-591383017 +# @用例名称: ltp.net.tirpc_tests.tirpc_clnt_tp_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_clnt_tp_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_clnt_tp_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_tp_create_timed.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_tp_create_timed.sh new file mode 100755 index 0000000000000000000000000000000000000000..acaf08f4e9bee0bdd2dfc65c55036296da5de0b0 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_tp_create_timed.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-600091967 +# @用例名称: ltp.net.tirpc_tests.tirpc_clnt_tp_create_timed +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_clnt_tp_create_timed + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_clnt_tp_create_timed + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_vc_create.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_vc_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..f0447b0a135902e88ac88c5e33eb2ca7c0d24a22 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_clnt_vc_create.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-421611198 +# @用例名称: ltp.net.tirpc_tests.tirpc_clnt_vc_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_clnt_vc_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_clnt_vc_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_expertlevel_clnt_call.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_expertlevel_clnt_call.sh new file mode 100755 index 0000000000000000000000000000000000000000..a35a50a6275c633c986a82f161f08cb3b28fd85f --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_expertlevel_clnt_call.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-580750279 +# @用例名称: ltp.net.tirpc_tests.tirpc_expertlevel_clnt_call +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_expertlevel_clnt_call + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_expertlevel_clnt_call + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_interlevel_clnt_call.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_interlevel_clnt_call.sh new file mode 100755 index 0000000000000000000000000000000000000000..c96ecee290b6deb27e2c4571683afd8a91e3c6e3 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_interlevel_clnt_call.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-617469629 +# @用例名称: ltp.net.tirpc_tests.tirpc_interlevel_clnt_call +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_interlevel_clnt_call + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_interlevel_clnt_call + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpc_broadcast.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpc_broadcast.sh new file mode 100755 index 0000000000000000000000000000000000000000..f89532be5acfb05b17e35629b20656e514379120 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpc_broadcast.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-656348912 +# @用例名称: ltp.net.tirpc_tests.tirpc_rpc_broadcast +# @用例级别: 1 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_rpc_broadcast + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_rpc_broadcast + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpc_broadcast_exp.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpc_broadcast_exp.sh new file mode 100755 index 0000000000000000000000000000000000000000..78fe9907d58ec59621cd635ee0afae8791e574ec --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpc_broadcast_exp.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-664859519 +# @用例名称: ltp.net.tirpc_tests.tirpc_rpc_broadcast_exp +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_rpc_broadcast_exp + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_rpc_broadcast_exp + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpc_call.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpc_call.sh new file mode 100755 index 0000000000000000000000000000000000000000..a457e98187bb6c3b86d4f1b18bf121425cb71ca2 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpc_call.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-647831882 +# @用例名称: ltp.net.tirpc_tests.tirpc_rpc_call +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_rpc_call + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_rpc_call + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpc_reg.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpc_reg.sh new file mode 100755 index 0000000000000000000000000000000000000000..053640abd7449d26bbbf35f25d6237a5fd57995d --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpc_reg.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-639263816 +# @用例名称: ltp.net.tirpc_tests.tirpc_rpc_reg +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_rpc_reg + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_rpc_reg + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpcb_getaddr.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpcb_getaddr.sh new file mode 100755 index 0000000000000000000000000000000000000000..3437acc953cabda35c81e1c40acb0450e12b49be --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpcb_getaddr.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-355774264 +# @用例名称: ltp.net.tirpc_tests.tirpc_rpcb_getaddr +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_rpcb_getaddr + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_rpcb_getaddr + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpcb_getmaps.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpcb_getmaps.sh new file mode 100755 index 0000000000000000000000000000000000000000..e4e74539dfb16f97fd4fd61b8829379c1cba6cd2 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpcb_getmaps.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-364433660 +# @用例名称: ltp.net.tirpc_tests.tirpc_rpcb_getmaps +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_rpcb_getmaps + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_rpcb_getmaps + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpcb_rmtcall.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpcb_rmtcall.sh new file mode 100755 index 0000000000000000000000000000000000000000..72d2ff956015c54c572dfe2a0ab9d2d9b07cee93 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpcb_rmtcall.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-554739138 +# @用例名称: ltp.net.tirpc_tests.tirpc_rpcb_rmtcall +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_rpcb_rmtcall + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_rpcb_rmtcall + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpcb_set.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpcb_set.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d576db2e91ea28e4d370655a7e9501220a6708b --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpcb_set.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-537148507 +# @用例名称: ltp.net.tirpc_tests.tirpc_rpcb_set +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_rpcb_set + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_rpcb_set + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpcb_unset.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpcb_unset.sh new file mode 100755 index 0000000000000000000000000000000000000000..8e6fe65fd21cec77e86ea39e427181e7d822bae4 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_rpcb_unset.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-546098938 +# @用例名称: ltp.net.tirpc_tests.tirpc_rpcb_unset +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_rpcb_unset + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_rpcb_unset + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_create.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..1117c22f31927b2ed3c573590b7bd668ad957826 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_create.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-692586170 +# @用例名称: ltp.net.tirpc_tests.tirpc_svc_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_svc_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_svc_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_destroy.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_destroy.sh new file mode 100755 index 0000000000000000000000000000000000000000..cb042c8b543e05a242e9b905e0ae4f3759af601a --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_destroy.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-719840206 +# @用例名称: ltp.net.tirpc_tests.tirpc_svc_destroy +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_svc_destroy + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_svc_destroy + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_dg_create.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_dg_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..d517b9cae4a9e8c465e6482786101a418e2723da --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_dg_create.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-412935923 +# @用例名称: ltp.net.tirpc_tests.tirpc_svc_dg_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_svc_dg_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_svc_dg_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_reg.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_reg.sh new file mode 100755 index 0000000000000000000000000000000000000000..b309f96c7f914002dbd3e777897253d1b07bee96 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_reg.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-563400127 +# @用例名称: ltp.net.tirpc_tests.tirpc_svc_reg +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_svc_reg + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_svc_reg + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_tli_create.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_tli_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..040a2ad6b4c417fc2fb70a077c89e409e96a6692 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_tli_create.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-528546950 +# @用例名称: ltp.net.tirpc_tests.tirpc_svc_tli_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_svc_tli_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_svc_tli_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_tp_create.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_tp_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..f52a3b334680304285fd62a5a785dd7e9f8bf7be --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_tp_create.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-608803731 +# @用例名称: ltp.net.tirpc_tests.tirpc_svc_tp_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_svc_tp_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_svc_tp_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_unreg.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_unreg.sh new file mode 100755 index 0000000000000000000000000000000000000000..d01cfe62b81cb0702aa804f5eec83f708f331bab --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_unreg.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-572043304 +# @用例名称: ltp.net.tirpc_tests.tirpc_svc_unreg +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_svc_unreg + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_svc_unreg + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_vc_create.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_vc_create.sh new file mode 100755 index 0000000000000000000000000000000000000000..6bc5aff10f5fb15187bbc06a4925182e23935f74 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svc_vc_create.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-430149538 +# @用例名称: ltp.net.tirpc_tests.tirpc_svc_vc_create +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_svc_vc_create + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_svc_vc_create + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svcerr_noproc.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svcerr_noproc.sh new file mode 100755 index 0000000000000000000000000000000000000000..cdf2ddaf71e6df8269f5a47f55b2b0ce01713511 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svcerr_noproc.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-475372673 +# @用例名称: ltp.net.tirpc_tests.tirpc_svcerr_noproc +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_svcerr_noproc + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_svcerr_noproc + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svcerr_noprog.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svcerr_noprog.sh new file mode 100755 index 0000000000000000000000000000000000000000..5cd8cf30f1971b62b7d3dd88ecd7d03a1aaf220e --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svcerr_noprog.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-483882109 +# @用例名称: ltp.net.tirpc_tests.tirpc_svcerr_noprog +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_svcerr_noprog + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_svcerr_noprog + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svcerr_progvers.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svcerr_progvers.sh new file mode 100755 index 0000000000000000000000000000000000000000..0816b187debcc3e0f46400a5a783886ecf962059 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svcerr_progvers.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-492467968 +# @用例名称: ltp.net.tirpc_tests.tirpc_svcerr_progvers +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_svcerr_progvers + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_svcerr_progvers + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svcerr_systemerr.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svcerr_systemerr.sh new file mode 100755 index 0000000000000000000000000000000000000000..e919ff56a49b43510b12eb34b470cb9b3809ddf2 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svcerr_systemerr.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-501009473 +# @用例名称: ltp.net.tirpc_tests.tirpc_svcerr_systemerr +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_svcerr_systemerr + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_svcerr_systemerr + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svcerr_weakauth.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svcerr_weakauth.sh new file mode 100755 index 0000000000000000000000000000000000000000..4e67d4e5e1bab15acf5c212929dcb7f564ca651c --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_svcerr_weakauth.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-509473985 +# @用例名称: ltp.net.tirpc_tests.tirpc_svcerr_weakauth +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_svcerr_weakauth + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_svcerr_weakauth + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_toplevel_clnt_call.sh b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_toplevel_clnt_call.sh new file mode 100755 index 0000000000000000000000000000000000000000..d84033ef9fa9c0c01246a35ee3c2cdcd939493a8 --- /dev/null +++ b/testcase/net.tirpc_tests/ltp.net.tirpc_tests.tirpc_toplevel_clnt_call.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-701326237 +# @用例名称: ltp.net.tirpc_tests.tirpc_toplevel_clnt_call +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 开启rpcbind.service + yum install -y rpcbind + systemctl start rpcbind.service + skip_if_false systemctl is-active --quiet rpcbind.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net.tirpc_tests.tirpc_toplevel_clnt_call + # @预期结果:1: 用例返回0 + ltp_run_testcase net.tirpc_tests tirpc_toplevel_clnt_call + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.appl/ltp.net_stress.appl.dns4-stress.sh b/testcase/net_stress.appl/ltp.net_stress.appl.dns4-stress.sh new file mode 100755 index 0000000000000000000000000000000000000000..9047b8819c906549c0f6423b99f7b357ee35df6d --- /dev/null +++ b/testcase/net_stress.appl/ltp.net_stress.appl.dns4-stress.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-761459736 +# @用例名称: ltp.net_stress.appl.dns4-stress +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.appl.dns4-stress + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.appl dns4-stress + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.appl/ltp.net_stress.appl.dns6-stress.sh b/testcase/net_stress.appl/ltp.net_stress.appl.dns6-stress.sh new file mode 100755 index 0000000000000000000000000000000000000000..f08520291981b54a6aee743cf8f7f2c6e745ff8b --- /dev/null +++ b/testcase/net_stress.appl/ltp.net_stress.appl.dns6-stress.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-770163556 +# @用例名称: ltp.net_stress.appl.dns6-stress +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.appl.dns6-stress + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.appl dns6-stress + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.appl/ltp.net_stress.appl.ftp4-download-stress.sh b/testcase/net_stress.appl/ltp.net_stress.appl.ftp4-download-stress.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5ec018fd7f36e298ad0281552eb3730fdacb575 --- /dev/null +++ b/testcase/net_stress.appl/ltp.net_stress.appl.ftp4-download-stress.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-799981661 +# @用例名称: ltp.net_stress.appl.ftp4-download-stress +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.appl.ftp4-download-stress + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.appl ftp4-download-stress + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.appl/ltp.net_stress.appl.ftp4-upload-stress.sh b/testcase/net_stress.appl/ltp.net_stress.appl.ftp4-upload-stress.sh new file mode 100755 index 0000000000000000000000000000000000000000..25788f729a90615cbd4d2b84759e0475dfd57e39 --- /dev/null +++ b/testcase/net_stress.appl/ltp.net_stress.appl.ftp4-upload-stress.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-818955651 +# @用例名称: ltp.net_stress.appl.ftp4-upload-stress +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.appl.ftp4-upload-stress + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.appl ftp4-upload-stress + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.appl/ltp.net_stress.appl.ftp6-download-stress.sh b/testcase/net_stress.appl/ltp.net_stress.appl.ftp6-download-stress.sh new file mode 100755 index 0000000000000000000000000000000000000000..d02283b75a813d295736708fd748d0f95e987329 --- /dev/null +++ b/testcase/net_stress.appl/ltp.net_stress.appl.ftp6-download-stress.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-808525511 +# @用例名称: ltp.net_stress.appl.ftp6-download-stress +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.appl.ftp6-download-stress + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.appl ftp6-download-stress + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.appl/ltp.net_stress.appl.ftp6-upload-stress.sh b/testcase/net_stress.appl/ltp.net_stress.appl.ftp6-upload-stress.sh new file mode 100755 index 0000000000000000000000000000000000000000..0c24aaf6b492f509107278ca60d4a2f767aff920 --- /dev/null +++ b/testcase/net_stress.appl/ltp.net_stress.appl.ftp6-upload-stress.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-827535037 +# @用例名称: ltp.net_stress.appl.ftp6-upload-stress +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.appl.ftp6-upload-stress + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.appl ftp6-upload-stress + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.appl/ltp.net_stress.appl.http4-stress.sh b/testcase/net_stress.appl/ltp.net_stress.appl.http4-stress.sh new file mode 100755 index 0000000000000000000000000000000000000000..be3967fe69efc4068bc899f34d2aa200b91e6994 --- /dev/null +++ b/testcase/net_stress.appl/ltp.net_stress.appl.http4-stress.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-780841139 +# @用例名称: ltp.net_stress.appl.http4-stress +# @用例级别: 4 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 启动了httpd服务 + yum install -y httpd + systemctl start httpd.service + skip_if_false systemctl is-active --quiet httpd.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.appl.http4-stress + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.appl http4-stress + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.appl/ltp.net_stress.appl.http6-stress.sh b/testcase/net_stress.appl/ltp.net_stress.appl.http6-stress.sh new file mode 100755 index 0000000000000000000000000000000000000000..2791b175cebe2ba6e68234eb7a2283532baba859 --- /dev/null +++ b/testcase/net_stress.appl/ltp.net_stress.appl.http6-stress.sh @@ -0,0 +1,44 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-789336528 +# @用例名称: ltp.net_stress.appl.http6-stress +# @用例级别: 4 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: 启动了httpd服务 + yum install -y httpd + systemctl start httpd.service + skip_if_false systemctl is-active --quiet httpd.service + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.appl.http6-stress + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.appl http6-stress + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.appl/ltp.net_stress.appl.ssh4-stress.sh b/testcase/net_stress.appl/ltp.net_stress.appl.ssh4-stress.sh new file mode 100755 index 0000000000000000000000000000000000000000..acab36a232e23ef0632692da53f0e0befbed02a3 --- /dev/null +++ b/testcase/net_stress.appl/ltp.net_stress.appl.ssh4-stress.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-741375979 +# @用例名称: ltp.net_stress.appl.ssh4-stress +# @用例级别: 1 +# @用例标签: 废弃 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.appl.ssh4-stress + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.appl ssh4-stress + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.appl/ltp.net_stress.appl.ssh6-stress.sh b/testcase/net_stress.appl/ltp.net_stress.appl.ssh6-stress.sh new file mode 100755 index 0000000000000000000000000000000000000000..d39382a6434be6503f272c162e88c45fad01d694 --- /dev/null +++ b/testcase/net_stress.appl/ltp.net_stress.appl.ssh6-stress.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-750398305 +# @用例名称: ltp.net_stress.appl.ssh6-stress +# @用例级别: 1 +# @用例标签: 废弃 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.appl.ssh6-stress + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.appl ssh6-stress + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-checksum.sh b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-checksum.sh new file mode 100755 index 0000000000000000000000000000000000000000..cc9d7548bf2e2165b2e533caaafdd524115d5d8c --- /dev/null +++ b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-checksum.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-888408191 +# @用例名称: ltp.net_stress.broken_ip.broken_ip4-checksum +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.broken_ip.broken_ip4-checksum + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.broken_ip broken_ip4-checksum + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-dstaddr.sh b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-dstaddr.sh new file mode 100755 index 0000000000000000000000000000000000000000..81994079acd1dca16709cc6d4d7b1609cd5fda18 --- /dev/null +++ b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-dstaddr.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-897167484 +# @用例名称: ltp.net_stress.broken_ip.broken_ip4-dstaddr +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.broken_ip.broken_ip4-dstaddr + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.broken_ip broken_ip4-dstaddr + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-fragment.sh b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-fragment.sh new file mode 100755 index 0000000000000000000000000000000000000000..722c6be08e66eba4d83b4fe4247772fc6545af64 --- /dev/null +++ b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-fragment.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-862289661 +# @用例名称: ltp.net_stress.broken_ip.broken_ip4-fragment +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.broken_ip.broken_ip4-fragment + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.broken_ip broken_ip4-fragment + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-ihl.sh b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-ihl.sh new file mode 100755 index 0000000000000000000000000000000000000000..2b91484ca91eb6bd53b9908617ac83281f32cff1 --- /dev/null +++ b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-ihl.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-853681821 +# @用例名称: ltp.net_stress.broken_ip.broken_ip4-ihl +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.broken_ip.broken_ip4-ihl + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.broken_ip broken_ip4-ihl + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-plen.sh b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-plen.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c73c6e2199c39ddaf7b2b524787e007012b551a --- /dev/null +++ b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-plen.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-870879366 +# @用例名称: ltp.net_stress.broken_ip.broken_ip4-plen +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.broken_ip.broken_ip4-plen + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.broken_ip broken_ip4-plen + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-protcol.sh b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-protcol.sh new file mode 100755 index 0000000000000000000000000000000000000000..b95c81c5c4e3f8338bc6b79d4503b87e32fdf648 --- /dev/null +++ b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-protcol.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-879653607 +# @用例名称: ltp.net_stress.broken_ip.broken_ip4-protcol +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.broken_ip.broken_ip4-protcol + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.broken_ip broken_ip4-protcol + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-version.sh b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-version.sh new file mode 100755 index 0000000000000000000000000000000000000000..7d514e48f216b130cc8ed8f4e2d0259b9c6ade70 --- /dev/null +++ b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip4-version.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-843878033 +# @用例名称: ltp.net_stress.broken_ip.broken_ip4-version +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.broken_ip.broken_ip4-version + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.broken_ip broken_ip4-version + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip6-dstaddr.sh b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip6-dstaddr.sh new file mode 100755 index 0000000000000000000000000000000000000000..c3f47a905c6bcc1e6c76bfbb1774100665dd4e33 --- /dev/null +++ b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip6-dstaddr.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-908040203 +# @用例名称: ltp.net_stress.broken_ip.broken_ip6-dstaddr +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.broken_ip.broken_ip6-dstaddr + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.broken_ip broken_ip6-dstaddr + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip6-nexthdr.sh b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip6-nexthdr.sh new file mode 100755 index 0000000000000000000000000000000000000000..591c95db63bf56452a7a518740a5c443215fd5af --- /dev/null +++ b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip6-nexthdr.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-917008186 +# @用例名称: ltp.net_stress.broken_ip.broken_ip6-nexthdr +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.broken_ip.broken_ip6-nexthdr + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.broken_ip broken_ip6-nexthdr + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip6-plen.sh b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip6-plen.sh new file mode 100755 index 0000000000000000000000000000000000000000..2a15342c016d7f657178ce8afbedb182622b87e6 --- /dev/null +++ b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip6-plen.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-925750868 +# @用例名称: ltp.net_stress.broken_ip.broken_ip6-plen +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.broken_ip.broken_ip6-plen + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.broken_ip broken_ip6-plen + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip6-version.sh b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip6-version.sh new file mode 100755 index 0000000000000000000000000000000000000000..05c259f0025169caa5489f2598ced211d9636feb --- /dev/null +++ b/testcase/net_stress.broken_ip/ltp.net_stress.broken_ip.broken_ip6-version.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-937745597 +# @用例名称: ltp.net_stress.broken_ip.broken_ip6-version +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.broken_ip.broken_ip6-version + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.broken_ip broken_ip6-version + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if4-addr-adddel_ifconfig.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if4-addr-adddel_ifconfig.sh new file mode 100755 index 0000000000000000000000000000000000000000..0d53718e3752e342adeaa4f923dbf6505295d238 --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if4-addr-adddel_ifconfig.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-990070513 +# @用例名称: ltp.net_stress.interface.if4-addr-adddel_ifconfig +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if4-addr-adddel_ifconfig + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if4-addr-adddel_ifconfig + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if4-addr-adddel_ip.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if4-addr-adddel_ip.sh new file mode 100755 index 0000000000000000000000000000000000000000..0ba73424f760b2f6d909880ccec6548781ff3c1c --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if4-addr-adddel_ip.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-981375530 +# @用例名称: ltp.net_stress.interface.if4-addr-adddel_ip +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if4-addr-adddel_ip + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if4-addr-adddel_ip + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if4-addr-addlarge_ifconfig.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if4-addr-addlarge_ifconfig.sh new file mode 100755 index 0000000000000000000000000000000000000000..54a1cf801e6a791ae802c0de63f9efe2c257e4e5 --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if4-addr-addlarge_ifconfig.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-007346375 +# @用例名称: ltp.net_stress.interface.if4-addr-addlarge_ifconfig +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if4-addr-addlarge_ifconfig + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if4-addr-addlarge_ifconfig + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if4-addr-addlarge_ip.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if4-addr-addlarge_ip.sh new file mode 100755 index 0000000000000000000000000000000000000000..41716bfcfc2f68c4358212d93f5ee9183a22cb63 --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if4-addr-addlarge_ip.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-998738556 +# @用例名称: ltp.net_stress.interface.if4-addr-addlarge_ip +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if4-addr-addlarge_ip + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if4-addr-addlarge_ip + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if4-addr-change_ifconfig.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if4-addr-change_ifconfig.sh new file mode 100755 index 0000000000000000000000000000000000000000..66c417480c9badc74ce4b1a3a0fa25c4583f8057 --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if4-addr-change_ifconfig.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-953360480 +# @用例名称: ltp.net_stress.interface.if4-addr-change_ifconfig +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if4-addr-change_ifconfig + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if4-addr-change_ifconfig + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if4-mtu-change_ifconfig.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if4-mtu-change_ifconfig.sh new file mode 100755 index 0000000000000000000000000000000000000000..5e5ea46507bcb9baa29b8ada2ebe80faf5d23f34 --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if4-mtu-change_ifconfig.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-060656385 +# @用例名称: ltp.net_stress.interface.if4-mtu-change_ifconfig +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if4-mtu-change_ifconfig + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if4-mtu-change_ifconfig + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if4-mtu-change_ip.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if4-mtu-change_ip.sh new file mode 100755 index 0000000000000000000000000000000000000000..26ef8bcf810f04f4c69247d312d9dad2b729ee61 --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if4-mtu-change_ip.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-051198355 +# @用例名称: ltp.net_stress.interface.if4-mtu-change_ip +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if4-mtu-change_ip + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if4-mtu-change_ip + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if4-route-adddel_ip.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if4-route-adddel_ip.sh new file mode 100755 index 0000000000000000000000000000000000000000..ca0c4c512c7217f141b28506291bd31f77735ec1 --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if4-route-adddel_ip.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-016170029 +# @用例名称: ltp.net_stress.interface.if4-route-adddel_ip +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if4-route-adddel_ip + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if4-route-adddel_ip + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if4-route-adddel_route.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if4-route-adddel_route.sh new file mode 100755 index 0000000000000000000000000000000000000000..8bcc83a6800feab7a5e9c9c4aa0dbbba00d4c7d9 --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if4-route-adddel_route.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-024795641 +# @用例名称: ltp.net_stress.interface.if4-route-adddel_route +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if4-route-adddel_route + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if4-route-adddel_route + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if4-route-addlarge_ip.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if4-route-addlarge_ip.sh new file mode 100755 index 0000000000000000000000000000000000000000..3d271ed3644ea85cb59ae2f5ed0ec7c2f60560db --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if4-route-addlarge_ip.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-033752134 +# @用例名称: ltp.net_stress.interface.if4-route-addlarge_ip +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if4-route-addlarge_ip + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if4-route-addlarge_ip + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if4-route-addlarge_route.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if4-route-addlarge_route.sh new file mode 100755 index 0000000000000000000000000000000000000000..6ed844d0e14fe470555e69549ae4ee5bce466e0c --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if4-route-addlarge_route.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-042493564 +# @用例名称: ltp.net_stress.interface.if4-route-addlarge_route +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if4-route-addlarge_route + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if4-route-addlarge_route + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if4-updown_ifconfig.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if4-updown_ifconfig.sh new file mode 100755 index 0000000000000000000000000000000000000000..64727d9cb4d34d6f15579c129a84deb215621726 --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if4-updown_ifconfig.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-972584307 +# @用例名称: ltp.net_stress.interface.if4-updown_ifconfig +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if4-updown_ifconfig + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if4-updown_ifconfig + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if4-updown_ip.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if4-updown_ip.sh new file mode 100755 index 0000000000000000000000000000000000000000..906cb2d33c7a556e07f30ebe19db6e244335fbb9 --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if4-updown_ip.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213003-963954497 +# @用例名称: ltp.net_stress.interface.if4-updown_ip +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if4-updown_ip + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if4-updown_ip + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if6-addr-adddel_ifconfig.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if6-addr-adddel_ifconfig.sh new file mode 100755 index 0000000000000000000000000000000000000000..688057b5e82bdc570d066a5adba145a267c3d360 --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if6-addr-adddel_ifconfig.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-098383112 +# @用例名称: ltp.net_stress.interface.if6-addr-adddel_ifconfig +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if6-addr-adddel_ifconfig + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if6-addr-adddel_ifconfig + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if6-addr-adddel_ip.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if6-addr-adddel_ip.sh new file mode 100755 index 0000000000000000000000000000000000000000..aa5fee0f2ea160b691c1c5886a369a866beae0cf --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if6-addr-adddel_ip.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-089249838 +# @用例名称: ltp.net_stress.interface.if6-addr-adddel_ip +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if6-addr-adddel_ip + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if6-addr-adddel_ip + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if6-addr-addlarge_ifconfig.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if6-addr-addlarge_ifconfig.sh new file mode 100755 index 0000000000000000000000000000000000000000..19fa19548bc370dc92930b723e0b3e03a21aa836 --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if6-addr-addlarge_ifconfig.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-115620030 +# @用例名称: ltp.net_stress.interface.if6-addr-addlarge_ifconfig +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if6-addr-addlarge_ifconfig + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if6-addr-addlarge_ifconfig + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if6-addr-addlarge_ip.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if6-addr-addlarge_ip.sh new file mode 100755 index 0000000000000000000000000000000000000000..22c51b0f67cf27341cbab263fe6a6bfbafa0e384 --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if6-addr-addlarge_ip.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-107000809 +# @用例名称: ltp.net_stress.interface.if6-addr-addlarge_ip +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if6-addr-addlarge_ip + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if6-addr-addlarge_ip + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if6-mtu-change_ifconfig.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if6-mtu-change_ifconfig.sh new file mode 100755 index 0000000000000000000000000000000000000000..dc40beeec45a88f1d68c5c71cd17edd4ab74608b --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if6-mtu-change_ifconfig.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-169540172 +# @用例名称: ltp.net_stress.interface.if6-mtu-change_ifconfig +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if6-mtu-change_ifconfig + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if6-mtu-change_ifconfig + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if6-mtu-change_ip.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if6-mtu-change_ip.sh new file mode 100755 index 0000000000000000000000000000000000000000..74e457251155febbd17632e6a378fcaf4cdde38f --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if6-mtu-change_ip.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-160610861 +# @用例名称: ltp.net_stress.interface.if6-mtu-change_ip +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if6-mtu-change_ip + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if6-mtu-change_ip + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if6-route-adddel_ip.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if6-route-adddel_ip.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5892ebe12bc7e2ecbccde59e5d73538b13a7936 --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if6-route-adddel_ip.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-124616077 +# @用例名称: ltp.net_stress.interface.if6-route-adddel_ip +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if6-route-adddel_ip + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if6-route-adddel_ip + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if6-route-adddel_route.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if6-route-adddel_route.sh new file mode 100755 index 0000000000000000000000000000000000000000..ffe158bbcd2834b3dd7e80bd3e8bac3beb77b5a7 --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if6-route-adddel_route.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-133228524 +# @用例名称: ltp.net_stress.interface.if6-route-adddel_route +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if6-route-adddel_route + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if6-route-adddel_route + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if6-route-addlarge_ip.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if6-route-addlarge_ip.sh new file mode 100755 index 0000000000000000000000000000000000000000..ccd7181257ac659840287af44790d9b865860e1b --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if6-route-addlarge_ip.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-142765403 +# @用例名称: ltp.net_stress.interface.if6-route-addlarge_ip +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if6-route-addlarge_ip + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if6-route-addlarge_ip + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if6-route-addlarge_route.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if6-route-addlarge_route.sh new file mode 100755 index 0000000000000000000000000000000000000000..7c2c4ceda7711b6d210a21921f8588e8d67d34b2 --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if6-route-addlarge_route.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-151998332 +# @用例名称: ltp.net_stress.interface.if6-route-addlarge_route +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if6-route-addlarge_route + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if6-route-addlarge_route + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if6-updown_ifconfig.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if6-updown_ifconfig.sh new file mode 100755 index 0000000000000000000000000000000000000000..c675ded05909b9553f11651d68f64e64e0b35f5a --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if6-updown_ifconfig.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-080429040 +# @用例名称: ltp.net_stress.interface.if6-updown_ifconfig +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if6-updown_ifconfig + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if6-updown_ifconfig + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.interface/ltp.net_stress.interface.if6-updown_ip.sh b/testcase/net_stress.interface/ltp.net_stress.interface.if6-updown_ip.sh new file mode 100755 index 0000000000000000000000000000000000000000..d45038cc7f4f678891bcd032463b1bb485105e0a --- /dev/null +++ b/testcase/net_stress.interface/ltp.net_stress.interface.if6-updown_ip.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-071707778 +# @用例名称: ltp.net_stress.interface.if6-updown_ip +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.interface.if6-updown_ip + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.interface if6-updown_ip + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec01.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7236f940a208f9d6f9187c55b2d3c1e6a0ff56be --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-180005067 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec02.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec02.sh new file mode 100755 index 0000000000000000000000000000000000000000..34549961e4a7b6661d3b7d044c271e5f0849d992 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-188564085 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec03.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec03.sh new file mode 100755 index 0000000000000000000000000000000000000000..98cffe120ef9784969a78816eac2bc1305ebf33a --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-197311155 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec04.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec04.sh new file mode 100755 index 0000000000000000000000000000000000000000..4c8f7b7293e478b702cfe2ba99f3707227dda257 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-206359630 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec05.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec05.sh new file mode 100755 index 0000000000000000000000000000000000000000..80e1ecbd463528a67a0e75cfa7feac45d454d7ef --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-214983760 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec06.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec06.sh new file mode 100755 index 0000000000000000000000000000000000000000..99633cc6ee7aba967a852bd946b5d894a06c1e61 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-223635602 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec07.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec07.sh new file mode 100755 index 0000000000000000000000000000000000000000..9cde846a9bdfd878d1521fb0ebc29f63c44246ff --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-232389465 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec08.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec08.sh new file mode 100755 index 0000000000000000000000000000000000000000..64e2cc0ee3c80ef77d103e3fee58f22fde65d2fe --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-240990141 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec09.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec09.sh new file mode 100755 index 0000000000000000000000000000000000000000..9abc4cf815b91df0a7556d8582af1bd3664aa02c --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-249600535 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec10.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec10.sh new file mode 100755 index 0000000000000000000000000000000000000000..d8310ce91abb8de9abacc40685b5f3449dfa50bd --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-258322869 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec11.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec11.sh new file mode 100755 index 0000000000000000000000000000000000000000..d6f27b5706d0b7ad58ac7a19f778a0ac8640c26e --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-267091189 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec12.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec12.sh new file mode 100755 index 0000000000000000000000000000000000000000..8daeb39921f471b6d2866f3839d64722f71ed25c --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-275874788 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec13.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec13.sh new file mode 100755 index 0000000000000000000000000000000000000000..d39b9825471546a476cbb9c8ea5fe1b691bd8914 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-284787227 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec14.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec14.sh new file mode 100755 index 0000000000000000000000000000000000000000..21fe626b07de07eb4908a7a08d94ef7ed6a68a59 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-293207236 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec15.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec15.sh new file mode 100755 index 0000000000000000000000000000000000000000..19f23ab3cd2bb1072bc1f9444dc17c8e324eb381 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-305338900 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec16.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec16.sh new file mode 100755 index 0000000000000000000000000000000000000000..35deb46c42c6d90d6749bca23089d1a79e60e805 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-313828358 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec17.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec17.sh new file mode 100755 index 0000000000000000000000000000000000000000..30afefa08fc1016b983ce6bbb9db912643f66362 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-322580919 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec18.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec18.sh new file mode 100755 index 0000000000000000000000000000000000000000..98e7a02f4c2942f07452fbc6b97a4129d98b8216 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-331113838 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec18 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec18 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec19.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec19.sh new file mode 100755 index 0000000000000000000000000000000000000000..0b9a632d87e48633b6987509677eb240f2b0344e --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec19.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-339755261 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec19 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec19 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec20.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec20.sh new file mode 100755 index 0000000000000000000000000000000000000000..9a2c9bf3d543aa747ebf03848dbee647b7bb2c52 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec20.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-348378789 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec20 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec20 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec21.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec21.sh new file mode 100755 index 0000000000000000000000000000000000000000..6b47dee8339cae4fda0daca0f3a490724a0b0323 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec21.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-357086345 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec21 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec21 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec22.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec22.sh new file mode 100755 index 0000000000000000000000000000000000000000..be2d942f2bc91d2fbe7aac1cba8908037c01af81 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec22.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-365929516 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec22 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec22 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec22 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec23.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec23.sh new file mode 100755 index 0000000000000000000000000000000000000000..cdd23196f4e8000e2d4d69ead8330bbf818e6bfe --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec23.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-374953685 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec23 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec23 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec23 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec24.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec24.sh new file mode 100755 index 0000000000000000000000000000000000000000..1d0f295c26f5b33912e8a8da434be6f70521bfe7 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec24.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-383550694 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec24 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec24 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec24 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec25.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec25.sh new file mode 100755 index 0000000000000000000000000000000000000000..e76053adcbb7b999c45b11c3b0bfe920330360d0 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec25.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-392139358 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec25 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec25 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec25 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec26.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec26.sh new file mode 100755 index 0000000000000000000000000000000000000000..2df97c1283b8e38a5275766a7d33d4ab15b6db1a --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec26.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-400703245 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec26 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec26 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec26 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec27.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec27.sh new file mode 100755 index 0000000000000000000000000000000000000000..2b77df194251dfaeafc2a1913b52dba5a81d5038 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec27.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-409432472 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec27 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec27 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec27 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec28.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec28.sh new file mode 100755 index 0000000000000000000000000000000000000000..1b01d7ae6112f914f8ee2b973b8ed2c63e7105d7 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec28.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-418053647 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec28 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec28 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec28 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec29.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec29.sh new file mode 100755 index 0000000000000000000000000000000000000000..e3ac63f9c420a85a11cf37c151a335f75458a580 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec29.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-426784797 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec29 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec29 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec29 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec30.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec30.sh new file mode 100755 index 0000000000000000000000000000000000000000..3222d0ad1b50651b8f44ca828cc41a7cb8a69460 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec30.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-435346219 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec30 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec30 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec30 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec31.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec31.sh new file mode 100755 index 0000000000000000000000000000000000000000..e0c1283178779fc9f7a91e57efda7c45f57b280c --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec31.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-443941265 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec31 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec31 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec31 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec32.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec32.sh new file mode 100755 index 0000000000000000000000000000000000000000..b851a9e8ceab0bcc2c69bc9f106ca4b15f56dd4e --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec32.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-452801638 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec32 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec32 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec32 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec33.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec33.sh new file mode 100755 index 0000000000000000000000000000000000000000..a699bd8153a62c41eb79c56b0239ca3d17e297e4 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec33.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-461353863 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec33 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec33 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec33 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec34.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec34.sh new file mode 100755 index 0000000000000000000000000000000000000000..f445ca32db2b43baeb457b824467cb15776b9d59 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec34.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-469857928 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec34 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec34 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec34 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec35.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec35.sh new file mode 100755 index 0000000000000000000000000000000000000000..d514a6a272cf1b5a421b1ae9eeac4ffd042b9744 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec35.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-478453626 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec35 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec35 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec35 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec36.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec36.sh new file mode 100755 index 0000000000000000000000000000000000000000..d3edeec46add9472b182c7d5eaf96f26d50e3662 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec36.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-487010660 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec36 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec36 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec36 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti01.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ee4c74a3384a8b130eddbbd68b6dfdf437ce42ef --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-829411575 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec_vti01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti02.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti02.sh new file mode 100755 index 0000000000000000000000000000000000000000..dd445dae30cd0365f3adb86a5d3bfff3bfb0229f --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-838336168 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec_vti02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti04.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti04.sh new file mode 100755 index 0000000000000000000000000000000000000000..69d15e2db9079177d7e21feca509bc398e9d3a5c --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-848036973 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec_vti04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti05.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti05.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5b408d0275845c3f5b633214915124fac53e275 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-856707199 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec_vti05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti06.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti06.sh new file mode 100755 index 0000000000000000000000000000000000000000..7ff1694b998167eabab31f59b2cf63675629fbf6 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-865461453 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec_vti06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti07.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti07.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d0944ed0eb45604847923dd2edcdaa32cdae20c --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-874109338 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec_vti07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti08.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti08.sh new file mode 100755 index 0000000000000000000000000000000000000000..e1936a0e0b87a51a3b368af14389a9b2e7cbf730 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-882873240 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec_vti08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti09.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti09.sh new file mode 100755 index 0000000000000000000000000000000000000000..2aafb5378e5dc254e432f92057e324904a110838 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-891591095 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec_vti09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti10.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti10.sh new file mode 100755 index 0000000000000000000000000000000000000000..c608e5a8eba931eba7374781a35b82188a1249cb --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-900235753 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec_vti10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti11.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti11.sh new file mode 100755 index 0000000000000000000000000000000000000000..ef61b46e76b5303e15550554d255d6a55b684b77 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-908979748 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec_vti11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti12.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti12.sh new file mode 100755 index 0000000000000000000000000000000000000000..9d8088a55e28005d32fce56aa0c7ef884fa6e544 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-917569013 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec_vti12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti13.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti13.sh new file mode 100755 index 0000000000000000000000000000000000000000..6b1ba66d2f724433d918357e1689edead7ff6835 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-926375775 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec_vti13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti14.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti14.sh new file mode 100755 index 0000000000000000000000000000000000000000..9c33225eacf4d55dece81cd77aba628b51e31013 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-936065319 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec_vti14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti15.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti15.sh new file mode 100755 index 0000000000000000000000000000000000000000..3a7d57f346bd1ee14f32bd29dba7a2c4f28a7318 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-944815625 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec_vti15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti16.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti16.sh new file mode 100755 index 0000000000000000000000000000000000000000..265c3d2a99503f20020d5e8b1cc809f829a20c74 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-953727834 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec_vti16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti17.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti17.sh new file mode 100755 index 0000000000000000000000000000000000000000..259c4ada65b967854ad7227b51692405dc08330f --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-962500983 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp4_ipsec_vti17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp4_ipsec_vti17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec01.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ccdd1df4fe65cf0ecf5496ca905b4c02676c5ff2 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-497429709 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec02.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec02.sh new file mode 100755 index 0000000000000000000000000000000000000000..f71f49705a431073b12407f3e941d3f50388e612 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-505989780 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec03.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec03.sh new file mode 100755 index 0000000000000000000000000000000000000000..a042c0c4a95d63bd41d37302b8c1b36b8d741bd3 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-514580367 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec04.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec04.sh new file mode 100755 index 0000000000000000000000000000000000000000..1eba10ced5e3999c0f5962eccc4c0632cac1e8c9 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-523098608 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec05.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec05.sh new file mode 100755 index 0000000000000000000000000000000000000000..cdb63d1d13d7fc6677132b3b4005fd229e37c728 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-531815633 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec06.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec06.sh new file mode 100755 index 0000000000000000000000000000000000000000..556fd32695932e2799c1696f5f81c4b13e57fea4 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-541537177 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec07.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec07.sh new file mode 100755 index 0000000000000000000000000000000000000000..8760b23d63a93767c56adf6d8b585fdd3bb8a165 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-550115130 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec08.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec08.sh new file mode 100755 index 0000000000000000000000000000000000000000..ad19667a02f444c38b8b246a7b9dd54a4aec2c0e --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-558906183 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec09.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec09.sh new file mode 100755 index 0000000000000000000000000000000000000000..869ee5681e70a6092faf56c768d4850f168ffee1 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-567781153 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec10.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec10.sh new file mode 100755 index 0000000000000000000000000000000000000000..09c4e6e587f885b42c6fd8b37d07afe53834ca77 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-576573738 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec11.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec11.sh new file mode 100755 index 0000000000000000000000000000000000000000..e7fda569a6f6d1ad7d24cfad417fcd6313cbca0a --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-585204781 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec12.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec12.sh new file mode 100755 index 0000000000000000000000000000000000000000..c0d1263c4db56f5a289710b088a263cc1fd9ead9 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-598612544 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec13.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec13.sh new file mode 100755 index 0000000000000000000000000000000000000000..ba30d61ac96d9c5641c7b20078516f03bf0b2e41 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-607179126 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec14.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec14.sh new file mode 100755 index 0000000000000000000000000000000000000000..f2d96bade46c4b4a4c738a034e005533debb6630 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-615852298 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec15.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec15.sh new file mode 100755 index 0000000000000000000000000000000000000000..88a854def6e7fe162323496800b3858b2f3d98ca --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-624451031 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec16.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec16.sh new file mode 100755 index 0000000000000000000000000000000000000000..2108373c5196b533e957f84e4cdb207c77e7b0fd --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-633102903 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec17.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec17.sh new file mode 100755 index 0000000000000000000000000000000000000000..40fbe906a6d2605638d8ea7cc7c837cff855cbff --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-641726182 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec18.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec18.sh new file mode 100755 index 0000000000000000000000000000000000000000..636b68ac9e134672193ae212d17087b4a345aed5 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-650349169 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec18 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec18 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec19.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec19.sh new file mode 100755 index 0000000000000000000000000000000000000000..c84f9b69cd115e30e0b491ce01a692eeb4949a36 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec19.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-658921573 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec19 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec19 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec20.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec20.sh new file mode 100755 index 0000000000000000000000000000000000000000..b27510bab0134e4898bdb898a3219d04fbe4dccc --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec20.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-667472696 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec20 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec20 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec21.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec21.sh new file mode 100755 index 0000000000000000000000000000000000000000..3cfaeca13628903e3bda3bfd9d703ac5b89f8d6e --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec21.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-676153693 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec21 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec21 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec22.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec22.sh new file mode 100755 index 0000000000000000000000000000000000000000..9dc4446f165b9bf68f4533ac9b4ff0638e87fd44 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec22.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-685685351 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec22 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec22 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec22 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec23.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec23.sh new file mode 100755 index 0000000000000000000000000000000000000000..723a4efca4677a2f4aa088d7de9282cd88a1a750 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec23.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-695580810 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec23 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec23 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec23 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec24.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec24.sh new file mode 100755 index 0000000000000000000000000000000000000000..b2a78b530ed67e45907c5e5b76173a11ec0e241c --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec24.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-706924230 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec24 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec24 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec24 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec25.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec25.sh new file mode 100755 index 0000000000000000000000000000000000000000..175fb5f08bf5868102ea4ca72f590d4b248d29e6 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec25.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-717501675 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec25 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec25 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec25 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec26.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec26.sh new file mode 100755 index 0000000000000000000000000000000000000000..4039d3808fa4424ed86d520bd7ba5c3c60319784 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec26.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-727431600 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec26 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec26 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec26 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec27.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec27.sh new file mode 100755 index 0000000000000000000000000000000000000000..96b521ccdee7e95bcc208ad8ea8f9b3826819f37 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec27.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-737577357 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec27 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec27 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec27 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec28.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec28.sh new file mode 100755 index 0000000000000000000000000000000000000000..77f0d90d8767314d74694baf3da24d78b53f2ef1 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec28.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-747755196 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec28 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec28 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec28 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec29.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec29.sh new file mode 100755 index 0000000000000000000000000000000000000000..2ec57c728987764a094acf7a4de2d53d24abdbf3 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec29.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-756505301 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec29 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec29 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec29 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec30.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec30.sh new file mode 100755 index 0000000000000000000000000000000000000000..7773c0cf4520e870b8d0a8a4090b34baf30321ff --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec30.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-766623587 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec30 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec30 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec30 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec31.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec31.sh new file mode 100755 index 0000000000000000000000000000000000000000..679aa00e054ef3c029a49ecf29907843b4064f34 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec31.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-775473510 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec31 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec31 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec31 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec32.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec32.sh new file mode 100755 index 0000000000000000000000000000000000000000..8ae3e50c2080c99baba45563194973938a4e70c5 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec32.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-784314517 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec32 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec32 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec32 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec33.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec33.sh new file mode 100755 index 0000000000000000000000000000000000000000..99f391dc5221b71fe6f874f48370fe7bad36d4e9 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec33.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-793038874 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec33 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec33 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec33 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec34.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec34.sh new file mode 100755 index 0000000000000000000000000000000000000000..491f6ed1aa7cd384f99d0a8d78394082a97014f1 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec34.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-801753814 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec34 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec34 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec34 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec35.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec35.sh new file mode 100755 index 0000000000000000000000000000000000000000..f07bf307f58523852a97f8345cc3ede5b459863b --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec35.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-810332810 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec35 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec35 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec35 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec36.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec36.sh new file mode 100755 index 0000000000000000000000000000000000000000..84027d7b4e6699835dd3347c3f86003ed1a98d69 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec36.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-818929488 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec36 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec36 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec36 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti01.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0b37d482a5863f21d0ecac6698a887e010ed329c --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-973505489 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec_vti01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti02.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti02.sh new file mode 100755 index 0000000000000000000000000000000000000000..de3767a462c1dc895a57e5d84091ab656743c789 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-982388272 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec_vti02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti04.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti04.sh new file mode 100755 index 0000000000000000000000000000000000000000..a4d086cfac29c8ae836a57f1e5181916dc99ad3e --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213004-992511018 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec_vti04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti05.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti05.sh new file mode 100755 index 0000000000000000000000000000000000000000..f87203eccaa41d2e19a05fd7d20091b4a94a30a3 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-001221399 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec_vti05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti06.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti06.sh new file mode 100755 index 0000000000000000000000000000000000000000..8f1ef49446a30267e67ab5e9d64bec21895e28e6 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-010117948 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec_vti06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti07.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti07.sh new file mode 100755 index 0000000000000000000000000000000000000000..27e5a70a4e80d2801847d32c11d20e02476d3e55 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-019443532 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec_vti07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti08.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti08.sh new file mode 100755 index 0000000000000000000000000000000000000000..a7e8d9175f7b198b0088e24d69f9913fb27bab64 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-028324894 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec_vti08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti09.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti09.sh new file mode 100755 index 0000000000000000000000000000000000000000..4cfafd3fbef7ffcb55938345dfbd274ac2183d67 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-043811657 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec_vti09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti10.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti10.sh new file mode 100755 index 0000000000000000000000000000000000000000..671d7ba91598dda46af6fb79c45630b96126852c --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-056806086 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec_vti10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti11.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti11.sh new file mode 100755 index 0000000000000000000000000000000000000000..8dd48b74c7a69425237217062043b93e3855ddf4 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-066393920 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec_vti11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti12.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti12.sh new file mode 100755 index 0000000000000000000000000000000000000000..f25bfcafd9db7ea07e493563fe8cdee23b73141d --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-074998112 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec_vti12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti13.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti13.sh new file mode 100755 index 0000000000000000000000000000000000000000..ac2f8e7fb337f9fa54ca01872891fe4650411e14 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-083859216 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec_vti13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti14.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti14.sh new file mode 100755 index 0000000000000000000000000000000000000000..4bad9e358ada3a041f66c8eaf7d67d11d2740d03 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-092615223 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec_vti14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti15.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti15.sh new file mode 100755 index 0000000000000000000000000000000000000000..a505fef7371ec77924fa314136b874a0489eb7e8 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-101329572 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec_vti15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti16.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti16.sh new file mode 100755 index 0000000000000000000000000000000000000000..41809876ed992c64e3988cb54a72e2570ce42535 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-109976735 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec_vti16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti17.sh b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti17.sh new file mode 100755 index 0000000000000000000000000000000000000000..2bac4aced8d0638cccdd21702842df75a667e6e1 --- /dev/null +++ b/testcase/net_stress.ipsec_dccp/ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-118660547 +# @用例名称: ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_dccp.dccp6_ipsec_vti17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_dccp dccp6_ipsec_vti17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic01.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ce23faccef68c88b11df03cb64720c27df5cbcde --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-160762341 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic02.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic02.sh new file mode 100755 index 0000000000000000000000000000000000000000..4eb326ad81eaf2b9f4932a1b5bacb946ee4b32bc --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-169591745 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic03.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic03.sh new file mode 100755 index 0000000000000000000000000000000000000000..1f14da17b6c0a6e52535715940411252d5adec27 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-178423033 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic04.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic04.sh new file mode 100755 index 0000000000000000000000000000000000000000..1880a586ea54d0c97be414451f01b6775424f235 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-187049167 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic05.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic05.sh new file mode 100755 index 0000000000000000000000000000000000000000..982b4d571360f9fc93c39620aaf1c9c46ef94474 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-195719042 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic06.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic06.sh new file mode 100755 index 0000000000000000000000000000000000000000..587b64e176243bb26e493b128526d06273e84eca --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-204400500 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic07.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic07.sh new file mode 100755 index 0000000000000000000000000000000000000000..d0068c5e3691b0259ab3827d515229b365608182 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-212963726 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic08.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic08.sh new file mode 100755 index 0000000000000000000000000000000000000000..48776dabb5b25a8c51050f450f5c9a7052b84277 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-221562619 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic09.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic09.sh new file mode 100755 index 0000000000000000000000000000000000000000..fcfdae477bed9598a173078a26548faab8d256e5 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-230196417 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic10.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic10.sh new file mode 100755 index 0000000000000000000000000000000000000000..ad1b9ffcd1ee576063ca61f048493d082a1b1e36 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-238866924 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic11.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic11.sh new file mode 100755 index 0000000000000000000000000000000000000000..2e2184e242f07bf435508eee4f219fed97a50f78 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-247451460 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic12.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic12.sh new file mode 100755 index 0000000000000000000000000000000000000000..b48b04355b73e671a6e8504087f67a469c865136 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-256113652 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic13.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic13.sh new file mode 100755 index 0000000000000000000000000000000000000000..f61d4eb43bb7c768a107898685f1cc57d8b15274 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-264730548 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic14.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic14.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c2b575d26c2c52aeaf90283ae3ef2f28c59c09e --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-273336955 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic15.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic15.sh new file mode 100755 index 0000000000000000000000000000000000000000..2b1a7faeaddc38466560e310623763e53a447c29 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-281966866 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic16.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic16.sh new file mode 100755 index 0000000000000000000000000000000000000000..901a9e9c08bc950758bc61205c63791f71847722 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-290517368 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic17.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic17.sh new file mode 100755 index 0000000000000000000000000000000000000000..10fb8bcbdb6db2dfcf601453ff73ec8fc46bc2ec --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-299404611 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic18.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic18.sh new file mode 100755 index 0000000000000000000000000000000000000000..4661f3e99b60fa516bcb0d0fa4a6ff16feb29a63 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-314928343 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic18 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic18 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic19.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic19.sh new file mode 100755 index 0000000000000000000000000000000000000000..8eeec5e58640d07fb4560a923aa6d3ddb4501097 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic19.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-325433253 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic19 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic19 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic20.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic20.sh new file mode 100755 index 0000000000000000000000000000000000000000..14187437edf047b95782d1c6d459d820a92f7aa5 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic20.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-337752720 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic20 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic20 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic21.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic21.sh new file mode 100755 index 0000000000000000000000000000000000000000..4b711d7f80835be880dce84e634f4dcc9f68460c --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic21.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-346367983 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic21 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic21 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic22.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic22.sh new file mode 100755 index 0000000000000000000000000000000000000000..abc8d697949871ba92e3426608e5fc6b8216eb33 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic22.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-361222994 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic22 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic22 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic22 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic23.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic23.sh new file mode 100755 index 0000000000000000000000000000000000000000..3e6f351bc9e759514d92ab5893ec8b0a2c124d9c --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic23.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-370652051 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic23 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic23 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic23 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic24.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic24.sh new file mode 100755 index 0000000000000000000000000000000000000000..d4c3ed418502efa84c8eb9d78a5bb6d2c6f6e258 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic24.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-379419740 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic24 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic24 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic24 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic25.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic25.sh new file mode 100755 index 0000000000000000000000000000000000000000..9c53661b615c63bffe5e44aa751118046784607e --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic25.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-388433920 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic25 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic25 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic25 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic26.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic26.sh new file mode 100755 index 0000000000000000000000000000000000000000..2824c3141a74a4f3fdac366e416e9bce3e4c9fec --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-basic26.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-397050335 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-basic26 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-basic26 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-basic26 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti01.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti01.sh new file mode 100755 index 0000000000000000000000000000000000000000..191057985737cb736a79a430d4033321e00b9029 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-647262930 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-vti01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-vti01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-vti01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti02.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti02.sh new file mode 100755 index 0000000000000000000000000000000000000000..50d2d1b42dd6e0e5d886d3b673b58a381e158595 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-656538489 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-vti02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-vti02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-vti02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti03.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti03.sh new file mode 100755 index 0000000000000000000000000000000000000000..fb287dcaa5ebc00fb0db0ad357e7bfd6dc62c151 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-665188177 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-vti03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-vti03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-vti03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti04.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti04.sh new file mode 100755 index 0000000000000000000000000000000000000000..7a5bae869794f25276d0cb81dc48f8d7dac857d9 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-673827997 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-vti04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-vti04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-vti04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti05.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti05.sh new file mode 100755 index 0000000000000000000000000000000000000000..08cdc93f162a1acaf9cc945f466db51d1b09327a --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-682439383 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-vti05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-vti05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-vti05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti06.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti06.sh new file mode 100755 index 0000000000000000000000000000000000000000..19f9be89d363f00f243d9b55bd38f86ccb1552e2 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-691958258 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-vti06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-vti06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-vti06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti07.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti07.sh new file mode 100755 index 0000000000000000000000000000000000000000..797cef772298fc8da44e68d13b50d43b173fdff7 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-700653671 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-vti07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-vti07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-vti07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti08.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti08.sh new file mode 100755 index 0000000000000000000000000000000000000000..355b00d9246b0a42eac3ba217268068eed81a1eb --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-709230893 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-vti08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-vti08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-vti08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti09.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti09.sh new file mode 100755 index 0000000000000000000000000000000000000000..16b1cc1207d538cd36fb003491d2ab3612ebeea0 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-717758433 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-vti09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-vti09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-vti09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti10.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti10.sh new file mode 100755 index 0000000000000000000000000000000000000000..e472ec632c4170475dde1fc8d5a1c79cd6b7c5d5 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-726225539 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-vti10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-vti10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-vti10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti11.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti11.sh new file mode 100755 index 0000000000000000000000000000000000000000..0865baff99d53f7a7ac23c870bb6cf40661fac6a --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-734874666 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-vti11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-vti11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-vti11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti12.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti12.sh new file mode 100755 index 0000000000000000000000000000000000000000..ec5ebecd52f274678368854af8c7953c0b425ca6 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-743450325 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-vti12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-vti12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-vti12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti13.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti13.sh new file mode 100755 index 0000000000000000000000000000000000000000..35dff25d132e77e76153470a0d24782b2dab6bbc --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-752660092 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-vti13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-vti13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-vti13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti14.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti14.sh new file mode 100755 index 0000000000000000000000000000000000000000..0d37bd20d6b1d58975966256092f961ef69aab5e --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-761421158 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-vti14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-vti14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-vti14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti15.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti15.sh new file mode 100755 index 0000000000000000000000000000000000000000..11ff0dc511831560f1248a2a1e3de425e2d75d4c --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-770136629 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-vti15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-vti15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-vti15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti16.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti16.sh new file mode 100755 index 0000000000000000000000000000000000000000..a3f245cb5b5c6397df0aee1258bbf68956d062aa --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-778825130 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-vti16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-vti16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-vti16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti17.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti17.sh new file mode 100755 index 0000000000000000000000000000000000000000..69638a5700c5e00872893a5813c2f6395010bca2 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp4-uni-vti17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-787453578 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp4-uni-vti17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp4-uni-vti17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp4-uni-vti17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic01.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f7c716232b196643324da0777db326f3df9d649a --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-410483295 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic02.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic02.sh new file mode 100755 index 0000000000000000000000000000000000000000..48b0714d7fc7cafae5765d49a4f17777bd6f073e --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-419206491 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic03.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic03.sh new file mode 100755 index 0000000000000000000000000000000000000000..e1ca1c03dd6743d4e081be0ef86ed38e1d252f98 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-427937851 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic04.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic04.sh new file mode 100755 index 0000000000000000000000000000000000000000..ec9180119a1511d35c5425dab7786b0d0de67add --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-438855444 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic05.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic05.sh new file mode 100755 index 0000000000000000000000000000000000000000..8cea2d40ff52f42e8b341784b9d70d38a1892491 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-447505202 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic06.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic06.sh new file mode 100755 index 0000000000000000000000000000000000000000..216753ffd04509023ff77d03b0e57815835fcaa1 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-456242804 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic07.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic07.sh new file mode 100755 index 0000000000000000000000000000000000000000..3a7b914e84ffb044aecd6fa3636d07a7cbce8409 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-465024159 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic08.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic08.sh new file mode 100755 index 0000000000000000000000000000000000000000..256e182d1bd7a6a6039fa939606c09d249a019c2 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-473656725 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic09.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic09.sh new file mode 100755 index 0000000000000000000000000000000000000000..96c905da92a1e9ccf1da4def503e2be42d93d6d3 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-482154910 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic10.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic10.sh new file mode 100755 index 0000000000000000000000000000000000000000..2c0b9e68fb614a40f396b13484cf84d36711cf4f --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-490654928 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic11.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic11.sh new file mode 100755 index 0000000000000000000000000000000000000000..edd634af822c90b5aeabfc7f51cf9838269e205a --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-499314313 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic12.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic12.sh new file mode 100755 index 0000000000000000000000000000000000000000..f6b48acf1962b697346f7a4e5447a10882465894 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-507949724 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic13.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic13.sh new file mode 100755 index 0000000000000000000000000000000000000000..e4d2512fabcfb357f027207ed7e4c0d7c45c1242 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-516484207 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic14.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic14.sh new file mode 100755 index 0000000000000000000000000000000000000000..03a5b2d2c651b56b921e7e0ab7db59a949b19c86 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-525066178 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic15.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic15.sh new file mode 100755 index 0000000000000000000000000000000000000000..93f8895130631379b5a55bbbf873a7eb72ac8632 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-533745712 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic16.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic16.sh new file mode 100755 index 0000000000000000000000000000000000000000..f385e004bbea56f7b4f093ec6c533e43485e8df1 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-542462245 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic17.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic17.sh new file mode 100755 index 0000000000000000000000000000000000000000..c636ac24058a62c6fd011f7d42b5b92f1faac605 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-551012146 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic18.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic18.sh new file mode 100755 index 0000000000000000000000000000000000000000..eebcc6b6c6a83feeededb6f82b8735115e8c4612 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-559647868 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic18 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic18 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic19.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic19.sh new file mode 100755 index 0000000000000000000000000000000000000000..1189afe27667c8f43b4e871aa14007dff5da2830 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic19.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-568404476 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic19 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic19 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic20.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic20.sh new file mode 100755 index 0000000000000000000000000000000000000000..ca86f3c7019f34f4517a75e4fb0c271fd5d37384 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic20.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-577308209 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic20 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic20 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic21.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic21.sh new file mode 100755 index 0000000000000000000000000000000000000000..c6ff76e1d20aa423b0d2e8f39599b314a8e0f858 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic21.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-585933832 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic21 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic21 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic22.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic22.sh new file mode 100755 index 0000000000000000000000000000000000000000..354fa74e482d9ef7c2b560dcf6a7ff302a7a3419 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic22.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-594560718 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic22 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic22 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic22 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic23.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic23.sh new file mode 100755 index 0000000000000000000000000000000000000000..dad3657b366706132098a8de2e6f7fc771f6fd21 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic23.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-603087245 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic23 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic23 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic23 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic24.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic24.sh new file mode 100755 index 0000000000000000000000000000000000000000..30e7a57de8e9bfcae2dcc77fe4a3e40fd67357c6 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic24.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-611816432 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic24 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic24 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic24 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic25.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic25.sh new file mode 100755 index 0000000000000000000000000000000000000000..aebfa45a707e8fdaaad1391371465d00b1527b94 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic25.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-620618676 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic25 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic25 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic25 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic26.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic26.sh new file mode 100755 index 0000000000000000000000000000000000000000..d9622f046108e512c723411302ac9b4c2012453b --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-basic26.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-633428970 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-basic26 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-basic26 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-basic26 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti01.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c14dca7e1f8d55a90a69cc3e6aa6beea14a03a60 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-798018650 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-vti01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-vti01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-vti01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti02.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b993f4b3cebc365532d16a0e98fbcb2fa35d1dc3 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-806487270 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-vti02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-vti02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-vti02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti03.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti03.sh new file mode 100755 index 0000000000000000000000000000000000000000..fd66b470d5b38e722fe2922d5e2efc7451b550b2 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-815198503 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-vti03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-vti03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-vti03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti04.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti04.sh new file mode 100755 index 0000000000000000000000000000000000000000..9f10103d19c4f6c0157171d43aee4ff77a1dd405 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-824194228 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-vti04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-vti04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-vti04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti05.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti05.sh new file mode 100755 index 0000000000000000000000000000000000000000..0cc5110e75a580ff221dcc17d79ca70ac27210d1 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-832834298 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-vti05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-vti05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-vti05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti06.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti06.sh new file mode 100755 index 0000000000000000000000000000000000000000..bab6c1734674747c016d06ea13f25291aef4857a --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-841500507 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-vti06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-vti06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-vti06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti07.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti07.sh new file mode 100755 index 0000000000000000000000000000000000000000..041fd41496a70b59d94a46bf922e2660420257d1 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-850085073 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-vti07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-vti07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-vti07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti08.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti08.sh new file mode 100755 index 0000000000000000000000000000000000000000..000637f04d1e9edd18a27edeb992cd1e5e6f1eda --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-859793663 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-vti08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-vti08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-vti08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti09.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti09.sh new file mode 100755 index 0000000000000000000000000000000000000000..fb4578a84aa5e99df018d96c25aa8ee224823080 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-868803564 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-vti09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-vti09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-vti09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti10.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti10.sh new file mode 100755 index 0000000000000000000000000000000000000000..07cbc701a9f6491b2d088afb34d14b3024f2da4e --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-877450227 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-vti10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-vti10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-vti10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti11.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti11.sh new file mode 100755 index 0000000000000000000000000000000000000000..e65a4885acf24ec490fe1af853f2470e33272e09 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-886108822 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-vti11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-vti11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-vti11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti12.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti12.sh new file mode 100755 index 0000000000000000000000000000000000000000..f0115e9f4b702108e88ef764751d98af2dac2802 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-894757368 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-vti12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-vti12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-vti12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti13.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti13.sh new file mode 100755 index 0000000000000000000000000000000000000000..665f6b99c7fe4d28fd801283ed6b2c43e420c60e --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-903349838 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-vti13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-vti13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-vti13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti14.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti14.sh new file mode 100755 index 0000000000000000000000000000000000000000..72e7a90ce704817fac2a3d6387a5ada88de411e7 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-911996341 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-vti14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-vti14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-vti14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti15.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti15.sh new file mode 100755 index 0000000000000000000000000000000000000000..b12845ddb2e39bc5e7cedda0a31fe9e46c143b0c --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-920471442 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-vti15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-vti15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-vti15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti16.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti16.sh new file mode 100755 index 0000000000000000000000000000000000000000..ec34512e299b2c051212d94b739393f141681a96 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-929264518 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-vti16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-vti16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-vti16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti17.sh b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti17.sh new file mode 100755 index 0000000000000000000000000000000000000000..ad4fd60edb0961a15e15d4d24ef38d2e7cee75d8 --- /dev/null +++ b/testcase/net_stress.ipsec_icmp/ltp.net_stress.ipsec_icmp.icmp6-uni-vti17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-937867659 +# @用例名称: ltp.net_stress.ipsec_icmp.icmp6-uni-vti17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_icmp.icmp6-uni-vti17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_icmp icmp6-uni-vti17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec01.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f30144f2fd388b937a6ccc6997ca073284af6038 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-950109931 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec02.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec02.sh new file mode 100755 index 0000000000000000000000000000000000000000..70cd0d068871bfc804b2c944a50265c48d3539bd --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-958723030 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec03.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec03.sh new file mode 100755 index 0000000000000000000000000000000000000000..9f0a71343db2ef7446a8a770c91232c7b8054148 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-967466804 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec04.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec04.sh new file mode 100755 index 0000000000000000000000000000000000000000..a241f74eb93bfb5d82adcdbf205e42732040a2a7 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-976162267 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec05.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec05.sh new file mode 100755 index 0000000000000000000000000000000000000000..c53042095b8985b4ab0cbf1e903f3b70f2085543 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-984793301 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec06.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec06.sh new file mode 100755 index 0000000000000000000000000000000000000000..f2d8245d409476ee835fd2d9890216114c27aa3a --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213005-993475459 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec06 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec07.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec07.sh new file mode 100755 index 0000000000000000000000000000000000000000..aa2ededec59f52307770f2b2aac84bd5fd2b3543 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-002123775 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec08.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec08.sh new file mode 100755 index 0000000000000000000000000000000000000000..1c2c6640216b16b99c2e581abd24ce692d3808d7 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-010696649 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec09.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec09.sh new file mode 100755 index 0000000000000000000000000000000000000000..aec8610c1accd74567ba3fcafe600a952908f197 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-019404245 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec10.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec10.sh new file mode 100755 index 0000000000000000000000000000000000000000..7c8de38838d5383e177896c61b31d9fc763e81f1 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-027981718 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec11.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec11.sh new file mode 100755 index 0000000000000000000000000000000000000000..400f4a2a9d2312aab08beb0633d4328fcd6ae04b --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-036583186 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec12.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec12.sh new file mode 100755 index 0000000000000000000000000000000000000000..ed1fa1da34a2a7d1a1064128a8be55c2ef4fec9f --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-045922654 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec13.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec13.sh new file mode 100755 index 0000000000000000000000000000000000000000..11a5afafe2faa0d0efbce2e276040b612c19bac4 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-064407870 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec14.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec14.sh new file mode 100755 index 0000000000000000000000000000000000000000..af3e37e08f8e223c66b059f1c2a7c0d352ae2292 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-073174898 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec15.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec15.sh new file mode 100755 index 0000000000000000000000000000000000000000..00da69704f42a312fec06e359e7e4fdcfc989cb5 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-081776675 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec16.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec16.sh new file mode 100755 index 0000000000000000000000000000000000000000..792aff4fbcaf1fd3ee9b654e4f81af2b08c1f4e7 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-090408300 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec17.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec17.sh new file mode 100755 index 0000000000000000000000000000000000000000..dd44f8b7a4e02c633e1a97a2c2b53509330ae6d5 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-099108342 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec18.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec18.sh new file mode 100755 index 0000000000000000000000000000000000000000..2dca33eaf01994d8f85ed622a498fb4ec210ec18 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-110819519 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec18 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec18 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec19.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec19.sh new file mode 100755 index 0000000000000000000000000000000000000000..613cf88273135570c3f24fbd7f0bc56267c46f29 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec19.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-119380411 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec19 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec19 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec20.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec20.sh new file mode 100755 index 0000000000000000000000000000000000000000..bf8b95592da9e292270efaa78cde12708c87c1f4 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec20.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-128156796 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec20 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec20 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec21.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec21.sh new file mode 100755 index 0000000000000000000000000000000000000000..73735d05280fd8afa8e9467f45d12ecde70ab700 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec21.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-136824678 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec21 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec21 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec22.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec22.sh new file mode 100755 index 0000000000000000000000000000000000000000..fd28e35dc30eb6f952c3f2d33a86eee12dae2880 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec22.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-145525011 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec22 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec22 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec22 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec23.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec23.sh new file mode 100755 index 0000000000000000000000000000000000000000..059f1eaa7f2c06f822514b9da92bff3bf5e2e319 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec23.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-154142398 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec23 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec23 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec23 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec24.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec24.sh new file mode 100755 index 0000000000000000000000000000000000000000..2369b8e21664da698f38a34383321a65319d77b2 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec24.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-162738466 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec24 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec24 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec24 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec25.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec25.sh new file mode 100755 index 0000000000000000000000000000000000000000..f61a9a572017679710a7450b15306bb77f50ca06 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec25.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-171316630 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec25 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec25 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec25 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec26.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec26.sh new file mode 100755 index 0000000000000000000000000000000000000000..2ed68d5d81868a8a5eb6ed8856c2723dd0a09192 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec26.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-179912167 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec26 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec26 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec26 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec27.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec27.sh new file mode 100755 index 0000000000000000000000000000000000000000..9b5c696f0a5e87588ee705d307e5cb9b818d8564 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec27.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-188620595 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec27 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec27 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec27 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec28.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec28.sh new file mode 100755 index 0000000000000000000000000000000000000000..11036d2b71876406848695f3ae9092e216f14416 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec28.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-197390307 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec28 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec28 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec28 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec29.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec29.sh new file mode 100755 index 0000000000000000000000000000000000000000..42e155f7d34689176a5fbd18528683ee87a09309 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec29.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-206333083 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec29 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec29 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec29 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec30.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec30.sh new file mode 100755 index 0000000000000000000000000000000000000000..e09d6d6b57506a434f396186b81359c73a721066 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec30.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-215174491 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec30 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec30 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec30 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec31.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec31.sh new file mode 100755 index 0000000000000000000000000000000000000000..f2fa1ce852b3f1aef3e9655be72413d15efefac4 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec31.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-223793571 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec31 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec31 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec31 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec32.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec32.sh new file mode 100755 index 0000000000000000000000000000000000000000..23bfd8ec90beaf217ec86f179a02ba5db27084b1 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec32.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-232897499 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec32 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec32 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec32 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec33.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec33.sh new file mode 100755 index 0000000000000000000000000000000000000000..89fef52860f6176d923437957597fa4c12549ab9 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec33.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-245951059 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec33 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec33 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec33 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec34.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec34.sh new file mode 100755 index 0000000000000000000000000000000000000000..e029005bfd39449119bc4a3f550d857aaa1d919f --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec34.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-254551966 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec34 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec34 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec34 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec35.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec35.sh new file mode 100755 index 0000000000000000000000000000000000000000..33f85c292f8fc000ab3115aaeb053bc11a2c5f03 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec35.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-263823678 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec35 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec35 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec35 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec36.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec36.sh new file mode 100755 index 0000000000000000000000000000000000000000..555cfa52df5a15d8608a6a2ce5f96169e573f40d --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec36.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-272599362 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec36 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec36 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec36 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti01.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti01.sh new file mode 100755 index 0000000000000000000000000000000000000000..19f7982848c1de71c6ece99a18260d07af418a7f --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-608551569 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec_vti01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti02.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b236b5f29e52da4a38a079d41a14d7ca5689f033 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-617070352 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec_vti02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti04.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti04.sh new file mode 100755 index 0000000000000000000000000000000000000000..ea734d18a44fcf885373552a8ff4979deb408762 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-626788569 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec_vti04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti05.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti05.sh new file mode 100755 index 0000000000000000000000000000000000000000..8d8ea5e02b93b5b873b3c7ec38563bd9032d1551 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-635478773 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec_vti05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti06.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti06.sh new file mode 100755 index 0000000000000000000000000000000000000000..1d9dd97203f92bb5ee66e0ab0d0a4bc8ff58cba0 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-644119113 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec_vti06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti07.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti07.sh new file mode 100755 index 0000000000000000000000000000000000000000..d5f399fb980d00036e22aaf0c6be66ab31b9641b --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-654262567 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec_vti07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti08.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti08.sh new file mode 100755 index 0000000000000000000000000000000000000000..9b6587e2886595c9634f67dbd8ee77fdbbe9e758 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-663112870 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec_vti08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti09.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti09.sh new file mode 100755 index 0000000000000000000000000000000000000000..5c1c749decf1336b247ca1cb8fb50190e0fee165 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-673522061 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec_vti09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti10.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti10.sh new file mode 100755 index 0000000000000000000000000000000000000000..df93dbb576a13a1a287fa785455731ca242d9022 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-682984540 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec_vti10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti11.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti11.sh new file mode 100755 index 0000000000000000000000000000000000000000..e7b8f68452a8458be917334e4916942771b3ff0d --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-691551142 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec_vti11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti12.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti12.sh new file mode 100755 index 0000000000000000000000000000000000000000..4fc9ce6fcdf08d15b36aaae6d4bc2fd686d4b25b --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-701926821 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec_vti12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti13.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti13.sh new file mode 100755 index 0000000000000000000000000000000000000000..58a60c6c5720f60f35366632a6c194d7ae42ec1c --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-712003049 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec_vti13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti14.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti14.sh new file mode 100755 index 0000000000000000000000000000000000000000..2a21dc0abdb0fd42a87b193e94c094a9f2f0b490 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-722378075 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec_vti14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti15.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti15.sh new file mode 100755 index 0000000000000000000000000000000000000000..783510b690cf7c7144f5897d7a1472d432c2c039 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-731134052 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec_vti15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti16.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti16.sh new file mode 100755 index 0000000000000000000000000000000000000000..6c1fa57df6a586305ca1e4709237441cd8bccba2 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-739865893 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec_vti16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti17.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti17.sh new file mode 100755 index 0000000000000000000000000000000000000000..f867f34e46ed069c742d79c028ce68b05bc559c3 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-748488121 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp4_ipsec_vti17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp4_ipsec_vti17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec01.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec01.sh new file mode 100755 index 0000000000000000000000000000000000000000..828502ebf2958df922aa265830d61be19f6de3fb --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-283362004 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec02.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec02.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c51ee185a429fba772048203f4477a29e0458f2 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-292013324 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec03.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec03.sh new file mode 100755 index 0000000000000000000000000000000000000000..4941ef86f170751f0e14d827b50aba17d0158844 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-300550702 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec04.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec04.sh new file mode 100755 index 0000000000000000000000000000000000000000..4480d62cc1ac14514cd27bb6be5c471ed5c4e4e5 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-314768762 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec05.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec05.sh new file mode 100755 index 0000000000000000000000000000000000000000..2fc0efb16777954785d0d06a497a4976442a2c1c --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-323348589 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec06.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec06.sh new file mode 100755 index 0000000000000000000000000000000000000000..42af6f207c1492dff6a92059a9be55e5fb9c255a --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-331884053 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec06 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec07.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec07.sh new file mode 100755 index 0000000000000000000000000000000000000000..803f2b01f3ad5372fb227155d443f6500cbca76e --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-340523963 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec08.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec08.sh new file mode 100755 index 0000000000000000000000000000000000000000..7188860d1bcc22f248cfae7f8c1a878ef99924c1 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-349113848 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec09.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec09.sh new file mode 100755 index 0000000000000000000000000000000000000000..aa72faada16bdc34447cb845310b0c9d3c50a7bb --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-358020738 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec10.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec10.sh new file mode 100755 index 0000000000000000000000000000000000000000..c73fb2c81672360b9ee4d9ea395a185441a23f0a --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-366897150 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec11.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec11.sh new file mode 100755 index 0000000000000000000000000000000000000000..adf1e622f94a9865f9953b7efa04a9f0b9b05d4c --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-375506262 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec12.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec12.sh new file mode 100755 index 0000000000000000000000000000000000000000..1fbe6fff80e9384e24fee9cd94ab51ef42ad013c --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-384176669 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec13.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec13.sh new file mode 100755 index 0000000000000000000000000000000000000000..16cf73f0ddc99c16e4b0c0f0e2664c828b4937c4 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-392762528 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec14.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec14.sh new file mode 100755 index 0000000000000000000000000000000000000000..f1f95a41e43f078c4b37f263c0753a3af8a02487 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-401435699 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec15.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec15.sh new file mode 100755 index 0000000000000000000000000000000000000000..e0c93cbaec8f13e8a510cc75f953942eb9a0aeb3 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-412874918 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec16.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec16.sh new file mode 100755 index 0000000000000000000000000000000000000000..e536abc9a154890daffece378f9e2def145f1004 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-421497796 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec17.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec17.sh new file mode 100755 index 0000000000000000000000000000000000000000..49d7623a43bd8b4569e2e3f2d12acae23adfedae --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-430070870 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec18.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec18.sh new file mode 100755 index 0000000000000000000000000000000000000000..04f66c18f0e9b867a0503a087891f000d39907c3 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-438583692 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec18 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec18 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec19.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec19.sh new file mode 100755 index 0000000000000000000000000000000000000000..74e544be9593ffa5b03a0a8da12939beceeaf492 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec19.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-447187575 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec19 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec19 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec20.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec20.sh new file mode 100755 index 0000000000000000000000000000000000000000..795e5b6b7517827d136c7f8771ee9ff70be236d6 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec20.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-455854715 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec20 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec20 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec21.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec21.sh new file mode 100755 index 0000000000000000000000000000000000000000..c97a6d9fb553269ba4f1f441abc99db3e58ef694 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec21.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-464545009 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec21 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec21 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec22.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec22.sh new file mode 100755 index 0000000000000000000000000000000000000000..3f4392e399fb63185ca1cdbb54ab45e08eb8217d --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec22.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-473344838 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec22 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec22 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec22 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec23.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec23.sh new file mode 100755 index 0000000000000000000000000000000000000000..afd0fce64db1e1072019d013720d1d4851494579 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec23.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-482038789 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec23 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec23 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec23 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec24.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec24.sh new file mode 100755 index 0000000000000000000000000000000000000000..cd545fc833c720cf4de3af7854d914c9775734e5 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec24.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-490715878 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec24 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec24 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec24 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec25.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec25.sh new file mode 100755 index 0000000000000000000000000000000000000000..2ff0a53e5bfb601b4f420534401293b586f9967c --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec25.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-499268163 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec25 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec25 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec25 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec26.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec26.sh new file mode 100755 index 0000000000000000000000000000000000000000..49b40bc7a43c0bf4367359400e59d79bf3931e04 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec26.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-508021596 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec26 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec26 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec26 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec27.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec27.sh new file mode 100755 index 0000000000000000000000000000000000000000..789f6d9b9977beb24d979eec13a29a18e9414e69 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec27.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-516743509 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec27 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec27 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec27 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec28.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec28.sh new file mode 100755 index 0000000000000000000000000000000000000000..c23ff7ad09b01ab3f89d550fc5e4b950cb1dc021 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec28.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-525408847 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec28 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec28 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec28 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec29.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec29.sh new file mode 100755 index 0000000000000000000000000000000000000000..bd14c82e8fc841c5b5c7f941b4813b15d7852fee --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec29.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-534134116 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec29 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec29 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec29 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec30.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec30.sh new file mode 100755 index 0000000000000000000000000000000000000000..c26d3fddf6517e4d023a03778fefd3921ca9f056 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec30.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-542850789 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec30 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec30 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec30 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec31.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec31.sh new file mode 100755 index 0000000000000000000000000000000000000000..116c712d843c41e192be489d09b9b3376b0e3204 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec31.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-551636662 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec31 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec31 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec31 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec32.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec32.sh new file mode 100755 index 0000000000000000000000000000000000000000..563cf6df2975cda50b6fd85a5fa430ffb18eff7b --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec32.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-560370688 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec32 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec32 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec32 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec33.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec33.sh new file mode 100755 index 0000000000000000000000000000000000000000..619d4c0acdad8bfae432006d7c91fa135e288089 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec33.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-568916832 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec33 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec33 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec33 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec34.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec34.sh new file mode 100755 index 0000000000000000000000000000000000000000..ed1373f8b3a66ae1f98d6eed20702fca78b59e3f --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec34.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-578100820 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec34 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec34 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec34 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec35.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec35.sh new file mode 100755 index 0000000000000000000000000000000000000000..c4a66bcbae9fd3984fd21c3e199a2d5641fb4ae9 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec35.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-589329504 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec35 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec35 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec35 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec36.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec36.sh new file mode 100755 index 0000000000000000000000000000000000000000..467266d72f4e909852bdc4a36584077ca0e0d1f5 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec36.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-598061005 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec36 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec36 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec36 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti01.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti01.sh new file mode 100755 index 0000000000000000000000000000000000000000..619282b73ab19e4897903e0c9d39aae89ba054ca --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-759051460 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec_vti01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti02.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti02.sh new file mode 100755 index 0000000000000000000000000000000000000000..9f6a26f6d578e6ecf56cf8ca7f0fcb684ebafaf1 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-768200983 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec_vti02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti04.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti04.sh new file mode 100755 index 0000000000000000000000000000000000000000..3be679d4e07dfa3fd2ed42955a43e218905f9951 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-777932486 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec_vti04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti05.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti05.sh new file mode 100755 index 0000000000000000000000000000000000000000..dac91f5a06d989aaa0091869f469c2e2b976b153 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-788651847 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec_vti05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti06.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti06.sh new file mode 100755 index 0000000000000000000000000000000000000000..bdb737cec2ac0f07d83d259e153fcaccfc7d857a --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-797139352 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec_vti06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti07.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti07.sh new file mode 100755 index 0000000000000000000000000000000000000000..862dd6db1fe0fd412d0887a6e9c3fd35f7002d06 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-805800160 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec_vti07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti08.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti08.sh new file mode 100755 index 0000000000000000000000000000000000000000..0c1486760445adb1d9652ac12c86a51cc7c9942d --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-814517184 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec_vti08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti09.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti09.sh new file mode 100755 index 0000000000000000000000000000000000000000..f30716adb47f5e48f4cfff07591b66a14caf5546 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-824179648 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec_vti09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti10.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti10.sh new file mode 100755 index 0000000000000000000000000000000000000000..3aa7366754d7004fa450eb960551eec20cefacd1 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-833311387 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec_vti10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti11.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti11.sh new file mode 100755 index 0000000000000000000000000000000000000000..4260674cd6bc98229359aca3e673ba57b6d9b49c --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-841980062 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec_vti11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti12.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti12.sh new file mode 100755 index 0000000000000000000000000000000000000000..7f6f1e45ef8d95eff0f9cd1a631fe0fe20771374 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-850668151 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec_vti12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti13.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti13.sh new file mode 100755 index 0000000000000000000000000000000000000000..d3a9056648c6c65260a35839b6a71315c1a29b3b --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-859318199 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec_vti13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti14.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti14.sh new file mode 100755 index 0000000000000000000000000000000000000000..58739f3c2956e8a5924aaa9a7b537bf7da410ec8 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-868061863 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec_vti14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti15.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti15.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5096f4c9083942d446c7ea2d5dc23668b6def42 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-881075859 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec_vti15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti16.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti16.sh new file mode 100755 index 0000000000000000000000000000000000000000..617c44b12f91751644b98aab2df630c6d10fe84c --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-889713364 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec_vti16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti17.sh b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti17.sh new file mode 100755 index 0000000000000000000000000000000000000000..dc995d5f403ae66d92d99ae026213d52ab740ec1 --- /dev/null +++ b/testcase/net_stress.ipsec_sctp/ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-898347313 +# @用例名称: ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_sctp.sctp6_ipsec_vti17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_sctp sctp6_ipsec_vti17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec01.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec01.sh new file mode 100755 index 0000000000000000000000000000000000000000..dc89b235cfe6bb442c4c087b53fc948fc1b5ee94 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-908705067 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec02.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec02.sh new file mode 100755 index 0000000000000000000000000000000000000000..4cf1033fba74fc297f2a38254020958603ca5bbc --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-917192763 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec03.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec03.sh new file mode 100755 index 0000000000000000000000000000000000000000..3916297c322fde2f24e65a1bf495d26be52effde --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-925838142 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec04.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec04.sh new file mode 100755 index 0000000000000000000000000000000000000000..284df06488b3146f6419d94239e02bee156fdaec --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-934362055 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec05.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec05.sh new file mode 100755 index 0000000000000000000000000000000000000000..3f351d04781b2174f9347c786e7c1baa7a54cff5 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-942945568 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec06.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec06.sh new file mode 100755 index 0000000000000000000000000000000000000000..4c7a37dd9178343fee519682c1f9c13629f34c0b --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-951752461 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec07.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec07.sh new file mode 100755 index 0000000000000000000000000000000000000000..3b1d818e90f3ed35b224b076260b2df0d4c084f9 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-960589530 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec08.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec08.sh new file mode 100755 index 0000000000000000000000000000000000000000..893a17b330acc57585d77a2700b2ff6a173b1a1f --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-969381975 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec09.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec09.sh new file mode 100755 index 0000000000000000000000000000000000000000..d9a0d56d1ec7792c738d17031d5c951e0c49ecb2 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-978932489 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec10.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec10.sh new file mode 100755 index 0000000000000000000000000000000000000000..978b6026071d67389987d2c44c6204f8f05ce589 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-987508158 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec11.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec11.sh new file mode 100755 index 0000000000000000000000000000000000000000..e6c1eb2cb9b67eb71ba782ec73f35f537c384fbc --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213006-996191018 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec12.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec12.sh new file mode 100755 index 0000000000000000000000000000000000000000..fcc46773fbf8dc8178d70187563adc7ff5b0d9bd --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-004821059 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec13.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec13.sh new file mode 100755 index 0000000000000000000000000000000000000000..2f5df07e0dfda984e3f7609b717303e1ca4841ff --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-015122318 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec14.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec14.sh new file mode 100755 index 0000000000000000000000000000000000000000..e58821378dccda071bc01d481cf4a609a1dc739f --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-023791873 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec15.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec15.sh new file mode 100755 index 0000000000000000000000000000000000000000..93d963c2467773c63bdd409f7d00424dc5b968f6 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-032454305 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec16.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec16.sh new file mode 100755 index 0000000000000000000000000000000000000000..ffb12935e447db53eef88b05d15e4ac73b2d24d2 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-041041816 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec17.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec17.sh new file mode 100755 index 0000000000000000000000000000000000000000..402984ae96553cbc74dba16fd1f52f34a88a37de --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-049650829 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec18.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec18.sh new file mode 100755 index 0000000000000000000000000000000000000000..ff8b5c391d9f45674b9673cb2047d74c9b27bc20 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-059309915 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec18 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec18 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec19.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec19.sh new file mode 100755 index 0000000000000000000000000000000000000000..c7c4d8d1717d205eb709f90858fc0cdb34d94599 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec19.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-068003857 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec19 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec19 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec20.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec20.sh new file mode 100755 index 0000000000000000000000000000000000000000..692a390bcd7f87981845cce760e125d97d21c02f --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec20.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-076884366 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec20 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec20 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec21.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec21.sh new file mode 100755 index 0000000000000000000000000000000000000000..363889056bfb5594e2bfc8d63332e0bc78065b03 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec21.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-085631206 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec21 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec21 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec22.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec22.sh new file mode 100755 index 0000000000000000000000000000000000000000..9d93f5812bbe147616eafe58e5bc0ab8b8e635c7 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec22.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-094410456 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec22 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec22 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec22 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec23.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec23.sh new file mode 100755 index 0000000000000000000000000000000000000000..135f1be9e5529066b4e3bacce54328003d6ffacc --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec23.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-102965858 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec23 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec23 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec23 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec24.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec24.sh new file mode 100755 index 0000000000000000000000000000000000000000..0ef33f004b5592044df8f20e9215c48c602f8482 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec24.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-115156112 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec24 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec24 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec24 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec25.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec25.sh new file mode 100755 index 0000000000000000000000000000000000000000..d712c968b14ea13152c85c9df415c3924c43bb4c --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec25.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-123957914 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec25 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec25 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec25 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec26.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec26.sh new file mode 100755 index 0000000000000000000000000000000000000000..8e8821d8ff3fb78103147e27d5cfca01bd51282c --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec26.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-132834918 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec26 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec26 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec26 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec27.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec27.sh new file mode 100755 index 0000000000000000000000000000000000000000..238e260b0f3027007f5c6c0100a9974249c826cf --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec27.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-141546903 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec27 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec27 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec27 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec28.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec28.sh new file mode 100755 index 0000000000000000000000000000000000000000..8a21251baeaed1c68e1957fe442cc9554d3fbd54 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec28.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-150196480 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec28 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec28 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec28 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec29.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec29.sh new file mode 100755 index 0000000000000000000000000000000000000000..0d35b620b1296a08e5ed07e0bd1a72ac7e7fe497 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec29.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-158964479 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec29 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec29 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec29 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec30.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec30.sh new file mode 100755 index 0000000000000000000000000000000000000000..974a8d1ae320b4ced60b2220c3d29f968c8b55c4 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec30.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-168428733 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec30 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec30 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec30 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec31.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec31.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5814cdaeced7355829c1085b1e98275543cd1d7 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec31.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-177366379 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec31 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec31 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec31 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec32.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec32.sh new file mode 100755 index 0000000000000000000000000000000000000000..6059faf33422d0881f3fcafd5612dc090a3e75d3 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec32.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-185979258 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec32 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec32 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec32 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec33.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec33.sh new file mode 100755 index 0000000000000000000000000000000000000000..04755af1ad9d56205e47d85a481bdd9606797a1a --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec33.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-194738982 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec33 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec33 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec33 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec34.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec34.sh new file mode 100755 index 0000000000000000000000000000000000000000..05aeb28013b9b2bb23525edeb99a757ab8cfd3fa --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec34.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-203629200 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec34 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec34 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec34 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec35.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec35.sh new file mode 100755 index 0000000000000000000000000000000000000000..7bf8647af2582f41745da03fa786780bf7e1e3af --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec35.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-212438237 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec35 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec35 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec35 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec36.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec36.sh new file mode 100755 index 0000000000000000000000000000000000000000..2f6f8a94ac31c155ef7863fb2bf85033fbdfb315 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec36.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-221056956 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec36 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec36 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec36 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti01.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti01.sh new file mode 100755 index 0000000000000000000000000000000000000000..993f4c2c9d4f14a23492bdb8f9b300fa057db229 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-563949552 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec_vti01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti02.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti02.sh new file mode 100755 index 0000000000000000000000000000000000000000..cd0d4652fabe27dc7ba43ac933ecb6914cc8663f --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-572653672 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec_vti02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti04.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti04.sh new file mode 100755 index 0000000000000000000000000000000000000000..93abdab42c976275ce0904e0154b354561201190 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-582561495 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec_vti04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti05.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti05.sh new file mode 100755 index 0000000000000000000000000000000000000000..20523cb2af4829b6bc3f09c9342e9158dd480dbd --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-591247220 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec_vti05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti06.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti06.sh new file mode 100755 index 0000000000000000000000000000000000000000..af2b069daa6667a40c943f91509eefe7682de7a3 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-599868394 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec_vti06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti07.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti07.sh new file mode 100755 index 0000000000000000000000000000000000000000..4a953ead158fe985b62c09f1e783672ca42202eb --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-608381176 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec_vti07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti08.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti08.sh new file mode 100755 index 0000000000000000000000000000000000000000..70e6f1a8577b881353b03248419180e9d322e857 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-617029772 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec_vti08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti09.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti09.sh new file mode 100755 index 0000000000000000000000000000000000000000..11b75336ab4ab51dd04007712fff302baee82868 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-625663229 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec_vti09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti10.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti10.sh new file mode 100755 index 0000000000000000000000000000000000000000..dbc72c7592cc1db333baef3b51b2c2e0837f72a4 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-634346450 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec_vti10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti11.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti11.sh new file mode 100755 index 0000000000000000000000000000000000000000..6839b313d7616cc06f0f1d83cab8e55646e2fad1 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-643065398 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec_vti11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti12.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti12.sh new file mode 100755 index 0000000000000000000000000000000000000000..39b1e984570762939411791421f6c10aed874d6e --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-651543535 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec_vti12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti13.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti13.sh new file mode 100755 index 0000000000000000000000000000000000000000..7de6fd3e18aa8b23d9342c102abdd778509b160a --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-660333485 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec_vti13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti14.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti14.sh new file mode 100755 index 0000000000000000000000000000000000000000..7de8d2c133f97b1342898049d5dbb8cf69c66a12 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-668961413 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec_vti14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti15.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti15.sh new file mode 100755 index 0000000000000000000000000000000000000000..7bcaf56defbfd0ad485ed2af83277ab7f2af59b1 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-677617963 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec_vti15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti16.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti16.sh new file mode 100755 index 0000000000000000000000000000000000000000..64b65b0b3343c8997a470379beac702f5af8e99d --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-686217477 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec_vti16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti17.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti17.sh new file mode 100755 index 0000000000000000000000000000000000000000..971cc87cfe717283ed0834cfca56c08c6985973f --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-694845314 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp4_ipsec_vti17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp4_ipsec_vti17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec01.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec01.sh new file mode 100755 index 0000000000000000000000000000000000000000..2c7e3e7e849a4ed229e8f949933e3eda3faeda58 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-231622800 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec02.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec02.sh new file mode 100755 index 0000000000000000000000000000000000000000..d61c216c74da0040ce364facdbf09f29c21461d9 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-240339724 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec03.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec03.sh new file mode 100755 index 0000000000000000000000000000000000000000..44a6ce3f4841a43e3dceef51175ad2877c3adf19 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-249435277 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec04.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec04.sh new file mode 100755 index 0000000000000000000000000000000000000000..7b829368597f9d124aabb53d82ebf022ab658c95 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-258214397 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec05.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec05.sh new file mode 100755 index 0000000000000000000000000000000000000000..29f41df9cc2543d3f61603966ccd7f2fab0d2819 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-266862061 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec06.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec06.sh new file mode 100755 index 0000000000000000000000000000000000000000..f3fd612fc30f2e46dad858f93fca0fceb1bb5a13 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-279514280 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec07.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec07.sh new file mode 100755 index 0000000000000000000000000000000000000000..dcc410a78382fa24213df23c345086261e5714a2 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-287997506 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec08.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec08.sh new file mode 100755 index 0000000000000000000000000000000000000000..9a6de028a1ba013fbb81b9f6efb718080320b503 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-296530105 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec09.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec09.sh new file mode 100755 index 0000000000000000000000000000000000000000..64e8aec543861ad2128474b6ba2af65d38764a86 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-305030804 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec10.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec10.sh new file mode 100755 index 0000000000000000000000000000000000000000..8badda859fcc790972883b7b8118732b7cd7447e --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-314133800 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec11.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec11.sh new file mode 100755 index 0000000000000000000000000000000000000000..2a77805b924e1d37a8de509bf346db5ea2b01583 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-322583745 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec12.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec12.sh new file mode 100755 index 0000000000000000000000000000000000000000..cff1a0b3ff110ccdd260e8052efa7c76551ae419 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-331245054 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec13.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec13.sh new file mode 100755 index 0000000000000000000000000000000000000000..545af5149b13ee0cb652b9154831213fbdbba068 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-342315613 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec14.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec14.sh new file mode 100755 index 0000000000000000000000000000000000000000..e66c10dbd0ff97f68484be755430581109497908 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-353083735 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec15.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec15.sh new file mode 100755 index 0000000000000000000000000000000000000000..3eb8da53f9688be86d855345d58594905173a30d --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-365505874 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec16.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec16.sh new file mode 100755 index 0000000000000000000000000000000000000000..064a3ba612ee866dc87ab01b56bdfa0381e54d13 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-375799027 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec17.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec17.sh new file mode 100755 index 0000000000000000000000000000000000000000..80afbcdcf52a47ad91a2bdb491b907c8bcea1d8a --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-384462420 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec18.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec18.sh new file mode 100755 index 0000000000000000000000000000000000000000..5b0e20b1acffbdc0e1f52189a84789876c69ad14 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-393099956 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec18 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec18 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec19.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec19.sh new file mode 100755 index 0000000000000000000000000000000000000000..e50f03d8fda53c4c359cc2e9c466bbe058e49c4b --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec19.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-401627576 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec19 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec19 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec20.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec20.sh new file mode 100755 index 0000000000000000000000000000000000000000..91d8548455acd1c87160305290219cb6de5f21fb --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec20.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-410260051 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec20 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec20 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec21.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec21.sh new file mode 100755 index 0000000000000000000000000000000000000000..c7ece51d51fb5463ade4d5e1746202695be6e9e2 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec21.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-418849597 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec21 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec21 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec22.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec22.sh new file mode 100755 index 0000000000000000000000000000000000000000..2fef1233ff4b234339d6078c8246517dd76ebd2b --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec22.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-427409817 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec22 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec22 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec22 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec23.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec23.sh new file mode 100755 index 0000000000000000000000000000000000000000..381fde3e231f1a0cb6f70171e4cb3c330c36c90c --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec23.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-436036612 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec23 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec23 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec23 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec24.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec24.sh new file mode 100755 index 0000000000000000000000000000000000000000..1e5ebb5d3ebab4e87ad1c59c9f62f93967ad4994 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec24.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-444676521 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec24 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec24 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec24 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec25.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec25.sh new file mode 100755 index 0000000000000000000000000000000000000000..45bbe1b74b7a6e36e489777bcb8f39486cd1c95b --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec25.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-453511717 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec25 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec25 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec25 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec26.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec26.sh new file mode 100755 index 0000000000000000000000000000000000000000..2ac614d1e51b9e78d1a11f565451466354d2b525 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec26.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-464700657 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec26 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec26 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec26 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec27.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec27.sh new file mode 100755 index 0000000000000000000000000000000000000000..4453781f0c7979491662bd02d664e9e5c1a03c35 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec27.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-474244588 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec27 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec27 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec27 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec28.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec28.sh new file mode 100755 index 0000000000000000000000000000000000000000..4ef7c7dc21b2259a78e2fedfd28686c75c8acb7e --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec28.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-482841788 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec28 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec28 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec28 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec29.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec29.sh new file mode 100755 index 0000000000000000000000000000000000000000..43d4e21ab7f072255d879cb07b25a485fc5a1a41 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec29.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-491463585 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec29 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec29 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec29 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec30.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec30.sh new file mode 100755 index 0000000000000000000000000000000000000000..de9afe57e7998a7f85af1bc5a6e7075a5db6f52e --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec30.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-500041487 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec30 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec30 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec30 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec31.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec31.sh new file mode 100755 index 0000000000000000000000000000000000000000..daddc6fa0a50306ca36b6d7803cc303e8d2252d0 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec31.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-508744946 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec31 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec31 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec31 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec32.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec32.sh new file mode 100755 index 0000000000000000000000000000000000000000..e91636eac93cf46ef5a3ccab7bd9b1a2b0c15335 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec32.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-517441773 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec32 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec32 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec32 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec33.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec33.sh new file mode 100755 index 0000000000000000000000000000000000000000..c682d61169e576aed045ff2f7ddbc4d1b5538ba9 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec33.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-526077985 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec33 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec33 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec33 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec34.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec34.sh new file mode 100755 index 0000000000000000000000000000000000000000..6e444db06a9f78971db70dd4a8e678cf65746262 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec34.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-536177747 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec34 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec34 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec34 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec35.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec35.sh new file mode 100755 index 0000000000000000000000000000000000000000..0369b577d2733e07447430fe82916239bdacbce2 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec35.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-544638892 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec35 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec35 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec35 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec36.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec36.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c7076316934c0de291b69558488455d9fdfdeaf --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec36.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-553378138 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec36 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec36 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec36 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti01.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti01.sh new file mode 100755 index 0000000000000000000000000000000000000000..776587748f0ebc684df11a54a11855cc5495da3b --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-705586757 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec_vti01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti02.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti02.sh new file mode 100755 index 0000000000000000000000000000000000000000..0b85405d331b65e0ec88a9b1ae0c54d21208e48f --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-714145815 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec_vti02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti04.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti04.sh new file mode 100755 index 0000000000000000000000000000000000000000..de2b19c988c6dd9ea74d9c74466e153417d1889c --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-723791467 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec_vti04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti05.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti05.sh new file mode 100755 index 0000000000000000000000000000000000000000..344f5748c7e568f4d030f3b2d83dc77cac1420a8 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-732481100 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec_vti05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti06.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti06.sh new file mode 100755 index 0000000000000000000000000000000000000000..1b77e5bd7465b0412c47182d6e52daeb7036e19b --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-741189858 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec_vti06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti07.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti07.sh new file mode 100755 index 0000000000000000000000000000000000000000..dfa104e51d37f6a4fc03f7157f9b01dbad7140ee --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-750018842 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec_vti07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti08.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti08.sh new file mode 100755 index 0000000000000000000000000000000000000000..0c56a7571f629281f4c98baa18320317fae97ed8 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-758534700 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec_vti08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti09.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti09.sh new file mode 100755 index 0000000000000000000000000000000000000000..91137c922b541d21cd3a9c45b9a9fd8b3b0c96bd --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-767243498 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec_vti09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti10.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti10.sh new file mode 100755 index 0000000000000000000000000000000000000000..590934e5e96d4383d71a12720b51b895a4969508 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-775916850 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec_vti10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti11.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti11.sh new file mode 100755 index 0000000000000000000000000000000000000000..e7e040ecd9c343f38aebf53fa85a598816f40f0f --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-784521294 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec_vti11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti12.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti12.sh new file mode 100755 index 0000000000000000000000000000000000000000..44e4b4ab5291e8a035ebd8ef26817bd6339a16e0 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-793268484 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec_vti12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti13.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti13.sh new file mode 100755 index 0000000000000000000000000000000000000000..c7d4b9fc5e1b01335a6cb8115a600a3ad5b3a1bf --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-801822203 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec_vti13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti14.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti14.sh new file mode 100755 index 0000000000000000000000000000000000000000..ac8c1a95e6b8ca7d14de7b8aa3bd6d0945e394fa --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-810536401 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec_vti14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti15.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti15.sh new file mode 100755 index 0000000000000000000000000000000000000000..40a1ada1bf765dbc7db6a54f8a4dec4adf95c8b9 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-819069661 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec_vti15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti16.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti16.sh new file mode 100755 index 0000000000000000000000000000000000000000..c6c4fc2bbd0d7db70151fbdfc20f250db0e65de6 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-827810590 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec_vti16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti17.sh b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti17.sh new file mode 100755 index 0000000000000000000000000000000000000000..81ac75a2a4c375d0f46bad8283293e013c0170d8 --- /dev/null +++ b/testcase/net_stress.ipsec_tcp/ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-836364659 +# @用例名称: ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_tcp.tcp6_ipsec_vti17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_tcp tcp6_ipsec_vti17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec01.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ccf9198208136fd97579455423175398c0ad8200 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-847051118 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec02.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec02.sh new file mode 100755 index 0000000000000000000000000000000000000000..dc08beaeca0a48b283382c79b799a234761af60d --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-859314629 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec03.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec03.sh new file mode 100755 index 0000000000000000000000000000000000000000..dc113bb0de3c9855e703b6f960c6f39c08de4812 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-868202053 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec04.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec04.sh new file mode 100755 index 0000000000000000000000000000000000000000..aaed1e9757d0a3ee56f729dc74b6da072fdb5736 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-876771270 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec05.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec05.sh new file mode 100755 index 0000000000000000000000000000000000000000..6bc69001408f2994142ad3c8e1704f5ef770023c --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-885378178 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec06.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec06.sh new file mode 100755 index 0000000000000000000000000000000000000000..ed567dcf4c07d68a537a6e0d07220eb84f645068 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-894017497 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec07.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec07.sh new file mode 100755 index 0000000000000000000000000000000000000000..79dfe616251b1e86753a14476d857525515f764a --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-902623753 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec08.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec08.sh new file mode 100755 index 0000000000000000000000000000000000000000..b04016ebda6b1312ffe9ce7a04bd2f17fd98961c --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-911244177 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec09.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec09.sh new file mode 100755 index 0000000000000000000000000000000000000000..83aa1f96c0f1cc5bde436783b0e4605848a1d619 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-919848579 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec10.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec10.sh new file mode 100755 index 0000000000000000000000000000000000000000..b7effcb65a4c5b7ba7afe08f497c36c7c6c2beec --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-928327798 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec11.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec11.sh new file mode 100755 index 0000000000000000000000000000000000000000..61793c29cb28daefa77fd32b2b4530eda94c3950 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-937006461 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec12.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec12.sh new file mode 100755 index 0000000000000000000000000000000000000000..1a49bf3ae004d7d26074c2a5eeb201f74861ba45 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-945547635 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec13.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec13.sh new file mode 100755 index 0000000000000000000000000000000000000000..3219f16aa6c0f2fbfd25a33d3a1b05329ce36d7a --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-954085153 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec14.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec14.sh new file mode 100755 index 0000000000000000000000000000000000000000..3fb3b47423785ffccfd3ed31b8234f30f9b5e724 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-963004276 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec15.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec15.sh new file mode 100755 index 0000000000000000000000000000000000000000..af5b72d5eff023f85e01e3a6dc1389793ba4c1a3 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-971764281 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec16.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec16.sh new file mode 100755 index 0000000000000000000000000000000000000000..5c0f524927fb083e1c108be95342d9e26d943256 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-983109373 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec17.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec17.sh new file mode 100755 index 0000000000000000000000000000000000000000..fbd031792e0cc1608112a725263bc8fb078cb98f --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213007-991648102 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec18.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec18.sh new file mode 100755 index 0000000000000000000000000000000000000000..68f8d98fbc45c5bbcdadd0339f7de71d4118fa66 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-000392778 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec18 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec18 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec19.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec19.sh new file mode 100755 index 0000000000000000000000000000000000000000..44604ef28e2748f0953bda5a22ef58c2adaea95d --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec19.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-009048498 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec19 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec19 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec20.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec20.sh new file mode 100755 index 0000000000000000000000000000000000000000..56b4bf2ff5cae5b9d87e1f4118bb4d58bd983713 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec20.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-017712553 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec20 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec20 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec21.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec21.sh new file mode 100755 index 0000000000000000000000000000000000000000..61a7d544be2b9bafab0e69ea1c0e52a9add6a5cf --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec21.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-026492895 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec21 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec21 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec22.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec22.sh new file mode 100755 index 0000000000000000000000000000000000000000..e880bcb5d62cc001df42261351867dd49ba9b744 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec22.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-035107367 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec22 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec22 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec22 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec23.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec23.sh new file mode 100755 index 0000000000000000000000000000000000000000..83289d7bd221989bb1c8162e286a5d4c7a7c17f9 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec23.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-043883070 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec23 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec23 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec23 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec24.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec24.sh new file mode 100755 index 0000000000000000000000000000000000000000..c5604e3f08191c4919d9a43bfc7c98fadc2d63f7 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec24.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-052497242 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec24 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec24 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec24 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec25.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec25.sh new file mode 100755 index 0000000000000000000000000000000000000000..eddc768fcc4144e4f027433ea26c426e0553cd3d --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec25.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-061076890 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec25 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec25 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec25 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec26.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec26.sh new file mode 100755 index 0000000000000000000000000000000000000000..cac86cd6a6273ec2c28224ae20b9b516d4ac04a1 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec26.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-069602214 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec26 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec26 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec26 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec27.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec27.sh new file mode 100755 index 0000000000000000000000000000000000000000..958355e990e7d3cb72e7ea2fd592e7220e5376ac --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec27.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-078267642 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec27 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec27 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec27 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec28.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec28.sh new file mode 100755 index 0000000000000000000000000000000000000000..edf19adef620de48c1c99a9da03a63b8d1474db4 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec28.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-086846958 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec28 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec28 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec28 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec29.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec29.sh new file mode 100755 index 0000000000000000000000000000000000000000..0519ae25e34207a32c0ff5bc3673c390d0fc22bb --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec29.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-095373074 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec29 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec29 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec29 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec30.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec30.sh new file mode 100755 index 0000000000000000000000000000000000000000..c780e9386589078e74a50bc86c232e25f25ecbfa --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec30.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-104070993 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec30 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec30 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec30 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec31.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec31.sh new file mode 100755 index 0000000000000000000000000000000000000000..35761eb187f02c24fe56517bfc144caaf3e458b8 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec31.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-112827541 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec31 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec31 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec31 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec32.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec32.sh new file mode 100755 index 0000000000000000000000000000000000000000..28019c43c2db38406747012018ad69dfae978a53 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec32.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-121745070 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec32 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec32 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec32 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec33.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec33.sh new file mode 100755 index 0000000000000000000000000000000000000000..c63a31572c26ff67c3134d7d2e83f0ea77be3b39 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec33.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-130364922 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec33 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec33 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec33 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec34.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec34.sh new file mode 100755 index 0000000000000000000000000000000000000000..bd17def53c7dcde91b1fbaa60a804df2c6c4d425 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec34.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-138977330 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec34 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec34 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec34 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec35.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec35.sh new file mode 100755 index 0000000000000000000000000000000000000000..71c6c038fd350f326fae624d11f72103da18a693 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec35.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-149066172 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec35 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec35 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec35 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec36.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec36.sh new file mode 100755 index 0000000000000000000000000000000000000000..b7f42c66691704eaf4595c92a8eba63f8ccc6cff --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec36.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-157548497 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec36 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec36 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec36 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti01.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti01.sh new file mode 100755 index 0000000000000000000000000000000000000000..37f6960e24c30a3126faecc126f3da0e14c61b14 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-497845846 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec_vti01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec_vti01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec_vti01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti02.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti02.sh new file mode 100755 index 0000000000000000000000000000000000000000..f122c5f2e4b91cc46a7c09ad0746dcbdff009c6f --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-506414111 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec_vti02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec_vti02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec_vti02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti03.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti03.sh new file mode 100755 index 0000000000000000000000000000000000000000..8842e8132ee3fe3a4424d33cd33d3334c30f185e --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-514931010 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec_vti03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec_vti03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec_vti03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti04.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti04.sh new file mode 100755 index 0000000000000000000000000000000000000000..344bf5ad84d63aa0600ab3d3fce71125c5604904 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-523403758 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec_vti04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec_vti04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec_vti04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti05.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti05.sh new file mode 100755 index 0000000000000000000000000000000000000000..88bbe056a9e58d5c0c6f071109afd09d00c8caf1 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-532103719 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec_vti05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec_vti05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec_vti05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti06.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti06.sh new file mode 100755 index 0000000000000000000000000000000000000000..03ba8e6eef781a89dc62aa971c759613276c584b --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-540661425 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec_vti06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec_vti06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec_vti06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti07.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti07.sh new file mode 100755 index 0000000000000000000000000000000000000000..eb7451f2bd4129826e9e85048797c0f464e648bc --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-549242044 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec_vti07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec_vti07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec_vti07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti08.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti08.sh new file mode 100755 index 0000000000000000000000000000000000000000..5983daf93bbe8ec83afaffcfe49bb2a2994142bc --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-557878187 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec_vti08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec_vti08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec_vti08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti09.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti09.sh new file mode 100755 index 0000000000000000000000000000000000000000..4d82874b43e70b9073591b3f6dd496db31a53e89 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-566835039 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec_vti09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec_vti09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec_vti09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti10.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti10.sh new file mode 100755 index 0000000000000000000000000000000000000000..1caa905e8826bc69e860d8aaf5c70343dc9d76d5 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-575529300 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec_vti10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec_vti10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec_vti10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti11.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti11.sh new file mode 100755 index 0000000000000000000000000000000000000000..ae9a8bdc6efb3fe8db34980939788f580567e818 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-584169711 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec_vti11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec_vti11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec_vti11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti12.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti12.sh new file mode 100755 index 0000000000000000000000000000000000000000..25165a532c7aa930e329c74c35982d1415c2c543 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-593631279 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec_vti12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec_vti12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec_vti12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti13.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti13.sh new file mode 100755 index 0000000000000000000000000000000000000000..b76fdb6b03a25ee9ddd887e4248224663e3ccd0e --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-602465952 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec_vti13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec_vti13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec_vti13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti14.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti14.sh new file mode 100755 index 0000000000000000000000000000000000000000..a605c8c4a2d03fdbda33c6e8c514ac0b0a68fff6 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-614917556 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec_vti14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec_vti14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec_vti14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti15.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti15.sh new file mode 100755 index 0000000000000000000000000000000000000000..9464e1d157e872d2b7b3a80c6104ff1f238453c0 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-623471525 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec_vti15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec_vti15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec_vti15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti16.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti16.sh new file mode 100755 index 0000000000000000000000000000000000000000..64fef7fb21a7db7e2437de6d2ea119f232f99cfa --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-632204178 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec_vti16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec_vti16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec_vti16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti17.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti17.sh new file mode 100755 index 0000000000000000000000000000000000000000..c2f93f3c42f8ffb95507aebfb92b351be7650ac4 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp4_ipsec_vti17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-640804633 +# @用例名称: ltp.net_stress.ipsec_udp.udp4_ipsec_vti17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp4_ipsec_vti17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp4_ipsec_vti17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec01.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4e97167c558dcbb6acb3c5f616b2326035e23213 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-168237621 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec02.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec02.sh new file mode 100755 index 0000000000000000000000000000000000000000..fc018a4e84995dbaa6c5069d8fd69af9e7f55e53 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-176882891 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec03.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec03.sh new file mode 100755 index 0000000000000000000000000000000000000000..7e3e8dbea2a6b32feda764b3c6626b6188f94063 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-185567695 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec04.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec04.sh new file mode 100755 index 0000000000000000000000000000000000000000..1f1a74bd12fb24775b01cbce5a0a36ac59bb84e2 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-195407751 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec05.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec05.sh new file mode 100755 index 0000000000000000000000000000000000000000..d82aad4fdfb388666087f8decfe34a2557d96224 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-204073358 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec06.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec06.sh new file mode 100755 index 0000000000000000000000000000000000000000..aa2719df089f740798ac5041a964cba540e7da97 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-212684825 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec07.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec07.sh new file mode 100755 index 0000000000000000000000000000000000000000..65d4cabb7ab32b5962bb86fd8e9194861e12d042 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-221271474 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec08.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec08.sh new file mode 100755 index 0000000000000000000000000000000000000000..bab1b89f7ccb48ef270c031f8ee87d65425f6a7a --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-232676088 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec09.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec09.sh new file mode 100755 index 0000000000000000000000000000000000000000..3ff82e1070f903fa03585680bbc3853bc4d39de0 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-241481748 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec10.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec10.sh new file mode 100755 index 0000000000000000000000000000000000000000..7d196da2dd37fda82ecf35abaf930861f4685c66 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-252763412 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec11.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec11.sh new file mode 100755 index 0000000000000000000000000000000000000000..f70f61328f01d009b6ac76c005e4c914c1474112 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-261669820 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec12.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec12.sh new file mode 100755 index 0000000000000000000000000000000000000000..ecf07c71dc19293b49b5257175875c125a36e83b --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-270486871 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec13.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec13.sh new file mode 100755 index 0000000000000000000000000000000000000000..b985812505bdc13c83c54a2af5e4d4535426e03c --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-279006326 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec14.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec14.sh new file mode 100755 index 0000000000000000000000000000000000000000..e5346ad119ee0a95acd68d7735d7b36e2438017b --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-287493670 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec15.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec15.sh new file mode 100755 index 0000000000000000000000000000000000000000..35a3245ef27fc55c9d95871fa0b8d93bd7a061f6 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-296044974 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec16.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec16.sh new file mode 100755 index 0000000000000000000000000000000000000000..fed8d9d38875a9ca99c6f3ec828ba3c520bd77b5 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-304466945 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec17.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec17.sh new file mode 100755 index 0000000000000000000000000000000000000000..f8db85f77f43648823141f2f4e1c2abead7397b5 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-316374491 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec18.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec18.sh new file mode 100755 index 0000000000000000000000000000000000000000..d635d6d800f45ae241da63e506ebd8679cf40947 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-329884644 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec18 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec18 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec19.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec19.sh new file mode 100755 index 0000000000000000000000000000000000000000..881c9ff95461225f976037b46b236b08ad9d07b3 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec19.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-338442621 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec19 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec19 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec20.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec20.sh new file mode 100755 index 0000000000000000000000000000000000000000..b68ad96d0db2887e24f6191387116ee67b2dade2 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec20.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-347055871 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec20 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec20 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec21.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec21.sh new file mode 100755 index 0000000000000000000000000000000000000000..f8527d5bc528964a3c007372e3ad219f5cd6738a --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec21.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-355809283 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec21 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec21 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec22.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec22.sh new file mode 100755 index 0000000000000000000000000000000000000000..8f4d5ed529eae6728918f866de4a47ed04065b27 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec22.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-364459632 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec22 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec22 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec22 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec23.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec23.sh new file mode 100755 index 0000000000000000000000000000000000000000..526c0d67500ad37cf3f199b124f0f1a4130f1df4 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec23.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-373244684 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec23 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec23 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec23 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec24.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec24.sh new file mode 100755 index 0000000000000000000000000000000000000000..70c14115f606d658d70b6891c167cbe3a18765c3 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec24.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-381963290 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec24 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec24 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec24 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec25.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec25.sh new file mode 100755 index 0000000000000000000000000000000000000000..102eb4d834cdde4128a1bc4e35bd25a7d8833e70 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec25.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-390620893 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec25 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec25 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec25 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec26.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec26.sh new file mode 100755 index 0000000000000000000000000000000000000000..00b23f48290b28bf28ba8809ffcc4c27e8ee2f80 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec26.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-399161657 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec26 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec26 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec26 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec27.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec27.sh new file mode 100755 index 0000000000000000000000000000000000000000..4813ee8efcb9b40f1ea5d27672a844e832f988ee --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec27.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-408712482 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec27 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec27 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec27 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec28.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec28.sh new file mode 100755 index 0000000000000000000000000000000000000000..91af499c50ba715c8a731f6fcf979fc3f0c210a5 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec28.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-417544581 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec28 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec28 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec28 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec29.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec29.sh new file mode 100755 index 0000000000000000000000000000000000000000..18d9d1441c3b15955acc996c12561e04eac93d22 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec29.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-426186735 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec29 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec29 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec29 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec30.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec30.sh new file mode 100755 index 0000000000000000000000000000000000000000..cef4c6216ee8af92b658a4fd05539feef79065bb --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec30.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-435039142 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec30 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec30 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec30 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec31.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec31.sh new file mode 100755 index 0000000000000000000000000000000000000000..ea8740454860d68679dd7448353f8259c7a96c03 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec31.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-443607919 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec31 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec31 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec31 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec32.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec32.sh new file mode 100755 index 0000000000000000000000000000000000000000..baa8976b25f4eeb0da64884ceda6416df853b8b5 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec32.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-452173499 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec32 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec32 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec32 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec33.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec33.sh new file mode 100755 index 0000000000000000000000000000000000000000..bae634c0f745cc39aeca29ac080c3226a1248597 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec33.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-460928244 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec33 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec33 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec33 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec34.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec34.sh new file mode 100755 index 0000000000000000000000000000000000000000..e96ece38b78d4699cbb0b6b4368c849ed4dad941 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec34.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-469537767 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec34 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec34 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec34 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec35.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec35.sh new file mode 100755 index 0000000000000000000000000000000000000000..8580ed7bc114f6a3cdfa68b5aefbdc891b61753c --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec35.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-478515168 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec35 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec35 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec35 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec36.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec36.sh new file mode 100755 index 0000000000000000000000000000000000000000..c93d5c4935bc54e3879f0c06d409810bc9d49c79 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec36.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-487270163 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec36 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec36 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec36 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti01.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f214b0d7a6b9bb6af73092d8fd22a4fd7c0abe74 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-651397568 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec_vti01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec_vti01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec_vti01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti02.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti02.sh new file mode 100755 index 0000000000000000000000000000000000000000..fa0610aa8e02f35b4d25035ee646175138648510 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-660069078 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec_vti02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec_vti02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec_vti02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti03.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti03.sh new file mode 100755 index 0000000000000000000000000000000000000000..015f08299ebe629f18cf27c442d0b313120217de --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-668630800 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec_vti03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec_vti03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec_vti03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti04.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti04.sh new file mode 100755 index 0000000000000000000000000000000000000000..ffd39cd100bae601d0b5a1da7c5fba03c9daa15d --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-677138472 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec_vti04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec_vti04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec_vti04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti05.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti05.sh new file mode 100755 index 0000000000000000000000000000000000000000..8def95d568bb448eb8b745304884d47753ae395b --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-685612001 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec_vti05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec_vti05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec_vti05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti06.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti06.sh new file mode 100755 index 0000000000000000000000000000000000000000..6ae78170235dca4f6eed00a6bfdffe857be9ff7a --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-694863455 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec_vti06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec_vti06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec_vti06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti07.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti07.sh new file mode 100755 index 0000000000000000000000000000000000000000..f80df4ee622f19f299893ec86f251f84c799f9e7 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-703505038 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec_vti07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec_vti07 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec_vti07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti08.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti08.sh new file mode 100755 index 0000000000000000000000000000000000000000..c33090be2d8c2dce6496c603a2be58bf5206610c --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-716586059 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec_vti08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec_vti08 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec_vti08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti09.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti09.sh new file mode 100755 index 0000000000000000000000000000000000000000..dd677e85fcae26f0b37bb33eef1a3cd9aa8b9f28 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-725213566 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec_vti09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec_vti09 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec_vti09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti10.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti10.sh new file mode 100755 index 0000000000000000000000000000000000000000..266570a2bb4cd05b8b8b7508311d2a468966fde5 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-736342864 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec_vti10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec_vti10 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec_vti10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti11.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti11.sh new file mode 100755 index 0000000000000000000000000000000000000000..7ba6b1b6a2042b3289c7d2bbf404b11099300425 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-744807395 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec_vti11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec_vti11 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec_vti11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti12.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti12.sh new file mode 100755 index 0000000000000000000000000000000000000000..447bf81b8a1600f1e7cbd3e91c80e105bbc349a1 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-753914009 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec_vti12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec_vti12 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec_vti12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti13.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti13.sh new file mode 100755 index 0000000000000000000000000000000000000000..5f602b591d21687c04b2dedaaf6b007f65982dd8 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-762553066 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec_vti13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec_vti13 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec_vti13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti14.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti14.sh new file mode 100755 index 0000000000000000000000000000000000000000..2814c3c54834c422d55fea002d7a9e369148198b --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-771207945 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec_vti14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec_vti14 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec_vti14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti15.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti15.sh new file mode 100755 index 0000000000000000000000000000000000000000..9a694db4c3c2d3fa1e33795954d076b524c98cc8 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-779839177 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec_vti15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec_vti15 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec_vti15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti16.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti16.sh new file mode 100755 index 0000000000000000000000000000000000000000..783a8806324dbe8894d165a650103dbfbaf1fa76 --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-790139475 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec_vti16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec_vti16 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec_vti16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti17.sh b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti17.sh new file mode 100755 index 0000000000000000000000000000000000000000..301e2c9be8d7d73db69ac9031431c895ecf780db --- /dev/null +++ b/testcase/net_stress.ipsec_udp/ltp.net_stress.ipsec_udp.udp6_ipsec_vti17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-798654190 +# @用例名称: ltp.net_stress.ipsec_udp.udp6_ipsec_vti17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.ipsec_udp.udp6_ipsec_vti17 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.ipsec_udp udp6_ipsec_vti17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-group-multiple-socket.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-group-multiple-socket.sh new file mode 100755 index 0000000000000000000000000000000000000000..45c1f9d39eba12e5fd257ecc42e38d0c62bbed9e --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-group-multiple-socket.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-822604864 +# @用例名称: ltp.net_stress.multicast.mcast4-group-multiple-socket +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast4-group-multiple-socket + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast4-group-multiple-socket + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-group-same-group.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-group-same-group.sh new file mode 100755 index 0000000000000000000000000000000000000000..d0900fbb4c930f62c63fcbfdb4d864a8e61735fd --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-group-same-group.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-835960739 +# @用例名称: ltp.net_stress.multicast.mcast4-group-same-group +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast4-group-same-group + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast4-group-same-group + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-group-single-socket.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-group-single-socket.sh new file mode 100755 index 0000000000000000000000000000000000000000..35fdb66e64af22b72615c42db193c1b1a4f9cbf5 --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-group-single-socket.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-814121287 +# @用例名称: ltp.net_stress.multicast.mcast4-group-single-socket +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast4-group-single-socket + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast4-group-single-socket + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-group-source-filter.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-group-source-filter.sh new file mode 100755 index 0000000000000000000000000000000000000000..5f7d2bafd804490f07c6345927b12c7ebd97370d --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-group-source-filter.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-844404892 +# @用例名称: ltp.net_stress.multicast.mcast4-group-source-filter +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast4-group-source-filter + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast4-group-source-filter + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-pktfld01.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-pktfld01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f6e08bc01fcd9ca7948f59c18d989f133b506dbe --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-pktfld01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-852997895 +# @用例名称: ltp.net_stress.multicast.mcast4-pktfld01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast4-pktfld01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast4-pktfld01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-pktfld02.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-pktfld02.sh new file mode 100755 index 0000000000000000000000000000000000000000..3daf3284750639ee0c1a705d866e3207c959c255 --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-pktfld02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-861715039 +# @用例名称: ltp.net_stress.multicast.mcast4-pktfld02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast4-pktfld02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast4-pktfld02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld01.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld01.sh new file mode 100755 index 0000000000000000000000000000000000000000..186b0efc2739457edfca98b91ca48910047fe8cd --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-870377260 +# @用例名称: ltp.net_stress.multicast.mcast4-queryfld01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast4-queryfld01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast4-queryfld01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld02.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld02.sh new file mode 100755 index 0000000000000000000000000000000000000000..a7a162e352788a561c50f25fba221cd83ceaa9f7 --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-879835882 +# @用例名称: ltp.net_stress.multicast.mcast4-queryfld02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast4-queryfld02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast4-queryfld02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld03.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld03.sh new file mode 100755 index 0000000000000000000000000000000000000000..5199d2f42fbb9c7fc47e3215e060bcb9db9fbee4 --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-888287069 +# @用例名称: ltp.net_stress.multicast.mcast4-queryfld03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast4-queryfld03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast4-queryfld03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld04.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld04.sh new file mode 100755 index 0000000000000000000000000000000000000000..3d1140de9438ec174ec15082c87ac76c26960061 --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-896795553 +# @用例名称: ltp.net_stress.multicast.mcast4-queryfld04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast4-queryfld04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast4-queryfld04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld05.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld05.sh new file mode 100755 index 0000000000000000000000000000000000000000..cc526769fdb533cd7ebb5299d96f922b4b0b30c9 --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-905856911 +# @用例名称: ltp.net_stress.multicast.mcast4-queryfld05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast4-queryfld05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast4-queryfld05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld06.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld06.sh new file mode 100755 index 0000000000000000000000000000000000000000..0cf8ec3053ef0539103b0cc7a94f14b101efbf8e --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast4-queryfld06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-914323176 +# @用例名称: ltp.net_stress.multicast.mcast4-queryfld06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast4-queryfld06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast4-queryfld06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-group-multiple-socket.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-group-multiple-socket.sh new file mode 100755 index 0000000000000000000000000000000000000000..9d8662a29613552f87f9f77d02e13ba5c6d17b4b --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-group-multiple-socket.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-933473595 +# @用例名称: ltp.net_stress.multicast.mcast6-group-multiple-socket +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast6-group-multiple-socket + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast6-group-multiple-socket + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-group-same-group.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-group-same-group.sh new file mode 100755 index 0000000000000000000000000000000000000000..499702628d866f79c9d4075e1c9fbf70c82abd96 --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-group-same-group.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-942098347 +# @用例名称: ltp.net_stress.multicast.mcast6-group-same-group +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast6-group-same-group + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast6-group-same-group + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-group-single-socket.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-group-single-socket.sh new file mode 100755 index 0000000000000000000000000000000000000000..b33ffc4b225cdf8515d84adc9dfae8d3e21a794d --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-group-single-socket.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-924878390 +# @用例名称: ltp.net_stress.multicast.mcast6-group-single-socket +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast6-group-single-socket + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast6-group-single-socket + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-group-source-filter.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-group-source-filter.sh new file mode 100755 index 0000000000000000000000000000000000000000..88b9b71c13316ee739f9486881d2d3760c31d85e --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-group-source-filter.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-950653939 +# @用例名称: ltp.net_stress.multicast.mcast6-group-source-filter +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast6-group-source-filter + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast6-group-source-filter + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-pktfld01.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-pktfld01.sh new file mode 100755 index 0000000000000000000000000000000000000000..436c03a47ea21bd95e2f4cc1d412693a75460534 --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-pktfld01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-959211644 +# @用例名称: ltp.net_stress.multicast.mcast6-pktfld01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast6-pktfld01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast6-pktfld01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-pktfld02.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-pktfld02.sh new file mode 100755 index 0000000000000000000000000000000000000000..e74d7de54dcd1af7782f5eef0efc8cf13bbf6f47 --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-pktfld02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-967923810 +# @用例名称: ltp.net_stress.multicast.mcast6-pktfld02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast6-pktfld02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast6-pktfld02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld01.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld01.sh new file mode 100755 index 0000000000000000000000000000000000000000..945701156edaf5e2b4dd00670a575e14f8882fa8 --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-978312311 +# @用例名称: ltp.net_stress.multicast.mcast6-queryfld01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast6-queryfld01 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast6-queryfld01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld02.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld02.sh new file mode 100755 index 0000000000000000000000000000000000000000..17997e2568458b5867d42a8fd0f05d6ffba6d5ce --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-986844279 +# @用例名称: ltp.net_stress.multicast.mcast6-queryfld02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast6-queryfld02 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast6-queryfld02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld03.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld03.sh new file mode 100755 index 0000000000000000000000000000000000000000..90d3272b1606dd96b13674b898e9bfd523b2d2bf --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213008-995374213 +# @用例名称: ltp.net_stress.multicast.mcast6-queryfld03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast6-queryfld03 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast6-queryfld03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld04.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld04.sh new file mode 100755 index 0000000000000000000000000000000000000000..88e60f95d686e118d40c41c96b1039b0f099af3e --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-006253765 +# @用例名称: ltp.net_stress.multicast.mcast6-queryfld04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast6-queryfld04 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast6-queryfld04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld05.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld05.sh new file mode 100755 index 0000000000000000000000000000000000000000..657e1245248fb3b223fb4038fe690e750fe053a3 --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-015192493 +# @用例名称: ltp.net_stress.multicast.mcast6-queryfld05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast6-queryfld05 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast6-queryfld05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld06.sh b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld06.sh new file mode 100755 index 0000000000000000000000000000000000000000..aab8206c28254a2a0dfc57b115adafeed7a4cb96 --- /dev/null +++ b/testcase/net_stress.multicast/ltp.net_stress.multicast.mcast6-queryfld06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-023892335 +# @用例名称: ltp.net_stress.multicast.mcast6-queryfld06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.multicast.mcast6-queryfld06 + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.multicast mcast6-queryfld06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.route/ltp.net_stress.route.route4-change-dst.sh b/testcase/net_stress.route/ltp.net_stress.route.route4-change-dst.sh new file mode 100755 index 0000000000000000000000000000000000000000..3ccb4c8ed67e944230ef9023636e5ed8dc47f1bb --- /dev/null +++ b/testcase/net_stress.route/ltp.net_stress.route.route4-change-dst.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-035219694 +# @用例名称: ltp.net_stress.route.route4-change-dst +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.route.route4-change-dst + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.route route4-change-dst + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.route/ltp.net_stress.route.route4-change-gw.sh b/testcase/net_stress.route/ltp.net_stress.route.route4-change-gw.sh new file mode 100755 index 0000000000000000000000000000000000000000..ef77a3632a8d7fbd94c643fe6809a27db58808df --- /dev/null +++ b/testcase/net_stress.route/ltp.net_stress.route.route4-change-gw.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-043714021 +# @用例名称: ltp.net_stress.route.route4-change-gw +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.route.route4-change-gw + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.route route4-change-gw + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.route/ltp.net_stress.route.route4-change-if.sh b/testcase/net_stress.route/ltp.net_stress.route.route4-change-if.sh new file mode 100755 index 0000000000000000000000000000000000000000..0a488538e03b3443ca031e9a5983975e0f15ea46 --- /dev/null +++ b/testcase/net_stress.route/ltp.net_stress.route.route4-change-if.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-052536282 +# @用例名称: ltp.net_stress.route.route4-change-if +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.route.route4-change-if + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.route route4-change-if + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.route/ltp.net_stress.route.route4-change-netlink-dst.sh b/testcase/net_stress.route/ltp.net_stress.route.route4-change-netlink-dst.sh new file mode 100755 index 0000000000000000000000000000000000000000..9e5902a1ff0764733aae58352091f0d9cab6ca64 --- /dev/null +++ b/testcase/net_stress.route/ltp.net_stress.route.route4-change-netlink-dst.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-061207951 +# @用例名称: ltp.net_stress.route.route4-change-netlink-dst +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.route.route4-change-netlink-dst + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.route route4-change-netlink-dst + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.route/ltp.net_stress.route.route4-change-netlink-gw.sh b/testcase/net_stress.route/ltp.net_stress.route.route4-change-netlink-gw.sh new file mode 100755 index 0000000000000000000000000000000000000000..c6623b4f34345d3f4048006219ed3c73cb95e17a --- /dev/null +++ b/testcase/net_stress.route/ltp.net_stress.route.route4-change-netlink-gw.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-069754256 +# @用例名称: ltp.net_stress.route.route4-change-netlink-gw +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.route.route4-change-netlink-gw + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.route route4-change-netlink-gw + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.route/ltp.net_stress.route.route4-change-netlink-if.sh b/testcase/net_stress.route/ltp.net_stress.route.route4-change-netlink-if.sh new file mode 100755 index 0000000000000000000000000000000000000000..65def9fcfd62cecfcb953f8140b33ed70540ffb7 --- /dev/null +++ b/testcase/net_stress.route/ltp.net_stress.route.route4-change-netlink-if.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-078387933 +# @用例名称: ltp.net_stress.route.route4-change-netlink-if +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.route.route4-change-netlink-if + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.route route4-change-netlink-if + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.route/ltp.net_stress.route.route4-redirect.sh b/testcase/net_stress.route/ltp.net_stress.route.route4-redirect.sh new file mode 100755 index 0000000000000000000000000000000000000000..5b72b4aa9209d75148ed0e68f88f7e00f8582550 --- /dev/null +++ b/testcase/net_stress.route/ltp.net_stress.route.route4-redirect.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-087775052 +# @用例名称: ltp.net_stress.route.route4-redirect +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.route.route4-redirect + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.route route4-redirect + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.route/ltp.net_stress.route.route6-change-dst.sh b/testcase/net_stress.route/ltp.net_stress.route.route6-change-dst.sh new file mode 100755 index 0000000000000000000000000000000000000000..0c1145fbc5db3babee2fd9082e01865fb67f7a6d --- /dev/null +++ b/testcase/net_stress.route/ltp.net_stress.route.route6-change-dst.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-098493762 +# @用例名称: ltp.net_stress.route.route6-change-dst +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.route.route6-change-dst + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.route route6-change-dst + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.route/ltp.net_stress.route.route6-change-gw.sh b/testcase/net_stress.route/ltp.net_stress.route.route6-change-gw.sh new file mode 100755 index 0000000000000000000000000000000000000000..24edca1c0e297cc26c033fedb877c256a6e721c9 --- /dev/null +++ b/testcase/net_stress.route/ltp.net_stress.route.route6-change-gw.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-107409508 +# @用例名称: ltp.net_stress.route.route6-change-gw +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.route.route6-change-gw + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.route route6-change-gw + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.route/ltp.net_stress.route.route6-change-if.sh b/testcase/net_stress.route/ltp.net_stress.route.route6-change-if.sh new file mode 100755 index 0000000000000000000000000000000000000000..53707bffd9d1682b51b16f3694de05fffc327f61 --- /dev/null +++ b/testcase/net_stress.route/ltp.net_stress.route.route6-change-if.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-115891903 +# @用例名称: ltp.net_stress.route.route6-change-if +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.route.route6-change-if + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.route route6-change-if + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.route/ltp.net_stress.route.route6-change-netlink-dst.sh b/testcase/net_stress.route/ltp.net_stress.route.route6-change-netlink-dst.sh new file mode 100755 index 0000000000000000000000000000000000000000..a13d061784c4c847200bb51ed032c54f615bf272 --- /dev/null +++ b/testcase/net_stress.route/ltp.net_stress.route.route6-change-netlink-dst.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-124518898 +# @用例名称: ltp.net_stress.route.route6-change-netlink-dst +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.route.route6-change-netlink-dst + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.route route6-change-netlink-dst + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.route/ltp.net_stress.route.route6-change-netlink-gw.sh b/testcase/net_stress.route/ltp.net_stress.route.route6-change-netlink-gw.sh new file mode 100755 index 0000000000000000000000000000000000000000..70295e7ca0eb32ad69ee05eca5476e622a7f5a4d --- /dev/null +++ b/testcase/net_stress.route/ltp.net_stress.route.route6-change-netlink-gw.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-133086613 +# @用例名称: ltp.net_stress.route.route6-change-netlink-gw +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.route.route6-change-netlink-gw + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.route route6-change-netlink-gw + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.route/ltp.net_stress.route.route6-change-netlink-if.sh b/testcase/net_stress.route/ltp.net_stress.route.route6-change-netlink-if.sh new file mode 100755 index 0000000000000000000000000000000000000000..833252542caf5051fc3b304a83e18486fd1b5a13 --- /dev/null +++ b/testcase/net_stress.route/ltp.net_stress.route.route6-change-netlink-if.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-141712706 +# @用例名称: ltp.net_stress.route.route6-change-netlink-if +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.route.route6-change-netlink-if + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.route route6-change-netlink-if + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/net_stress.route/ltp.net_stress.route.route6-redirect.sh b/testcase/net_stress.route/ltp.net_stress.route.route6-redirect.sh new file mode 100755 index 0000000000000000000000000000000000000000..aa0ba5fb0207f67448b0d5abdbfe8df223c6861d --- /dev/null +++ b/testcase/net_stress.route/ltp.net_stress.route.route6-redirect.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-150352346 +# @用例名称: ltp.net_stress.route.route6-redirect +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.net_stress.route.route6-redirect + # @预期结果:1: 用例返回0 + ltp_run_testcase net_stress.route route6-redirect + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/nptl/ltp.nptl.nptl01.sh b/testcase/nptl/ltp.nptl.nptl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e56d1370649ea5a16b7e020cef8952e7907b1fc8 --- /dev/null +++ b/testcase/nptl/ltp.nptl.nptl01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-732895630 +# @用例名称: ltp.nptl.nptl01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.nptl.nptl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase nptl nptl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.migrate_pages01.sh b/testcase/numa/ltp.numa.migrate_pages01.sh new file mode 100755 index 0000000000000000000000000000000000000000..6697735f3f552459e337a01947b3ae484e91d96d --- /dev/null +++ b/testcase/numa/ltp.numa.migrate_pages01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-746537961 +# @用例名称: ltp.numa.migrate_pages01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.migrate_pages01 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa migrate_pages01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.migrate_pages02.sh b/testcase/numa/ltp.numa.migrate_pages02.sh new file mode 100755 index 0000000000000000000000000000000000000000..1fe4a782da4fa46a0b672f04b3e0956d074e1ae8 --- /dev/null +++ b/testcase/numa/ltp.numa.migrate_pages02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-756406790 +# @用例名称: ltp.numa.migrate_pages02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.migrate_pages02 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa migrate_pages02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.migrate_pages03.sh b/testcase/numa/ltp.numa.migrate_pages03.sh new file mode 100755 index 0000000000000000000000000000000000000000..2e093d5448bfcd9a5ba19882db49afae98e4f020 --- /dev/null +++ b/testcase/numa/ltp.numa.migrate_pages03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-766160294 +# @用例名称: ltp.numa.migrate_pages03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.migrate_pages03 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa migrate_pages03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.move_pages01.sh b/testcase/numa/ltp.numa.move_pages01.sh new file mode 100755 index 0000000000000000000000000000000000000000..dd088ae7826f697f648c74976664ac8fbfdb14da --- /dev/null +++ b/testcase/numa/ltp.numa.move_pages01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-778594655 +# @用例名称: ltp.numa.move_pages01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.move_pages01 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa move_pages01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.move_pages02.sh b/testcase/numa/ltp.numa.move_pages02.sh new file mode 100755 index 0000000000000000000000000000000000000000..583fede9a261c9900b37041dc40c61719db20d14 --- /dev/null +++ b/testcase/numa/ltp.numa.move_pages02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-787233023 +# @用例名称: ltp.numa.move_pages02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.move_pages02 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa move_pages02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.move_pages03.sh b/testcase/numa/ltp.numa.move_pages03.sh new file mode 100755 index 0000000000000000000000000000000000000000..fe3a6c134d8e60da412165477a2cfa57419c0789 --- /dev/null +++ b/testcase/numa/ltp.numa.move_pages03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-795673579 +# @用例名称: ltp.numa.move_pages03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.move_pages03 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa move_pages03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.move_pages04.sh b/testcase/numa/ltp.numa.move_pages04.sh new file mode 100755 index 0000000000000000000000000000000000000000..3365c343f9c847d15009efd3a7ad62938be25a2a --- /dev/null +++ b/testcase/numa/ltp.numa.move_pages04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-804329689 +# @用例名称: ltp.numa.move_pages04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.move_pages04 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa move_pages04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.move_pages05.sh b/testcase/numa/ltp.numa.move_pages05.sh new file mode 100755 index 0000000000000000000000000000000000000000..bad378dba3e6e193a9cf8c593422cd54e460dcbc --- /dev/null +++ b/testcase/numa/ltp.numa.move_pages05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-812882946 +# @用例名称: ltp.numa.move_pages05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.move_pages05 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa move_pages05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.move_pages06.sh b/testcase/numa/ltp.numa.move_pages06.sh new file mode 100755 index 0000000000000000000000000000000000000000..718e5e7975774d00b770646a96ec0cd05937956d --- /dev/null +++ b/testcase/numa/ltp.numa.move_pages06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-821312101 +# @用例名称: ltp.numa.move_pages06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.move_pages06 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa move_pages06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.move_pages07.sh b/testcase/numa/ltp.numa.move_pages07.sh new file mode 100755 index 0000000000000000000000000000000000000000..ddfbd48d4383524086f74ec61e594de00e6a2979 --- /dev/null +++ b/testcase/numa/ltp.numa.move_pages07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-829741256 +# @用例名称: ltp.numa.move_pages07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.move_pages07 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa move_pages07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.move_pages09.sh b/testcase/numa/ltp.numa.move_pages09.sh new file mode 100755 index 0000000000000000000000000000000000000000..a77573768a064c7a7c08c32d372be6894f7ca08b --- /dev/null +++ b/testcase/numa/ltp.numa.move_pages09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-838154843 +# @用例名称: ltp.numa.move_pages09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.move_pages09 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa move_pages09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.move_pages10.sh b/testcase/numa/ltp.numa.move_pages10.sh new file mode 100755 index 0000000000000000000000000000000000000000..19a076812910080c42950688721ce514dbe30597 --- /dev/null +++ b/testcase/numa/ltp.numa.move_pages10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-846803889 +# @用例名称: ltp.numa.move_pages10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.move_pages10 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa move_pages10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.move_pages11.sh b/testcase/numa/ltp.numa.move_pages11.sh new file mode 100755 index 0000000000000000000000000000000000000000..6a49185d400deefcc8ed2aad8b9504eede74dd76 --- /dev/null +++ b/testcase/numa/ltp.numa.move_pages11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-855374469 +# @用例名称: ltp.numa.move_pages11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.move_pages11 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa move_pages11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.move_pages12.sh b/testcase/numa/ltp.numa.move_pages12.sh new file mode 100755 index 0000000000000000000000000000000000000000..91cc2e78e6dee31c7e9e12318eb0a572a61bc5db --- /dev/null +++ b/testcase/numa/ltp.numa.move_pages12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-863896198 +# @用例名称: ltp.numa.move_pages12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.move_pages12 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa move_pages12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.numa_testcases.sh b/testcase/numa/ltp.numa.numa_testcases.sh new file mode 100755 index 0000000000000000000000000000000000000000..132ac414b4aaf43286f2a04fdc66c7f883d2bb5b --- /dev/null +++ b/testcase/numa/ltp.numa.numa_testcases.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-874409093 +# @用例名称: ltp.numa.numa_testcases +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.numa_testcases + # @预期结果:1: 用例返回0 + ltp_run_testcase numa numa_testcases + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.set_mempolicy01.sh b/testcase/numa/ltp.numa.set_mempolicy01.sh new file mode 100755 index 0000000000000000000000000000000000000000..b66a2324d430322725a44129ddead3fdac914413 --- /dev/null +++ b/testcase/numa/ltp.numa.set_mempolicy01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-884832269 +# @用例名称: ltp.numa.set_mempolicy01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.set_mempolicy01 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa set_mempolicy01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.set_mempolicy02.sh b/testcase/numa/ltp.numa.set_mempolicy02.sh new file mode 100755 index 0000000000000000000000000000000000000000..d45a033faf83727730ba48c6f45e07a1ed2dd04c --- /dev/null +++ b/testcase/numa/ltp.numa.set_mempolicy02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-893537863 +# @用例名称: ltp.numa.set_mempolicy02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.set_mempolicy02 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa set_mempolicy02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.set_mempolicy03.sh b/testcase/numa/ltp.numa.set_mempolicy03.sh new file mode 100755 index 0000000000000000000000000000000000000000..48688952bd0548e52c881fadeef69a192ee17467 --- /dev/null +++ b/testcase/numa/ltp.numa.set_mempolicy03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-902075701 +# @用例名称: ltp.numa.set_mempolicy03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.set_mempolicy03 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa set_mempolicy03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.set_mempolicy04.sh b/testcase/numa/ltp.numa.set_mempolicy04.sh new file mode 100755 index 0000000000000000000000000000000000000000..82f35113918c8a720e94d68f6071e7ab5ea47787 --- /dev/null +++ b/testcase/numa/ltp.numa.set_mempolicy04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-910760585 +# @用例名称: ltp.numa.set_mempolicy04 +# @用例级别: 1 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.set_mempolicy04 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa set_mempolicy04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/numa/ltp.numa.set_mempolicy05.sh b/testcase/numa/ltp.numa.set_mempolicy05.sh new file mode 100755 index 0000000000000000000000000000000000000000..9cb72e93ed8b599c010be9448a26db1df75b68ce --- /dev/null +++ b/testcase/numa/ltp.numa.set_mempolicy05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-919308001 +# @用例名称: ltp.numa.set_mempolicy05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.numa.set_mempolicy05 + # @预期结果:1: 用例返回0 + ltp_run_testcase numa set_mempolicy05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/power_management_tests/ltp.power_management_tests.runpwtests01.sh b/testcase/power_management_tests/ltp.power_management_tests.runpwtests01.sh new file mode 100755 index 0000000000000000000000000000000000000000..760958a5f5db3da263740816ab7aee2228484d87 --- /dev/null +++ b/testcase/power_management_tests/ltp.power_management_tests.runpwtests01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-930510327 +# @用例名称: ltp.power_management_tests.runpwtests01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.power_management_tests.runpwtests01 + # @预期结果:1: 用例返回0 + ltp_run_testcase power_management_tests runpwtests01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/power_management_tests/ltp.power_management_tests.runpwtests02.sh b/testcase/power_management_tests/ltp.power_management_tests.runpwtests02.sh new file mode 100755 index 0000000000000000000000000000000000000000..365e184fcdd490323560b5d459056ed75f921882 --- /dev/null +++ b/testcase/power_management_tests/ltp.power_management_tests.runpwtests02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-939204407 +# @用例名称: ltp.power_management_tests.runpwtests02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.power_management_tests.runpwtests02 + # @预期结果:1: 用例返回0 + ltp_run_testcase power_management_tests runpwtests02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/power_management_tests/ltp.power_management_tests.runpwtests03.sh b/testcase/power_management_tests/ltp.power_management_tests.runpwtests03.sh new file mode 100755 index 0000000000000000000000000000000000000000..21b908f4d06156675a3bad42ca200a2ad8e210b6 --- /dev/null +++ b/testcase/power_management_tests/ltp.power_management_tests.runpwtests03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-947800025 +# @用例名称: ltp.power_management_tests.runpwtests03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.power_management_tests.runpwtests03 + # @预期结果:1: 用例返回0 + ltp_run_testcase power_management_tests runpwtests03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/power_management_tests/ltp.power_management_tests.runpwtests04.sh b/testcase/power_management_tests/ltp.power_management_tests.runpwtests04.sh new file mode 100755 index 0000000000000000000000000000000000000000..47342e49e1f21d23c3b245f0abbfb7f72f63959a --- /dev/null +++ b/testcase/power_management_tests/ltp.power_management_tests.runpwtests04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-956343504 +# @用例名称: ltp.power_management_tests.runpwtests04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.power_management_tests.runpwtests04 + # @预期结果:1: 用例返回0 + ltp_run_testcase power_management_tests runpwtests04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/power_management_tests/ltp.power_management_tests.runpwtests06.sh b/testcase/power_management_tests/ltp.power_management_tests.runpwtests06.sh new file mode 100755 index 0000000000000000000000000000000000000000..562fdd5ac0b0811fc8c06aaa2995218a2582c096 --- /dev/null +++ b/testcase/power_management_tests/ltp.power_management_tests.runpwtests06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-965944732 +# @用例名称: ltp.power_management_tests.runpwtests06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.power_management_tests.runpwtests06 + # @预期结果:1: 用例返回0 + ltp_run_testcase power_management_tests runpwtests06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/power_management_tests_exclusive/ltp.power_management_tests_exclusive.runpwtests_exclusive01.sh b/testcase/power_management_tests_exclusive/ltp.power_management_tests_exclusive.runpwtests_exclusive01.sh new file mode 100755 index 0000000000000000000000000000000000000000..04a8dedcf6d413ab0dad053b2e7d5a5f4792627e --- /dev/null +++ b/testcase/power_management_tests_exclusive/ltp.power_management_tests_exclusive.runpwtests_exclusive01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-977421652 +# @用例名称: ltp.power_management_tests_exclusive.runpwtests_exclusive01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.power_management_tests_exclusive.runpwtests_exclusive01 + # @预期结果:1: 用例返回0 + ltp_run_testcase power_management_tests_exclusive runpwtests_exclusive01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/power_management_tests_exclusive/ltp.power_management_tests_exclusive.runpwtests_exclusive02.sh b/testcase/power_management_tests_exclusive/ltp.power_management_tests_exclusive.runpwtests_exclusive02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ae5d801942f86135d2d4273cd1c671e34b7c8a39 --- /dev/null +++ b/testcase/power_management_tests_exclusive/ltp.power_management_tests_exclusive.runpwtests_exclusive02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-985995738 +# @用例名称: ltp.power_management_tests_exclusive.runpwtests_exclusive02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.power_management_tests_exclusive.runpwtests_exclusive02 + # @预期结果:1: 用例返回0 + ltp_run_testcase power_management_tests_exclusive runpwtests_exclusive02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/power_management_tests_exclusive/ltp.power_management_tests_exclusive.runpwtests_exclusive03.sh b/testcase/power_management_tests_exclusive/ltp.power_management_tests_exclusive.runpwtests_exclusive03.sh new file mode 100755 index 0000000000000000000000000000000000000000..458905e774fb491423c2c165d9fb4d1cd39097b8 --- /dev/null +++ b/testcase/power_management_tests_exclusive/ltp.power_management_tests_exclusive.runpwtests_exclusive03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213009-994633073 +# @用例名称: ltp.power_management_tests_exclusive.runpwtests_exclusive03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.power_management_tests_exclusive.runpwtests_exclusive03 + # @预期结果:1: 用例返回0 + ltp_run_testcase power_management_tests_exclusive runpwtests_exclusive03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/power_management_tests_exclusive/ltp.power_management_tests_exclusive.runpwtests_exclusive04.sh b/testcase/power_management_tests_exclusive/ltp.power_management_tests_exclusive.runpwtests_exclusive04.sh new file mode 100755 index 0000000000000000000000000000000000000000..5f24275dbea96ee1247d1760459f2ed762fc8c2d --- /dev/null +++ b/testcase/power_management_tests_exclusive/ltp.power_management_tests_exclusive.runpwtests_exclusive04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-003334047 +# @用例名称: ltp.power_management_tests_exclusive.runpwtests_exclusive04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.power_management_tests_exclusive.runpwtests_exclusive04 + # @预期结果:1: 用例返回0 + ltp_run_testcase power_management_tests_exclusive runpwtests_exclusive04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/power_management_tests_exclusive/ltp.power_management_tests_exclusive.runpwtests_exclusive05.sh b/testcase/power_management_tests_exclusive/ltp.power_management_tests_exclusive.runpwtests_exclusive05.sh new file mode 100755 index 0000000000000000000000000000000000000000..e5621c49202bffce8cc4e836018c5947e0734944 --- /dev/null +++ b/testcase/power_management_tests_exclusive/ltp.power_management_tests_exclusive.runpwtests_exclusive05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-011812494 +# @用例名称: ltp.power_management_tests_exclusive.runpwtests_exclusive05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.power_management_tests_exclusive.runpwtests_exclusive05 + # @预期结果:1: 用例返回0 + ltp_run_testcase power_management_tests_exclusive runpwtests_exclusive05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/pty/ltp.pty.hangup01.sh b/testcase/pty/ltp.pty.hangup01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c5d5494368bb34309aac2462de29db910df5e127 --- /dev/null +++ b/testcase/pty/ltp.pty.hangup01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-077518844 +# @用例名称: ltp.pty.hangup01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.pty.hangup01 + # @预期结果:1: 用例返回0 + ltp_run_testcase pty hangup01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/pty/ltp.pty.ptem01.sh b/testcase/pty/ltp.pty.ptem01.sh new file mode 100755 index 0000000000000000000000000000000000000000..40bfaf83486acf4ca176df3ed810b1e7e37d0195 --- /dev/null +++ b/testcase/pty/ltp.pty.ptem01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-068895505 +# @用例名称: ltp.pty.ptem01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.pty.ptem01 + # @预期结果:1: 用例返回0 + ltp_run_testcase pty ptem01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/pty/ltp.pty.ptem02.sh b/testcase/pty/ltp.pty.ptem02.sh new file mode 100755 index 0000000000000000000000000000000000000000..eaebde7579e64e1054b6cc68a4805490b5a1f583 --- /dev/null +++ b/testcase/pty/ltp.pty.ptem02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110836-663010328 +# @用例名称: ltp.pty.ptem02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.pty.ptem02 + # @预期结果:1: 用例返回0 + ltp_run_testcase pty ptem02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/pty/ltp.pty.ptem03.sh b/testcase/pty/ltp.pty.ptem03.sh new file mode 100755 index 0000000000000000000000000000000000000000..6c91fc737d16aece48311268f115b110cd9d9d84 --- /dev/null +++ b/testcase/pty/ltp.pty.ptem03.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110836-748653147 +# @用例名称: ltp.pty.ptem03 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.pty.ptem03 + # @预期结果:1: 用例返回0 + ltp_run_testcase pty ptem03 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/pty/ltp.pty.ptem04.sh b/testcase/pty/ltp.pty.ptem04.sh new file mode 100755 index 0000000000000000000000000000000000000000..608878cf5a8942a17633ba9675c7f783bc4d14fa --- /dev/null +++ b/testcase/pty/ltp.pty.ptem04.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110836-832461278 +# @用例名称: ltp.pty.ptem04 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.pty.ptem04 + # @预期结果:1: 用例返回0 + ltp_run_testcase pty ptem04 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/pty/ltp.pty.ptem05.sh b/testcase/pty/ltp.pty.ptem05.sh new file mode 100755 index 0000000000000000000000000000000000000000..1162bb6094d4273c557ed36eb3efa025082020ef --- /dev/null +++ b/testcase/pty/ltp.pty.ptem05.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110836-918700105 +# @用例名称: ltp.pty.ptem05 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.pty.ptem05 + # @预期结果:1: 用例返回0 + ltp_run_testcase pty ptem05 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/pty/ltp.pty.ptem06.sh b/testcase/pty/ltp.pty.ptem06.sh new file mode 100755 index 0000000000000000000000000000000000000000..d8c65f6f9f20f388e4e6cedce0df56db73eecb4a --- /dev/null +++ b/testcase/pty/ltp.pty.ptem06.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110837-003606882 +# @用例名称: ltp.pty.ptem06 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.pty.ptem06 + # @预期结果:1: 用例返回0 + ltp_run_testcase pty ptem06 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/pty/ltp.pty.pty01.sh b/testcase/pty/ltp.pty.pty01.sh new file mode 100755 index 0000000000000000000000000000000000000000..1dc79aa4f800007c4a1ef8f4231474974ff1e72f --- /dev/null +++ b/testcase/pty/ltp.pty.pty01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-023123963 +# @用例名称: ltp.pty.pty01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.pty.pty01 + # @预期结果:1: 用例返回0 + ltp_run_testcase pty pty01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/pty/ltp.pty.pty02.sh b/testcase/pty/ltp.pty.pty02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b11aebad53cd67a0290128561b37ddf12627b4f7 --- /dev/null +++ b/testcase/pty/ltp.pty.pty02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-031885892 +# @用例名称: ltp.pty.pty02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.pty.pty02 + # @预期结果:1: 用例返回0 + ltp_run_testcase pty pty02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/pty/ltp.pty.pty03.sh b/testcase/pty/ltp.pty.pty03.sh new file mode 100755 index 0000000000000000000000000000000000000000..83c05a7bd47345643bc564facc575c47046c5f6a --- /dev/null +++ b/testcase/pty/ltp.pty.pty03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-040346686 +# @用例名称: ltp.pty.pty03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.pty.pty03 + # @预期结果:1: 用例返回0 + ltp_run_testcase pty pty03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/pty/ltp.pty.pty04.sh b/testcase/pty/ltp.pty.pty04.sh new file mode 100755 index 0000000000000000000000000000000000000000..ae51cc4c51d0ddfaf51c8fe90dbd9383675d912d --- /dev/null +++ b/testcase/pty/ltp.pty.pty04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-049042390 +# @用例名称: ltp.pty.pty04 +# @用例级别: 3 +# @用例标签: aarch64不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.pty.pty04 + # @预期结果:1: 用例返回0 + ltp_run_testcase pty pty04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/pty/ltp.pty.pty05.sh b/testcase/pty/ltp.pty.pty05.sh new file mode 100755 index 0000000000000000000000000000000000000000..4c9b8a8aa975bc00b77a5660858adf7330dd49b7 --- /dev/null +++ b/testcase/pty/ltp.pty.pty05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-057548038 +# @用例名称: ltp.pty.pty05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.pty.pty05 + # @预期结果:1: 用例返回0 + ltp_run_testcase pty pty05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/pty/ltp.pty.pty06.sh b/testcase/pty/ltp.pty.pty06.sh new file mode 100755 index 0000000000000000000000000000000000000000..62a23c627ebf4e26801e5e5531030be850ebc48c --- /dev/null +++ b/testcase/pty/ltp.pty.pty06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141851-036049242 +# @用例名称: ltp.pty.pty06 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.pty.pty06 + # @预期结果:1: 用例返回0 + ltp_run_testcase pty pty06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/pty/ltp.pty.pty07.sh b/testcase/pty/ltp.pty.pty07.sh new file mode 100755 index 0000000000000000000000000000000000000000..ecd67373903561a69972aceca6dcdd6a98565e7f --- /dev/null +++ b/testcase/pty/ltp.pty.pty07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141851-099195750 +# @用例名称: ltp.pty.pty07 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.pty.pty07 + # @预期结果:1: 用例返回0 + ltp_run_testcase pty pty07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/pty/ltp.pty.pty08.sh b/testcase/pty/ltp.pty.pty08.sh new file mode 100755 index 0000000000000000000000000000000000000000..55b4e3667b89a08a3e6c090d17f158cd3c3be525 --- /dev/null +++ b/testcase/pty/ltp.pty.pty08.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110836-489060726 +# @用例名称: ltp.pty.pty08 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.pty.pty08 + # @预期结果:1: 用例返回0 + ltp_run_testcase pty pty08 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/pty/ltp.pty.pty09.sh b/testcase/pty/ltp.pty.pty09.sh new file mode 100755 index 0000000000000000000000000000000000000000..d3d21bf9e4a0c8cc17d07b7aa1e9ee9f5d7e3aec --- /dev/null +++ b/testcase/pty/ltp.pty.pty09.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110836-575315593 +# @用例名称: ltp.pty.pty09 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.pty.pty09 + # @预期结果:1: 用例返回0 + ltp_run_testcase pty pty09 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/s390x_tests/ltp.s390x_tests.vmcp.sh b/testcase/s390x_tests/ltp.s390x_tests.vmcp.sh new file mode 100755 index 0000000000000000000000000000000000000000..0468eb3f87f51024286cb136627bf38f5c4e2a33 --- /dev/null +++ b/testcase/s390x_tests/ltp.s390x_tests.vmcp.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-090980688 +# @用例名称: ltp.s390x_tests.vmcp +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.s390x_tests.vmcp + # @预期结果:1: 用例返回0 + ltp_run_testcase s390x_tests vmcp + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/sched/ltp.sched.autogroup01.sh b/testcase/sched/ltp.sched.autogroup01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ed92befa7ce274abc9ae903c740887ce1466ebfd --- /dev/null +++ b/testcase/sched/ltp.sched.autogroup01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-200303376 +# @用例名称: ltp.sched.autogroup01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.sched.autogroup01 + # @预期结果:1: 用例返回0 + ltp_run_testcase sched autogroup01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/sched/ltp.sched.cfs_bandwidth01.sh b/testcase/sched/ltp.sched.cfs_bandwidth01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7db8a89a3f8b0f825892be8b286e974b67fee205 --- /dev/null +++ b/testcase/sched/ltp.sched.cfs_bandwidth01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-149348183 +# @用例名称: ltp.sched.cfs_bandwidth01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.sched.cfs_bandwidth01 + # @预期结果:1: 用例返回0 + ltp_run_testcase sched cfs_bandwidth01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/sched/ltp.sched.hackbench01.sh b/testcase/sched/ltp.sched.hackbench01.sh new file mode 100755 index 0000000000000000000000000000000000000000..75bda4e69ca991a52c359531a5304f7f15ff94e8 --- /dev/null +++ b/testcase/sched/ltp.sched.hackbench01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-157987401 +# @用例名称: ltp.sched.hackbench01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.sched.hackbench01 + # @预期结果:1: 用例返回0 + ltp_run_testcase sched hackbench01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/sched/ltp.sched.hackbench02.sh b/testcase/sched/ltp.sched.hackbench02.sh new file mode 100755 index 0000000000000000000000000000000000000000..dbbf34c8e81c37b474d757fcaf403cc9f908751d --- /dev/null +++ b/testcase/sched/ltp.sched.hackbench02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-166661444 +# @用例名称: ltp.sched.hackbench02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.sched.hackbench02 + # @预期结果:1: 用例返回0 + ltp_run_testcase sched hackbench02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/sched/ltp.sched.proc_sched_rt01.sh b/testcase/sched/ltp.sched.proc_sched_rt01.sh new file mode 100755 index 0000000000000000000000000000000000000000..11740a6eef57197be5fa0984625271aa20f1d600 --- /dev/null +++ b/testcase/sched/ltp.sched.proc_sched_rt01.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172837-647431541 +# @用例名称: ltp.sched.proc_sched_rt01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.sched.proc_sched_rt01 + # @预期结果:1: 用例返回0 + ltp_run_testcase sched proc_sched_rt01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/sched/ltp.sched.pth_str01.sh b/testcase/sched/ltp.sched.pth_str01.sh new file mode 100755 index 0000000000000000000000000000000000000000..89870a95db14825e05ac8a1d3ee98b0a5a067856 --- /dev/null +++ b/testcase/sched/ltp.sched.pth_str01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-102290034 +# @用例名称: ltp.sched.pth_str01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.sched.pth_str01 + # @预期结果:1: 用例返回0 + ltp_run_testcase sched pth_str01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/sched/ltp.sched.pth_str02.sh b/testcase/sched/ltp.sched.pth_str02.sh new file mode 100755 index 0000000000000000000000000000000000000000..8417a86e0f5ca2616dcef23e49c14247f069bc80 --- /dev/null +++ b/testcase/sched/ltp.sched.pth_str02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-111066829 +# @用例名称: ltp.sched.pth_str02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.sched.pth_str02 + # @预期结果:1: 用例返回0 + ltp_run_testcase sched pth_str02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/sched/ltp.sched.pth_str03.sh b/testcase/sched/ltp.sched.pth_str03.sh new file mode 100755 index 0000000000000000000000000000000000000000..19309a5bccfdff837f9a9cac82148c9817d4b033 --- /dev/null +++ b/testcase/sched/ltp.sched.pth_str03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-119610408 +# @用例名称: ltp.sched.pth_str03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.sched.pth_str03 + # @预期结果:1: 用例返回0 + ltp_run_testcase sched pth_str03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/sched/ltp.sched.sched_cli_serv.sh b/testcase/sched/ltp.sched.sched_cli_serv.sh new file mode 100755 index 0000000000000000000000000000000000000000..b300c81052af5add41ad6195d5532c612544b349 --- /dev/null +++ b/testcase/sched/ltp.sched.sched_cli_serv.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-177453473 +# @用例名称: ltp.sched.sched_cli_serv +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.sched.sched_cli_serv + # @预期结果:1: 用例返回0 + ltp_run_testcase sched sched_cli_serv + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/sched/ltp.sched.sched_football.sh b/testcase/sched/ltp.sched.sched_football.sh new file mode 100755 index 0000000000000000000000000000000000000000..cb579b4a699ac08aaffe6975209aa4dd6fad1389 --- /dev/null +++ b/testcase/sched/ltp.sched.sched_football.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110837-090360966 +# @用例名称: ltp.sched.sched_football +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.sched.sched_football + # @预期结果:1: 用例返回0 + ltp_run_testcase sched sched_football + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/sched/ltp.sched.sched_stress.sh b/testcase/sched/ltp.sched.sched_stress.sh new file mode 100755 index 0000000000000000000000000000000000000000..ea21a8072bdd2dab3890ff332273759bf6e64f33 --- /dev/null +++ b/testcase/sched/ltp.sched.sched_stress.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-187086200 +# @用例名称: ltp.sched.sched_stress +# @用例级别: 3 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.sched.sched_stress + # @预期结果:1: 用例返回0 + ltp_run_testcase sched sched_stress + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/sched/ltp.sched.starvation.sh b/testcase/sched/ltp.sched.starvation.sh new file mode 100755 index 0000000000000000000000000000000000000000..2a7adce6d489dc66f5250b451caf6becda524ac4 --- /dev/null +++ b/testcase/sched/ltp.sched.starvation.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172837-573279225 +# @用例名称: ltp.sched.starvation +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.sched.starvation + # @预期结果:1: 用例返回0 + ltp_run_testcase sched starvation + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/sched/ltp.sched.time-schedule01.sh b/testcase/sched/ltp.sched.time-schedule01.sh new file mode 100755 index 0000000000000000000000000000000000000000..25c4b76a6bb629ed64b0792e042858f40017497f --- /dev/null +++ b/testcase/sched/ltp.sched.time-schedule01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-130304784 +# @用例名称: ltp.sched.time-schedule01 +# @用例级别: 1 +# @用例标签: TK5不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.sched.time-schedule01 + # @预期结果:1: 用例返回0 + ltp_run_testcase sched time-schedule01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/sched/ltp.sched.trace_sched01.sh b/testcase/sched/ltp.sched.trace_sched01.sh new file mode 100755 index 0000000000000000000000000000000000000000..30574fb196227dd3f53d809e83876968afe1c0cc --- /dev/null +++ b/testcase/sched/ltp.sched.trace_sched01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-138821322 +# @用例名称: ltp.sched.trace_sched01 +# @用例级别: 1 +# @用例标签: TK5不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.sched.trace_sched01 + # @预期结果:1: 用例返回0 + ltp_run_testcase sched trace_sched01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf101.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf101.sh new file mode 100755 index 0000000000000000000000000000000000000000..5f84f1d4c25d54205f6ebdf5c44a7d58145f1e11 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf101.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-140998122 +# @用例名称: ltp.scsi_debug.part1.gf101 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf101 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf101 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf102.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf102.sh new file mode 100755 index 0000000000000000000000000000000000000000..8048552c97631ff9f34cdc60e4329a8c3c1a8efb --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf102.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-149559385 +# @用例名称: ltp.scsi_debug.part1.gf102 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf102 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf102 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf103.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf103.sh new file mode 100755 index 0000000000000000000000000000000000000000..fd7f1e8d64d0dcfba3d2403eadf2d822377c07ba --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf103.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-158260419 +# @用例名称: ltp.scsi_debug.part1.gf103 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf103 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf103 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf104.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf104.sh new file mode 100755 index 0000000000000000000000000000000000000000..6d140a27ae421fa7e3a5a62f491c9dfa0f10bc26 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf104.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-167159735 +# @用例名称: ltp.scsi_debug.part1.gf104 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf104 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf104 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf105.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf105.sh new file mode 100755 index 0000000000000000000000000000000000000000..0690d523c28d930ce4175f590fe05bc0eff27c77 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf105.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-179095512 +# @用例名称: ltp.scsi_debug.part1.gf105 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf105 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf105 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf106.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf106.sh new file mode 100755 index 0000000000000000000000000000000000000000..c3dabd1f9b35f4703b1ce67c9794fd453787b39b --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf106.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-189514502 +# @用例名称: ltp.scsi_debug.part1.gf106 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf106 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf106 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf107.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf107.sh new file mode 100755 index 0000000000000000000000000000000000000000..6f66043adf8613ab0ea0296812f1ad6e18043ad4 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf107.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-198123904 +# @用例名称: ltp.scsi_debug.part1.gf107 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf107 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf107 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf108.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf108.sh new file mode 100755 index 0000000000000000000000000000000000000000..bc9ab3e7bf07408876b36b9528ac10f2395c7849 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf108.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-206772420 +# @用例名称: ltp.scsi_debug.part1.gf108 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf108 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf108 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf109.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf109.sh new file mode 100755 index 0000000000000000000000000000000000000000..c0279206b90bd72820a91ba34c3491f60cac75f3 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf109.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-215354972 +# @用例名称: ltp.scsi_debug.part1.gf109 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf109 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf109 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf110.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf110.sh new file mode 100755 index 0000000000000000000000000000000000000000..b192b2c78987b23b5da6d02e37bdc0fb2aaccd7f --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf110.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-223939648 +# @用例名称: ltp.scsi_debug.part1.gf110 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf110 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf110 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf111.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf111.sh new file mode 100755 index 0000000000000000000000000000000000000000..a4713c1a2d3c9c59caddcbe78dab94c84c2695c6 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf111.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-232530106 +# @用例名称: ltp.scsi_debug.part1.gf111 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf111 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf111 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf112.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf112.sh new file mode 100755 index 0000000000000000000000000000000000000000..3095e0560f1f6367aeef5fe75fd8d91e52104ea9 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf112.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-241265624 +# @用例名称: ltp.scsi_debug.part1.gf112 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf112 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf112 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf113.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf113.sh new file mode 100755 index 0000000000000000000000000000000000000000..31a4722f4c3c5ae1ff3bd347176b5217a24c815c --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf113.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-249937193 +# @用例名称: ltp.scsi_debug.part1.gf113 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf113 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf113 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf114.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf114.sh new file mode 100755 index 0000000000000000000000000000000000000000..13118e51263479b61ea560dc8d79c17b10cbe776 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf114.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-258493096 +# @用例名称: ltp.scsi_debug.part1.gf114 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf114 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf114 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf115.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf115.sh new file mode 100755 index 0000000000000000000000000000000000000000..f3056c4954c90ebd2e8b1d2da21e20fca6264117 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf115.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-267120231 +# @用例名称: ltp.scsi_debug.part1.gf115 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf115 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf115 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf116.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf116.sh new file mode 100755 index 0000000000000000000000000000000000000000..ede468bf4ba40833c49bbbff2482c32605593b0f --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf116.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-275793804 +# @用例名称: ltp.scsi_debug.part1.gf116 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf116 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf116 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf117.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf117.sh new file mode 100755 index 0000000000000000000000000000000000000000..6c7da2c392a0c8886acd8124ce05090e726dfbc2 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf117.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-284308830 +# @用例名称: ltp.scsi_debug.part1.gf117 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf117 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf117 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf118.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf118.sh new file mode 100755 index 0000000000000000000000000000000000000000..59b70aedf387537c85d5c8ac2c7c5ae2cb0ff341 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf118.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-295597186 +# @用例名称: ltp.scsi_debug.part1.gf118 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf118 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf118 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf119.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf119.sh new file mode 100755 index 0000000000000000000000000000000000000000..fc3356ba4fd4357a796372f65619999ebcbc347c --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf119.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-303983391 +# @用例名称: ltp.scsi_debug.part1.gf119 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf119 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf119 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf120.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf120.sh new file mode 100755 index 0000000000000000000000000000000000000000..e3f8b75e84e753f7d42aa7a118eac11b60315440 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf120.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-313719722 +# @用例名称: ltp.scsi_debug.part1.gf120 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf120 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf120 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf121.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf121.sh new file mode 100755 index 0000000000000000000000000000000000000000..6f00a73a2cde8e9dae8fca3f6e416824c087b1c1 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf121.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-322269333 +# @用例名称: ltp.scsi_debug.part1.gf121 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf121 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf121 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf122.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf122.sh new file mode 100755 index 0000000000000000000000000000000000000000..ca1b1933f1041f55b3d82c096615cbc5635c8a41 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf122.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-330830405 +# @用例名称: ltp.scsi_debug.part1.gf122 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf122 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf122 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf123.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf123.sh new file mode 100755 index 0000000000000000000000000000000000000000..0998215488ae600f47a3f18af7ce6476e70598a0 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf123.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-339530107 +# @用例名称: ltp.scsi_debug.part1.gf123 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf123 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf123 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf124.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf124.sh new file mode 100755 index 0000000000000000000000000000000000000000..9764970dbecc1370be01978a2187d97d83fabece --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf124.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-348104344 +# @用例名称: ltp.scsi_debug.part1.gf124 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf124 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf124 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf125.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf125.sh new file mode 100755 index 0000000000000000000000000000000000000000..ea4742a029d575d17acbda4274c70bcc3937e23d --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf125.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-360245445 +# @用例名称: ltp.scsi_debug.part1.gf125 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf125 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf125 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf126.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf126.sh new file mode 100755 index 0000000000000000000000000000000000000000..25784f0d577a0c94bcc1fc7925efa0defd0f345e --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf126.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-368980333 +# @用例名称: ltp.scsi_debug.part1.gf126 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf126 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf126 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf127.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf127.sh new file mode 100755 index 0000000000000000000000000000000000000000..4d06fd6a904a8f715d23250cade9a286a5ad01b6 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf127.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-377627937 +# @用例名称: ltp.scsi_debug.part1.gf127 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf127 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf127 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf128.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf128.sh new file mode 100755 index 0000000000000000000000000000000000000000..b660b0c8b47aff5dd4eaccf251663f19bfcd63f8 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf128.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-386194941 +# @用例名称: ltp.scsi_debug.part1.gf128 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf128 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf128 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf129.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf129.sh new file mode 100755 index 0000000000000000000000000000000000000000..d8dd0299e1a23badf56e24b1fda87db106a64348 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf129.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-394967228 +# @用例名称: ltp.scsi_debug.part1.gf129 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf129 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf129 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf130.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf130.sh new file mode 100755 index 0000000000000000000000000000000000000000..10236ad9448a5d32dc269b5f9172f5884c3acd3b --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf130.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-403651901 +# @用例名称: ltp.scsi_debug.part1.gf130 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf130 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf130 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf201.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf201.sh new file mode 100755 index 0000000000000000000000000000000000000000..f1b61351ae0e41840d2e1ee1386e3b462e9c9b14 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf201.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-213142935 +# @用例名称: ltp.scsi_debug.part1.gf201 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf201 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf201 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf202.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf202.sh new file mode 100755 index 0000000000000000000000000000000000000000..d3ce6169b9fae1609484fb7e64a58fc2ecbd2a3b --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf202.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-222042491 +# @用例名称: ltp.scsi_debug.part1.gf202 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf202 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf202 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf203.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf203.sh new file mode 100755 index 0000000000000000000000000000000000000000..7d587850527c99266fc91551ff9c504bbca15b6c --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf203.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-230606458 +# @用例名称: ltp.scsi_debug.part1.gf203 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf203 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf203 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf204.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf204.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5761a564e52daf1abdd009c7a41b8bbfab253f6 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf204.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-239172981 +# @用例名称: ltp.scsi_debug.part1.gf204 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf204 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf204 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf205.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf205.sh new file mode 100755 index 0000000000000000000000000000000000000000..cd1b876f9c465da0c805a4809c91ede9817c8e29 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf205.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-247845321 +# @用例名称: ltp.scsi_debug.part1.gf205 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf205 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf205 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf206.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf206.sh new file mode 100755 index 0000000000000000000000000000000000000000..81a10a31d2d64daac3d1fe0696332b9abee0ba9c --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf206.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-256537689 +# @用例名称: ltp.scsi_debug.part1.gf206 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf206 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf206 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf207.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf207.sh new file mode 100755 index 0000000000000000000000000000000000000000..09e8f4c3bb0cacb0f4ab361aae925874857be2ab --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf207.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-266966847 +# @用例名称: ltp.scsi_debug.part1.gf207 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf207 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf207 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf208.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf208.sh new file mode 100755 index 0000000000000000000000000000000000000000..4eda62cf52a440f71fa932574223dbd48d9f2778 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf208.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-276545384 +# @用例名称: ltp.scsi_debug.part1.gf208 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf208 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf208 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf209.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf209.sh new file mode 100755 index 0000000000000000000000000000000000000000..dd8d42e4307e81960c6cbb90f5a5b37c139fb4e3 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf209.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-285411046 +# @用例名称: ltp.scsi_debug.part1.gf209 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf209 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf209 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf210.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf210.sh new file mode 100755 index 0000000000000000000000000000000000000000..65153613f0fe9ba110b5a70d16310d52f5b20841 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf210.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-294951621 +# @用例名称: ltp.scsi_debug.part1.gf210 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf210 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf210 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf211.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf211.sh new file mode 100755 index 0000000000000000000000000000000000000000..eb48084cc13900f8eb625d66d586915cbfe05dca --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf211.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-303388510 +# @用例名称: ltp.scsi_debug.part1.gf211 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf211 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf211 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf212.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf212.sh new file mode 100755 index 0000000000000000000000000000000000000000..96091c699efcf1db8f910914566ba09b4501b6b5 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf212.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-311752805 +# @用例名称: ltp.scsi_debug.part1.gf212 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf212 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf212 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf213.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf213.sh new file mode 100755 index 0000000000000000000000000000000000000000..a1d7a44b8b8d68550b28cfaa9110814376338213 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf213.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-320489105 +# @用例名称: ltp.scsi_debug.part1.gf213 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf213 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf213 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf214.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf214.sh new file mode 100755 index 0000000000000000000000000000000000000000..abec9de1647bcef672e71ce70b7b1c1c10a3abdb --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf214.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-329108125 +# @用例名称: ltp.scsi_debug.part1.gf214 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf214 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf214 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf215.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf215.sh new file mode 100755 index 0000000000000000000000000000000000000000..ae3a9fac95271b14143377d783ae9382c2886914 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf215.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-337759056 +# @用例名称: ltp.scsi_debug.part1.gf215 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf215 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf215 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf216.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf216.sh new file mode 100755 index 0000000000000000000000000000000000000000..b1bb2ca4cc8e9485975da1600fb3976e213e753b --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf216.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-346404365 +# @用例名称: ltp.scsi_debug.part1.gf216 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf216 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf216 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf217.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf217.sh new file mode 100755 index 0000000000000000000000000000000000000000..15b197666f47d37ba88da66261d3b5d0060068b4 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf217.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-355105769 +# @用例名称: ltp.scsi_debug.part1.gf217 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf217 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf217 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf218.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf218.sh new file mode 100755 index 0000000000000000000000000000000000000000..04518efa4171b22431f34350eb8c811a6aa77cb7 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf218.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-363975329 +# @用例名称: ltp.scsi_debug.part1.gf218 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf218 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf218 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf219.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf219.sh new file mode 100755 index 0000000000000000000000000000000000000000..072ca74229dc6423bdd4f432edadb662a9ff5403 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf219.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-372601873 +# @用例名称: ltp.scsi_debug.part1.gf219 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf219 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf219 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf220.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf220.sh new file mode 100755 index 0000000000000000000000000000000000000000..40eab5163d314d3540fbd3dc13f9e712018141fc --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf220.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-381418284 +# @用例名称: ltp.scsi_debug.part1.gf220 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf220 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf220 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf221.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf221.sh new file mode 100755 index 0000000000000000000000000000000000000000..68e2865bff51a51ee74d46fd9d272f009d3a0724 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf221.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-390033888 +# @用例名称: ltp.scsi_debug.part1.gf221 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf221 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf221 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf222.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf222.sh new file mode 100755 index 0000000000000000000000000000000000000000..c9eba95b4abfc2759c0b875bcd2bb5c0b7bcc7f9 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf222.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-399002613 +# @用例名称: ltp.scsi_debug.part1.gf222 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf222 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf222 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf223.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf223.sh new file mode 100755 index 0000000000000000000000000000000000000000..fe2b9ae512dceaf18df1dbed19b5aee85da42306 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf223.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-407593732 +# @用例名称: ltp.scsi_debug.part1.gf223 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf223 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf223 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf224.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf224.sh new file mode 100755 index 0000000000000000000000000000000000000000..d18a76ce89cd1701190a034def7684d875228d3d --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf224.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-416352814 +# @用例名称: ltp.scsi_debug.part1.gf224 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf224 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf224 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf225.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf225.sh new file mode 100755 index 0000000000000000000000000000000000000000..ff1e67afca62cf2ce68c891581edee0a630d549f --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf225.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-426409595 +# @用例名称: ltp.scsi_debug.part1.gf225 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf225 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf225 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf226.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf226.sh new file mode 100755 index 0000000000000000000000000000000000000000..42012e6806ea1d502726e7a89b3e15e5e12f542b --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf226.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-435088438 +# @用例名称: ltp.scsi_debug.part1.gf226 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf226 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf226 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf227.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf227.sh new file mode 100755 index 0000000000000000000000000000000000000000..defc1c1034b3caaf5a58b32bc25f012efaef6e36 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf227.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-443637968 +# @用例名称: ltp.scsi_debug.part1.gf227 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf227 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf227 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf228.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf228.sh new file mode 100755 index 0000000000000000000000000000000000000000..37cc429f50a19455708140152dc8e888fc25d28b --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf228.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-452359301 +# @用例名称: ltp.scsi_debug.part1.gf228 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf228 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf228 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf229.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf229.sh new file mode 100755 index 0000000000000000000000000000000000000000..710e451f7a9a239d85c88aa6dcc86f477c9df1c8 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf229.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-460974734 +# @用例名称: ltp.scsi_debug.part1.gf229 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf229 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf229 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf230.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf230.sh new file mode 100755 index 0000000000000000000000000000000000000000..2cdca7d6182a3531119b0004b21ecc17ebd266ed --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf230.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-469680016 +# @用例名称: ltp.scsi_debug.part1.gf230 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf230 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf230 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf301.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf301.sh new file mode 100755 index 0000000000000000000000000000000000000000..c1dc8325fa0a14104bd3cc28d518ba0adf19e48f --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf301.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-522524625 +# @用例名称: ltp.scsi_debug.part1.gf301 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf301 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf301 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf302.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf302.sh new file mode 100755 index 0000000000000000000000000000000000000000..f0c671691d87c2888639d354f1e09844a165c85d --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf302.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-531084776 +# @用例名称: ltp.scsi_debug.part1.gf302 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf302 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf302 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf303.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf303.sh new file mode 100755 index 0000000000000000000000000000000000000000..0f188434c4b30e172310c329c10e17e985149482 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf303.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-539720077 +# @用例名称: ltp.scsi_debug.part1.gf303 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf303 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf303 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf304.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf304.sh new file mode 100755 index 0000000000000000000000000000000000000000..86d8d02e7c68353d254aff50e36689cce3394457 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf304.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-548216959 +# @用例名称: ltp.scsi_debug.part1.gf304 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf304 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf304 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf305.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf305.sh new file mode 100755 index 0000000000000000000000000000000000000000..40dfc82665d19433b1ecc55e75c3c83592a3c7c6 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf305.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-556852761 +# @用例名称: ltp.scsi_debug.part1.gf305 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf305 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf305 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf306.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf306.sh new file mode 100755 index 0000000000000000000000000000000000000000..b419b20ee366843388e19c5ffc50b8c1c44fd0be --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf306.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-565735334 +# @用例名称: ltp.scsi_debug.part1.gf306 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf306 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf306 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf307.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf307.sh new file mode 100755 index 0000000000000000000000000000000000000000..13a872e0620ee95d0d2fd3d61c91088bbf51a94d --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf307.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-574507642 +# @用例名称: ltp.scsi_debug.part1.gf307 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf307 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf307 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf308.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf308.sh new file mode 100755 index 0000000000000000000000000000000000000000..f3fda15f868cb4fcd3f6b261df9ed53e03f7ec74 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf308.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-583256946 +# @用例名称: ltp.scsi_debug.part1.gf308 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf308 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf308 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf309.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf309.sh new file mode 100755 index 0000000000000000000000000000000000000000..bf3cda6b27903dd42ed44fb5a9b9bc5183fda148 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf309.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-592003115 +# @用例名称: ltp.scsi_debug.part1.gf309 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf309 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf309 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf310.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf310.sh new file mode 100755 index 0000000000000000000000000000000000000000..c9604665d937e895888d850a8599c42ddef16356 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf310.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-600509765 +# @用例名称: ltp.scsi_debug.part1.gf310 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf310 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf310 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf311.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf311.sh new file mode 100755 index 0000000000000000000000000000000000000000..95dfe10068919ed4d618bd6ec4836726aa6d7a11 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf311.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-609386648 +# @用例名称: ltp.scsi_debug.part1.gf311 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf311 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf311 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf312.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf312.sh new file mode 100755 index 0000000000000000000000000000000000000000..20b4c08d853dda8c053770e9d40b8e43f226a0fe --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf312.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-617966686 +# @用例名称: ltp.scsi_debug.part1.gf312 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf312 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf312 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf313.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf313.sh new file mode 100755 index 0000000000000000000000000000000000000000..dbd501bda83f5d585e5d5d0a5ca1138ddf9b2a5c --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf313.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-626701182 +# @用例名称: ltp.scsi_debug.part1.gf313 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf313 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf313 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf314.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf314.sh new file mode 100755 index 0000000000000000000000000000000000000000..1d92a80d67357879bee00437c2eb4bbf15489899 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf314.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-636144576 +# @用例名称: ltp.scsi_debug.part1.gf314 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf314 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf314 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf315.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf315.sh new file mode 100755 index 0000000000000000000000000000000000000000..15324bb74c81a88c0290d550be38aab047ec11e5 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf315.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-644750822 +# @用例名称: ltp.scsi_debug.part1.gf315 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf315 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf315 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf316.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf316.sh new file mode 100755 index 0000000000000000000000000000000000000000..355cd0e67529b5522b3d3f4749ebec8468da70c2 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf316.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-653515576 +# @用例名称: ltp.scsi_debug.part1.gf316 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf316 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf316 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf317.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf317.sh new file mode 100755 index 0000000000000000000000000000000000000000..7cd3e463a2270001e96fe0bab3dd8eb5cf32dc2d --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf317.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-662135298 +# @用例名称: ltp.scsi_debug.part1.gf317 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf317 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf317 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf318.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf318.sh new file mode 100755 index 0000000000000000000000000000000000000000..fec5f0bbf35e706a906195df4988c7b0f737f8ab --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf318.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-670675751 +# @用例名称: ltp.scsi_debug.part1.gf318 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf318 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf318 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf319.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf319.sh new file mode 100755 index 0000000000000000000000000000000000000000..1be8afd2547f34ea92cf2c770e670050a5dc4d55 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf319.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-679590435 +# @用例名称: ltp.scsi_debug.part1.gf319 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf319 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf319 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf320.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf320.sh new file mode 100755 index 0000000000000000000000000000000000000000..93cd75065ca6ddb8dea974697c81b6a08bad5c51 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf320.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-688124156 +# @用例名称: ltp.scsi_debug.part1.gf320 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf320 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf320 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf321.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf321.sh new file mode 100755 index 0000000000000000000000000000000000000000..da7011fb020b6249b18ea4661c4ca9eaf7f2d1a9 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf321.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-696617963 +# @用例名称: ltp.scsi_debug.part1.gf321 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf321 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf321 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf322.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf322.sh new file mode 100755 index 0000000000000000000000000000000000000000..b233fe334f4e238c6dd1de7c9bc5525194ed15de --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf322.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-705830383 +# @用例名称: ltp.scsi_debug.part1.gf322 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf322 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf322 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf323.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf323.sh new file mode 100755 index 0000000000000000000000000000000000000000..27b5120d9732613898236725bfbd5b6fa44151ec --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf323.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-714747902 +# @用例名称: ltp.scsi_debug.part1.gf323 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf323 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf323 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf324.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf324.sh new file mode 100755 index 0000000000000000000000000000000000000000..95ea3fb2ff4f41b2b0f7c29ff6a625d05aa00816 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf324.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-723382793 +# @用例名称: ltp.scsi_debug.part1.gf324 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf324 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf324 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf325.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf325.sh new file mode 100755 index 0000000000000000000000000000000000000000..177d4331265b8319165bee0dfcf854363fdd7029 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf325.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-731854608 +# @用例名称: ltp.scsi_debug.part1.gf325 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf325 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf325 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf326.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf326.sh new file mode 100755 index 0000000000000000000000000000000000000000..81f76720066ec6d845922807a3ace36b3a386df9 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf326.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-740396084 +# @用例名称: ltp.scsi_debug.part1.gf326 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf326 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf326 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf327.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf327.sh new file mode 100755 index 0000000000000000000000000000000000000000..8a4440b6e31f95c6070350ac5ea0055b476caa7f --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf327.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-749024241 +# @用例名称: ltp.scsi_debug.part1.gf327 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf327 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf327 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf328.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf328.sh new file mode 100755 index 0000000000000000000000000000000000000000..64fafae9a61c6279f9668ca99eaa37d89dde00c2 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf328.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-757564103 +# @用例名称: ltp.scsi_debug.part1.gf328 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf328 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf328 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf329.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf329.sh new file mode 100755 index 0000000000000000000000000000000000000000..f467851137c75c9895aeed312ef382066bcd205e --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf329.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-766349616 +# @用例名称: ltp.scsi_debug.part1.gf329 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf329 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf329 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf330.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf330.sh new file mode 100755 index 0000000000000000000000000000000000000000..84c83c88089811c85cc3444e537458f15144092a --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf330.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-775163662 +# @用例名称: ltp.scsi_debug.part1.gf330 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf330 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf330 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf701.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf701.sh new file mode 100755 index 0000000000000000000000000000000000000000..a81421be9b2433c22b11ebc0a46edbca2b4e0660 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf701.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-829317540 +# @用例名称: ltp.scsi_debug.part1.gf701 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf701 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf701 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf702.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf702.sh new file mode 100755 index 0000000000000000000000000000000000000000..6f964c3abe849184a815a14788fe02b1756f1bad --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf702.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-837906285 +# @用例名称: ltp.scsi_debug.part1.gf702 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf702 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf702 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf703.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf703.sh new file mode 100755 index 0000000000000000000000000000000000000000..a3e0daf211f4d5a5aa5833e393391b180ff779a5 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf703.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-846537127 +# @用例名称: ltp.scsi_debug.part1.gf703 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf703 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf703 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf704.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf704.sh new file mode 100755 index 0000000000000000000000000000000000000000..6d9a5892958ee336905fb36a0c5eef4f6c7bcdfe --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf704.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-855192546 +# @用例名称: ltp.scsi_debug.part1.gf704 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf704 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf704 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf705.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf705.sh new file mode 100755 index 0000000000000000000000000000000000000000..d72c8abe8d7543fbfc9a28ebb14b784259cf52db --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf705.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-863844017 +# @用例名称: ltp.scsi_debug.part1.gf705 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf705 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf705 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf706.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf706.sh new file mode 100755 index 0000000000000000000000000000000000000000..b428029f7376282db57e0822509494d32e79f736 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf706.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-872379020 +# @用例名称: ltp.scsi_debug.part1.gf706 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf706 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf706 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf707.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf707.sh new file mode 100755 index 0000000000000000000000000000000000000000..e6177d36255e55f15432aa0f4389b17b99cc8b6d --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf707.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-880970038 +# @用例名称: ltp.scsi_debug.part1.gf707 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf707 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf707 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf708.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf708.sh new file mode 100755 index 0000000000000000000000000000000000000000..b880c0f5661133ea38423b9343f3502c6653b515 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf708.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-889517445 +# @用例名称: ltp.scsi_debug.part1.gf708 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf708 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf708 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf709.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf709.sh new file mode 100755 index 0000000000000000000000000000000000000000..8e5eeafb3a1572f81cf8b8aefba46071a904cf4a --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf709.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-898299751 +# @用例名称: ltp.scsi_debug.part1.gf709 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf709 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf709 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf710.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf710.sh new file mode 100755 index 0000000000000000000000000000000000000000..e96950c12245b8fd36732698709f4f8f98b32b19 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf710.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-906854111 +# @用例名称: ltp.scsi_debug.part1.gf710 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf710 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf710 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf711.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf711.sh new file mode 100755 index 0000000000000000000000000000000000000000..7aa4358f081434195d0117d6b5bb3aee60bad149 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf711.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-917049100 +# @用例名称: ltp.scsi_debug.part1.gf711 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf711 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf711 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf712.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf712.sh new file mode 100755 index 0000000000000000000000000000000000000000..57b0f315e9560de9388004e7230fe863a7aa128f --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf712.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-925712224 +# @用例名称: ltp.scsi_debug.part1.gf712 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf712 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf712 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf713.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf713.sh new file mode 100755 index 0000000000000000000000000000000000000000..64cd10fd787c22a0f137188fd6f0f342d027c8eb --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf713.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-934330262 +# @用例名称: ltp.scsi_debug.part1.gf713 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf713 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf713 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf714.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf714.sh new file mode 100755 index 0000000000000000000000000000000000000000..647323e5e32cea2594cc417d31bb387f2a80fa85 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf714.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-942893449 +# @用例名称: ltp.scsi_debug.part1.gf714 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf714 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf714 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf715.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf715.sh new file mode 100755 index 0000000000000000000000000000000000000000..fbbdc1c0686784b478323cda637ad417ffc5cf0e --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf715.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-951374972 +# @用例名称: ltp.scsi_debug.part1.gf715 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf715 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf715 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf716.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf716.sh new file mode 100755 index 0000000000000000000000000000000000000000..b2da2ec9fa9327f2abaa370b36fcca3294ab77fb --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf716.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-960373523 +# @用例名称: ltp.scsi_debug.part1.gf716 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf716 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf716 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf717.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf717.sh new file mode 100755 index 0000000000000000000000000000000000000000..3ce0bf2d67d16f56964528f1ea4c41575f163967 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf717.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-969110133 +# @用例名称: ltp.scsi_debug.part1.gf717 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf717 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf717 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf718.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf718.sh new file mode 100755 index 0000000000000000000000000000000000000000..1e40aad2bc443f3c71c86c8bad946b18c9e701c7 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf718.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-977794506 +# @用例名称: ltp.scsi_debug.part1.gf718 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf718 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf718 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf719.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf719.sh new file mode 100755 index 0000000000000000000000000000000000000000..34accb3d39e175745831cacc74f4ae367779ae04 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf719.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-986487685 +# @用例名称: ltp.scsi_debug.part1.gf719 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf719 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf719 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf720.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf720.sh new file mode 100755 index 0000000000000000000000000000000000000000..436e1e0165ece8f9eee666e88de8f457305c5ab8 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf720.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213010-995151219 +# @用例名称: ltp.scsi_debug.part1.gf720 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf720 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf720 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf721.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf721.sh new file mode 100755 index 0000000000000000000000000000000000000000..1f0181f66f7f4699aa27bdfdf32b7dd304c257c2 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf721.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-004484056 +# @用例名称: ltp.scsi_debug.part1.gf721 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf721 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf721 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf722.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf722.sh new file mode 100755 index 0000000000000000000000000000000000000000..156f14e6fbb07463f68b5620e27514779e3e1ad3 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf722.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-013169220 +# @用例名称: ltp.scsi_debug.part1.gf722 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf722 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf722 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf723.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf723.sh new file mode 100755 index 0000000000000000000000000000000000000000..0e4c2cd263de2abff23fd44d79b2c6025818b679 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf723.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-021787609 +# @用例名称: ltp.scsi_debug.part1.gf723 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf723 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf723 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf724.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf724.sh new file mode 100755 index 0000000000000000000000000000000000000000..057c84f1f0352843fda2a3ee806e48f8bf67da10 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf724.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-030472664 +# @用例名称: ltp.scsi_debug.part1.gf724 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf724 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf724 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf725.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf725.sh new file mode 100755 index 0000000000000000000000000000000000000000..571922022c75c014c27a6b3b8cb793550ce4e0bb --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf725.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-039145034 +# @用例名称: ltp.scsi_debug.part1.gf725 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf725 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf725 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf726.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf726.sh new file mode 100755 index 0000000000000000000000000000000000000000..131369b835ecad2e5303ab97967bc979aa5e6dd6 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf726.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-047752693 +# @用例名称: ltp.scsi_debug.part1.gf726 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf726 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf726 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf727.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf727.sh new file mode 100755 index 0000000000000000000000000000000000000000..4769ae9c52754026c34201569f07638022a2e1fd --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf727.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-056364891 +# @用例名称: ltp.scsi_debug.part1.gf727 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf727 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf727 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf728.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf728.sh new file mode 100755 index 0000000000000000000000000000000000000000..cd92c8f13193967bb1ed471984d6b07239c6b405 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf728.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-065412233 +# @用例名称: ltp.scsi_debug.part1.gf728 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf728 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf728 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf729.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf729.sh new file mode 100755 index 0000000000000000000000000000000000000000..d2d74bdbb6202f6d092f18020fa2e8af0c02d2ab --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf729.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-073971572 +# @用例名称: ltp.scsi_debug.part1.gf729 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf729 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf729 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf730.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf730.sh new file mode 100755 index 0000000000000000000000000000000000000000..07898859310136bdcab8f16be506df64805eca82 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.gf730.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-082611442 +# @用例名称: ltp.scsi_debug.part1.gf730 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.gf730 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 gf730 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.rwtest01.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.rwtest01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f9b071971818432bac5a78c706f38f435b666942 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.rwtest01.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-412399422 +# @用例名称: ltp.scsi_debug.part1.rwtest01 +# @用例级别: 2 +# @用例标签: +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.rwtest01 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 rwtest01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.rwtest02.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.rwtest02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ee2f54ddb234682971b34f85ce9fddc53fa6a9d5 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.rwtest02.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-421060040 +# @用例名称: ltp.scsi_debug.part1.rwtest02 +# @用例级别: 3 +# @用例标签: +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.rwtest02 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 rwtest02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.rwtest03.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.rwtest03.sh new file mode 100755 index 0000000000000000000000000000000000000000..30f9822a7bc84e2c889f10ac0681db4c01373fb6 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.rwtest03.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-429757337 +# @用例名称: ltp.scsi_debug.part1.rwtest03 +# @用例级别: 3 +# @用例标签: +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.rwtest03 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 rwtest03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.rwtest04.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.rwtest04.sh new file mode 100755 index 0000000000000000000000000000000000000000..83035c067a5425313d772a5033a9308dc46680f4 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.rwtest04.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-438446069 +# @用例名称: ltp.scsi_debug.part1.rwtest04 +# @用例级别: 3 +# @用例标签: +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.rwtest04 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 rwtest04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/scsi_debug.part1/ltp.scsi_debug.part1.rwtest05.sh b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.rwtest05.sh new file mode 100755 index 0000000000000000000000000000000000000000..2079d1408aa34aa9a8d54d96024fcc92db26a225 --- /dev/null +++ b/testcase/scsi_debug.part1/ltp.scsi_debug.part1.rwtest05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-447164095 +# @用例名称: ltp.scsi_debug.part1.rwtest05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.scsi_debug.part1.rwtest05 + # @预期结果:1: 用例返回0 + ltp_run_testcase scsi_debug.part1 rwtest05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smack/ltp.smack.smack_file_access.sh b/testcase/smack/ltp.smack.smack_file_access.sh new file mode 100755 index 0000000000000000000000000000000000000000..02fd76a816180f948d0f3a29a77133ffb9b838af --- /dev/null +++ b/testcase/smack/ltp.smack.smack_file_access.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-572517695 +# @用例名称: ltp.smack.smack_file_access +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smack.smack_file_access + # @预期结果:1: 用例返回0 + ltp_run_testcase smack smack_file_access + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smack/ltp.smack.smack_set_ambient.sh b/testcase/smack/ltp.smack.smack_set_ambient.sh new file mode 100755 index 0000000000000000000000000000000000000000..7fc5a057fb33b8d0067cd41004098fb3b25f1b97 --- /dev/null +++ b/testcase/smack/ltp.smack.smack_set_ambient.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-493003704 +# @用例名称: ltp.smack.smack_set_ambient +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smack.smack_set_ambient + # @预期结果:1: 用例返回0 + ltp_run_testcase smack smack_set_ambient + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smack/ltp.smack.smack_set_cipso.sh b/testcase/smack/ltp.smack.smack_set_cipso.sh new file mode 100755 index 0000000000000000000000000000000000000000..33dd917a1753c904cdfbc7298e7eb28e404fb751 --- /dev/null +++ b/testcase/smack/ltp.smack.smack_set_cipso.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-536745527 +# @用例名称: ltp.smack.smack_set_cipso +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smack.smack_set_cipso + # @预期结果:1: 用例返回0 + ltp_run_testcase smack smack_set_cipso + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smack/ltp.smack.smack_set_current.sh b/testcase/smack/ltp.smack.smack_set_current.sh new file mode 100755 index 0000000000000000000000000000000000000000..c26fffe706ae24eaf8ec8a0f27c4a95d02279bf6 --- /dev/null +++ b/testcase/smack/ltp.smack.smack_set_current.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-501656367 +# @用例名称: ltp.smack.smack_set_current +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smack.smack_set_current + # @预期结果:1: 用例返回0 + ltp_run_testcase smack smack_set_current + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smack/ltp.smack.smack_set_direct.sh b/testcase/smack/ltp.smack.smack_set_direct.sh new file mode 100755 index 0000000000000000000000000000000000000000..65c89b00caca6f2fa0dd63039e18b43d03b04778 --- /dev/null +++ b/testcase/smack/ltp.smack.smack_set_direct.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-545360309 +# @用例名称: ltp.smack.smack_set_direct +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smack.smack_set_direct + # @预期结果:1: 用例返回0 + ltp_run_testcase smack smack_set_direct + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smack/ltp.smack.smack_set_doi.sh b/testcase/smack/ltp.smack.smack_set_doi.sh new file mode 100755 index 0000000000000000000000000000000000000000..7920c42de61cfab47dc7a354941ca86c2e52f380 --- /dev/null +++ b/testcase/smack/ltp.smack.smack_set_doi.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-510814547 +# @用例名称: ltp.smack.smack_set_doi +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smack.smack_set_doi + # @预期结果:1: 用例返回0 + ltp_run_testcase smack smack_set_doi + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smack/ltp.smack.smack_set_load.sh b/testcase/smack/ltp.smack.smack_set_load.sh new file mode 100755 index 0000000000000000000000000000000000000000..7c514e15aa4e6ef1d7d376349962748a9f9e28a6 --- /dev/null +++ b/testcase/smack/ltp.smack.smack_set_load.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-555218278 +# @用例名称: ltp.smack.smack_set_load +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smack.smack_set_load + # @预期结果:1: 用例返回0 + ltp_run_testcase smack smack_set_load + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smack/ltp.smack.smack_set_netlabel.sh b/testcase/smack/ltp.smack.smack_set_netlabel.sh new file mode 100755 index 0000000000000000000000000000000000000000..e7da357b68fd8b6a6471d1f43747caa89de820df --- /dev/null +++ b/testcase/smack/ltp.smack.smack_set_netlabel.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-519548984 +# @用例名称: ltp.smack.smack_set_netlabel +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smack.smack_set_netlabel + # @预期结果:1: 用例返回0 + ltp_run_testcase smack smack_set_netlabel + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smack/ltp.smack.smack_set_onlycap.sh b/testcase/smack/ltp.smack.smack_set_onlycap.sh new file mode 100755 index 0000000000000000000000000000000000000000..5d701507c6bab76882c17cf024d1b65c28875e6b --- /dev/null +++ b/testcase/smack/ltp.smack.smack_set_onlycap.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-563893073 +# @用例名称: ltp.smack.smack_set_onlycap +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smack.smack_set_onlycap + # @预期结果:1: 用例返回0 + ltp_run_testcase smack smack_set_onlycap + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smack/ltp.smack.smack_set_socket_labels.sh b/testcase/smack/ltp.smack.smack_set_socket_labels.sh new file mode 100755 index 0000000000000000000000000000000000000000..738fd356fc0f20a5d74f0908d220957d8b23f307 --- /dev/null +++ b/testcase/smack/ltp.smack.smack_set_socket_labels.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-528039894 +# @用例名称: ltp.smack.smack_set_socket_labels +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smack.smack_set_socket_labels + # @预期结果:1: 用例返回0 + ltp_run_testcase smack smack_set_socket_labels + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smoketest/ltp.smoketest.access01.sh b/testcase/smoketest/ltp.smoketest.access01.sh new file mode 100755 index 0000000000000000000000000000000000000000..42428ab1bacdfe2fd2bf07e3fe719488be55ee28 --- /dev/null +++ b/testcase/smoketest/ltp.smoketest.access01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-590006134 +# @用例名称: ltp.smoketest.access01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smoketest.access01 + # @预期结果:1: 用例返回0 + ltp_run_testcase smoketest access01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smoketest/ltp.smoketest.chdir01.sh b/testcase/smoketest/ltp.smoketest.chdir01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e3f388b7825f4670e1f962a2d9385e4f63578192 --- /dev/null +++ b/testcase/smoketest/ltp.smoketest.chdir01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-602597469 +# @用例名称: ltp.smoketest.chdir01 +# @用例级别: 2 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smoketest.chdir01 + # @预期结果:1: 用例返回0 + ltp_run_testcase smoketest chdir01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smoketest/ltp.smoketest.df01_sh.sh b/testcase/smoketest/ltp.smoketest.df01_sh.sh new file mode 100755 index 0000000000000000000000000000000000000000..f0ecc54cda0932094c448a75a4defe430b775232 --- /dev/null +++ b/testcase/smoketest/ltp.smoketest.df01_sh.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141851-168068237 +# @用例名称: ltp.smoketest.df01_sh +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smoketest.df01_sh + # @预期结果:1: 用例返回0 + ltp_run_testcase smoketest df01_sh + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smoketest/ltp.smoketest.fork01.sh b/testcase/smoketest/ltp.smoketest.fork01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4b7335a35320bb96b3d95231add3ce3ceb37c766 --- /dev/null +++ b/testcase/smoketest/ltp.smoketest.fork01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-613603086 +# @用例名称: ltp.smoketest.fork01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smoketest.fork01 + # @预期结果:1: 用例返回0 + ltp_run_testcase smoketest fork01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smoketest/ltp.smoketest.macsec02.sh b/testcase/smoketest/ltp.smoketest.macsec02.sh new file mode 100755 index 0000000000000000000000000000000000000000..2fe1c4d597df5b37a34ec5beb5d99c870ccdd033 --- /dev/null +++ b/testcase/smoketest/ltp.smoketest.macsec02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141851-233031485 +# @用例名称: ltp.smoketest.macsec02 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smoketest.macsec02 + # @预期结果:1: 用例返回0 + ltp_run_testcase smoketest macsec02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smoketest/ltp.smoketest.ping602.sh b/testcase/smoketest/ltp.smoketest.ping602.sh new file mode 100755 index 0000000000000000000000000000000000000000..9d60253d400a8db5752f1621a8e00be9892bebda --- /dev/null +++ b/testcase/smoketest/ltp.smoketest.ping602.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-708401943 +# @用例名称: ltp.smoketest.ping602 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smoketest.ping602 + # @预期结果:1: 用例返回0 + ltp_run_testcase smoketest ping602 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smoketest/ltp.smoketest.shell_test01.sh b/testcase/smoketest/ltp.smoketest.shell_test01.sh new file mode 100755 index 0000000000000000000000000000000000000000..1bf58588b0ca8fee59f236cf764d837e30e1a98f --- /dev/null +++ b/testcase/smoketest/ltp.smoketest.shell_test01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-691269499 +# @用例名称: ltp.smoketest.shell_test01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smoketest.shell_test01 + # @预期结果:1: 用例返回0 + ltp_run_testcase smoketest shell_test01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smoketest/ltp.smoketest.splice02.sh b/testcase/smoketest/ltp.smoketest.splice02.sh new file mode 100755 index 0000000000000000000000000000000000000000..90a407c67da68ceed4ab3563759d149b3a378f37 --- /dev/null +++ b/testcase/smoketest/ltp.smoketest.splice02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-682785130 +# @用例名称: ltp.smoketest.splice02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smoketest.splice02 + # @预期结果:1: 用例返回0 + ltp_run_testcase smoketest splice02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smoketest/ltp.smoketest.stat04.sh b/testcase/smoketest/ltp.smoketest.stat04.sh new file mode 100755 index 0000000000000000000000000000000000000000..ae52f3b5e9746accc9bc203166d9a05e8c5c32d9 --- /dev/null +++ b/testcase/smoketest/ltp.smoketest.stat04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-656885970 +# @用例名称: ltp.smoketest.stat04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smoketest.stat04 + # @预期结果:1: 用例返回0 + ltp_run_testcase smoketest stat04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smoketest/ltp.smoketest.time01.sh b/testcase/smoketest/ltp.smoketest.time01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0a45af78e871271a0d95ef637f9af684b632bf7a --- /dev/null +++ b/testcase/smoketest/ltp.smoketest.time01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-622425087 +# @用例名称: ltp.smoketest.time01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smoketest.time01 + # @预期结果:1: 用例返回0 + ltp_run_testcase smoketest time01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smoketest/ltp.smoketest.wait02.sh b/testcase/smoketest/ltp.smoketest.wait02.sh new file mode 100755 index 0000000000000000000000000000000000000000..3fb57fbea82c7049282a9f93019eabb8d9d8cb17 --- /dev/null +++ b/testcase/smoketest/ltp.smoketest.wait02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-631070947 +# @用例名称: ltp.smoketest.wait02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smoketest.wait02 + # @预期结果:1: 用例返回0 + ltp_run_testcase smoketest wait02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/smoketest/ltp.smoketest.write01.sh b/testcase/smoketest/ltp.smoketest.write01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7ca311ff05d80e770f37d8d5261bb9714f94db5f --- /dev/null +++ b/testcase/smoketest/ltp.smoketest.write01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-639537091 +# @用例名称: ltp.smoketest.write01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.smoketest.write01 + # @预期结果:1: 用例返回0 + ltp_run_testcase smoketest write01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl01.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9de5e96b9daf071e439fe42361bbc5c09a3054bb --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-530005641 +# @用例名称: ltp.syscalls-ipc.msgctl01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgctl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgctl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl02.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl02.sh new file mode 100755 index 0000000000000000000000000000000000000000..389c32ce931e4dee5d19eb4cf18b0565e0b46c4c --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-538618480 +# @用例名称: ltp.syscalls-ipc.msgctl02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgctl02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgctl02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl03.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl03.sh new file mode 100755 index 0000000000000000000000000000000000000000..2f4b2b9c597ee67d5b6fa901f57d45cbd6a73fd0 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-547214888 +# @用例名称: ltp.syscalls-ipc.msgctl03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgctl03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgctl03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl04.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl04.sh new file mode 100755 index 0000000000000000000000000000000000000000..41343249b924bca36289d5090d5eb760f8a29d81 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-555705238 +# @用例名称: ltp.syscalls-ipc.msgctl04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgctl04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgctl04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl05.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl05.sh new file mode 100755 index 0000000000000000000000000000000000000000..cc3488075db6f562f9ec40be1fb22f6a237a5759 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-564357230 +# @用例名称: ltp.syscalls-ipc.msgctl05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgctl05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgctl05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl06.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl06.sh new file mode 100755 index 0000000000000000000000000000000000000000..e5cbb7376ff51ef9088ab194aa9bbb85cb9d770a --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-572901461 +# @用例名称: ltp.syscalls-ipc.msgctl06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgctl06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgctl06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl12.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl12.sh new file mode 100755 index 0000000000000000000000000000000000000000..7d07baf305a8e45a6f471dc471ba8c8d243c111f --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgctl12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-621044862 +# @用例名称: ltp.syscalls-ipc.msgctl12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgctl12 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgctl12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgget01.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgget01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a627da77635e0bb15d46a3acf2cdbfe757068f4c --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgget01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-632555003 +# @用例名称: ltp.syscalls-ipc.msgget01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgget01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgget01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgget02.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgget02.sh new file mode 100755 index 0000000000000000000000000000000000000000..7689b819f69f00154e625c9db3395333f3b812c8 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgget02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-641055762 +# @用例名称: ltp.syscalls-ipc.msgget02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgget02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgget02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgget03.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgget03.sh new file mode 100755 index 0000000000000000000000000000000000000000..87562a7842ebeb0be6d032376171e38b9075343c --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgget03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-649517608 +# @用例名称: ltp.syscalls-ipc.msgget03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgget03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgget03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgget04.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgget04.sh new file mode 100755 index 0000000000000000000000000000000000000000..5afafe4087a20fb791005e051914aab91680129d --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgget04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-657985676 +# @用例名称: ltp.syscalls-ipc.msgget04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgget04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgget04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgget05.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgget05.sh new file mode 100755 index 0000000000000000000000000000000000000000..6bafa02fd91293e658965d58bfa366f2f90fe604 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgget05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-666605629 +# @用例名称: ltp.syscalls-ipc.msgget05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgget05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgget05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv01.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv01.sh new file mode 100755 index 0000000000000000000000000000000000000000..24418b212749c0b47682c166a9d6c551b4b2ade3 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-677220505 +# @用例名称: ltp.syscalls-ipc.msgrcv01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgrcv01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgrcv01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv02.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv02.sh new file mode 100755 index 0000000000000000000000000000000000000000..53d5d4b5a9c313f47db7e05130eba8ff520b3473 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-685908364 +# @用例名称: ltp.syscalls-ipc.msgrcv02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgrcv02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgrcv02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv03.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv03.sh new file mode 100755 index 0000000000000000000000000000000000000000..cfcc231149dcb0161fd0937af517caae2000e5f9 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-694348950 +# @用例名称: ltp.syscalls-ipc.msgrcv03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgrcv03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgrcv03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv05.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv05.sh new file mode 100755 index 0000000000000000000000000000000000000000..3e06d510efa97acbbe3f4ac72268892de412936e --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-702857725 +# @用例名称: ltp.syscalls-ipc.msgrcv05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgrcv05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgrcv05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv06.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv06.sh new file mode 100755 index 0000000000000000000000000000000000000000..a3dcd875c1be74c43e0dde72b10722d463a314fe --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-711541376 +# @用例名称: ltp.syscalls-ipc.msgrcv06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgrcv06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgrcv06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv07.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv07.sh new file mode 100755 index 0000000000000000000000000000000000000000..2b57fb4bed3adcd01f6c42f292d6a80f0a58588d --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-720055921 +# @用例名称: ltp.syscalls-ipc.msgrcv07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgrcv07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgrcv07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv08.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv08.sh new file mode 100755 index 0000000000000000000000000000000000000000..c7b62216c51b3cf3a17d931b459f67d5ce35e78d --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgrcv08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-728656127 +# @用例名称: ltp.syscalls-ipc.msgrcv08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgrcv08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgrcv08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgsnd01.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgsnd01.sh new file mode 100755 index 0000000000000000000000000000000000000000..339e0592853935297dd15d0050ba185a02abd035 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgsnd01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-739149245 +# @用例名称: ltp.syscalls-ipc.msgsnd01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgsnd01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgsnd01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgsnd02.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgsnd02.sh new file mode 100755 index 0000000000000000000000000000000000000000..df351ebc66a1c48c4924228915ae846974ec892b --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgsnd02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-749138579 +# @用例名称: ltp.syscalls-ipc.msgsnd02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgsnd02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgsnd02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgsnd05.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgsnd05.sh new file mode 100755 index 0000000000000000000000000000000000000000..e6745ae8867759cd181b561a7f24dd66dad0a3a5 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgsnd05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-759242449 +# @用例名称: ltp.syscalls-ipc.msgsnd05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgsnd05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgsnd05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgsnd06.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgsnd06.sh new file mode 100755 index 0000000000000000000000000000000000000000..f2c1df81d832f7a6b6481f41dcecb2d5e5f20448 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgsnd06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-769454350 +# @用例名称: ltp.syscalls-ipc.msgsnd06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgsnd06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgsnd06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.msgstress01.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgstress01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0c7d071b7f94099501db6f75fca8673c987d9df6 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.msgstress01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-581463255 +# @用例名称: ltp.syscalls-ipc.msgstress01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.msgstress01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc msgstress01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl01.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..b12c137328cbcf112b344bb0ce18a26f949ccdbb --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-784136869 +# @用例名称: ltp.syscalls-ipc.semctl01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.semctl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc semctl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl02.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl02.sh new file mode 100755 index 0000000000000000000000000000000000000000..e33efd76855e5bbb4b32eba7f5016c83f7a0b74b --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-792561937 +# @用例名称: ltp.syscalls-ipc.semctl02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.semctl02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc semctl02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl03.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl03.sh new file mode 100755 index 0000000000000000000000000000000000000000..98b41d023201bcf3477c836a0846f4e567f98a24 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-801410988 +# @用例名称: ltp.syscalls-ipc.semctl03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.semctl03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc semctl03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl04.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl04.sh new file mode 100755 index 0000000000000000000000000000000000000000..ac85656739f84103728b95511a8cc4af25fb6877 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-810886972 +# @用例名称: ltp.syscalls-ipc.semctl04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.semctl04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc semctl04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl05.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl05.sh new file mode 100755 index 0000000000000000000000000000000000000000..733283861c8f0c7b666c1e911eadc769877a6854 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-820573000 +# @用例名称: ltp.syscalls-ipc.semctl05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.semctl05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc semctl05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl06.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl06.sh new file mode 100755 index 0000000000000000000000000000000000000000..ed7f5add8b5316537ce25dee58159f20a3cc8f48 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-830698078 +# @用例名称: ltp.syscalls-ipc.semctl06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.semctl06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc semctl06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl07.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl07.sh new file mode 100755 index 0000000000000000000000000000000000000000..8a78c505ad8487825293ee3e05da7c77b82ca9ba --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-840139910 +# @用例名称: ltp.syscalls-ipc.semctl07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.semctl07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc semctl07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl08.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl08.sh new file mode 100755 index 0000000000000000000000000000000000000000..6037204b65eeb9f624d56809ebee01d86b3ae7be --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-851801734 +# @用例名称: ltp.syscalls-ipc.semctl08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.semctl08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc semctl08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl09.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl09.sh new file mode 100755 index 0000000000000000000000000000000000000000..150e1d85d47aa71652a7e0ede473475f9f2a63e2 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.semctl09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-861446324 +# @用例名称: ltp.syscalls-ipc.semctl09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.semctl09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc semctl09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.semget01.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.semget01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4302d52b739d1409ce3c6ced5845f08b3835b3fb --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.semget01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-873632020 +# @用例名称: ltp.syscalls-ipc.semget01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.semget01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc semget01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.semget02.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.semget02.sh new file mode 100755 index 0000000000000000000000000000000000000000..00907d6cf5ef6555a5def8c17574ebe339588fe2 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.semget02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-882396032 +# @用例名称: ltp.syscalls-ipc.semget02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.semget02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc semget02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.semget05.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.semget05.sh new file mode 100755 index 0000000000000000000000000000000000000000..715896a1f2f0cd996ebbfc4a5c5225cb8df71dc9 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.semget05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-902128982 +# @用例名称: ltp.syscalls-ipc.semget05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.semget05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc semget05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.semop01.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.semop01.sh new file mode 100755 index 0000000000000000000000000000000000000000..704476c81528b2ff92714ca271abaa110991cf8c --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.semop01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-921531695 +# @用例名称: ltp.syscalls-ipc.semop01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.semop01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc semop01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.semop02.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.semop02.sh new file mode 100755 index 0000000000000000000000000000000000000000..0ab9ef821edf9978c866701427e370676bcd4dc5 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.semop02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-930140977 +# @用例名称: ltp.syscalls-ipc.semop02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.semop02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc semop02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.semop03.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.semop03.sh new file mode 100755 index 0000000000000000000000000000000000000000..d7e939bc81622f3338dae57b151e417cfee598c4 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.semop03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-938859373 +# @用例名称: ltp.syscalls-ipc.semop03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.semop03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc semop03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmat01.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..6a9209da709286dc2bd0520a05b8aa6777c8015e --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-949397626 +# @用例名称: ltp.syscalls-ipc.shmat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmat02.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..62ece57a181bbe6fd47b214552beed0a27b61f24 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmat02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-958008051 +# @用例名称: ltp.syscalls-ipc.shmat02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmat02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmat04.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmat04.sh new file mode 100755 index 0000000000000000000000000000000000000000..04ed02dac48fb2f268cd4015561d7e373f818173 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmat04.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172840-804303109 +# @用例名称: ltp.syscalls-ipc.shmat04 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmat04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmat04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl01.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a9fd480181c0163b30c1369bfba4a612ab153116 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-968793015 +# @用例名称: ltp.syscalls-ipc.shmctl01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmctl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmctl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl02.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl02.sh new file mode 100755 index 0000000000000000000000000000000000000000..1e5e8d5ae0048613e0b9cfa68165dadf78e2c826 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-977431341 +# @用例名称: ltp.syscalls-ipc.shmctl02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmctl02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmctl02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl03.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl03.sh new file mode 100755 index 0000000000000000000000000000000000000000..ba1ec62690b8bdc6cd4a3083fd63e968c5466fe9 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-986109202 +# @用例名称: ltp.syscalls-ipc.shmctl03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmctl03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmctl03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl04.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl04.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c0bcc2524db55d56d0731130df437db575c954d --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-994665254 +# @用例名称: ltp.syscalls-ipc.shmctl04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmctl04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmctl04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl05.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl05.sh new file mode 100755 index 0000000000000000000000000000000000000000..f872576e475a6bdb083a8eb4bcbc6971bf02cf37 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-003465895 +# @用例名称: ltp.syscalls-ipc.shmctl05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmctl05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmctl05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl06.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl06.sh new file mode 100755 index 0000000000000000000000000000000000000000..c68b0c2905d6d9ce3d487b15e9150634cebf237c --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-013213177 +# @用例名称: ltp.syscalls-ipc.shmctl06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmctl06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmctl06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl07.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl07.sh new file mode 100755 index 0000000000000000000000000000000000000000..c4d2439ddec7b1b1497342f66214f267d2222c17 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-021772666 +# @用例名称: ltp.syscalls-ipc.shmctl07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmctl07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmctl07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl08.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl08.sh new file mode 100755 index 0000000000000000000000000000000000000000..2376903ca817c44a9aa33f4cdcf9d03cfefbb0ca --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmctl08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-030376679 +# @用例名称: ltp.syscalls-ipc.shmctl08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmctl08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmctl08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmdt01.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmdt01.sh new file mode 100755 index 0000000000000000000000000000000000000000..89a026cf266712f9336c365a26a77d61b583210a --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmdt01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-040967901 +# @用例名称: ltp.syscalls-ipc.shmdt01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmdt01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmdt01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmdt02.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmdt02.sh new file mode 100755 index 0000000000000000000000000000000000000000..4c418f53c792123f0ad8a852e1ec3296cbf01550 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmdt02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-049491973 +# @用例名称: ltp.syscalls-ipc.shmdt02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmdt02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmdt02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmget02.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmget02.sh new file mode 100755 index 0000000000000000000000000000000000000000..f6400753dc96480e1d1a2aac0b3bc75b1735969a --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmget02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-060109444 +# @用例名称: ltp.syscalls-ipc.shmget02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmget02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmget02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmget03.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmget03.sh new file mode 100755 index 0000000000000000000000000000000000000000..e61e4cadacf44444c83c2a2a321f41bf561850db --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmget03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-071613775 +# @用例名称: ltp.syscalls-ipc.shmget03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmget03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmget03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmget04.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmget04.sh new file mode 100755 index 0000000000000000000000000000000000000000..bea4ddf03904f021fa1ddca68f99a9f59bf3c0f2 --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmget04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-080576128 +# @用例名称: ltp.syscalls-ipc.shmget04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmget04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmget04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmget05.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmget05.sh new file mode 100755 index 0000000000000000000000000000000000000000..c4135f0a8a2d2a9c78e87708bee760ce8093d1ff --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmget05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-089670417 +# @用例名称: ltp.syscalls-ipc.shmget05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmget05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmget05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls-ipc/ltp.syscalls-ipc.shmget06.sh b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmget06.sh new file mode 100755 index 0000000000000000000000000000000000000000..1e8d64b2a6280810cc1f1a0fc1c817cc14b2f77b --- /dev/null +++ b/testcase/syscalls-ipc/ltp.syscalls-ipc.shmget06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-098358347 +# @用例名称: ltp.syscalls-ipc.shmget06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls-ipc.shmget06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls-ipc shmget06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.abort01.sh b/testcase/syscalls/ltp.syscalls.abort01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8052ab857ee7094689643d2f2fbdc00e921bc600 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.abort01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-719788102 +# @用例名称: ltp.syscalls.abort01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.abort01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls abort01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.accept01.sh b/testcase/syscalls/ltp.syscalls.accept01.sh new file mode 100755 index 0000000000000000000000000000000000000000..b778417ab63f0f0e2510274fbc89a53dc1979eaa --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.accept01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-730392738 +# @用例名称: ltp.syscalls.accept01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.accept01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls accept01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.accept02.sh b/testcase/syscalls/ltp.syscalls.accept02.sh new file mode 100755 index 0000000000000000000000000000000000000000..acee94a9e993f4d76275dbd2e472407082634864 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.accept02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-738993836 +# @用例名称: ltp.syscalls.accept02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.accept02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls accept02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.accept03.sh b/testcase/syscalls/ltp.syscalls.accept03.sh new file mode 100755 index 0000000000000000000000000000000000000000..67323734cfa7873e726c4d8c5060acffdc9719f3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.accept03.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172837-797107847 +# @用例名称: ltp.syscalls.accept03 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.accept03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls accept03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.accept4_01.sh b/testcase/syscalls/ltp.syscalls.accept4_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..36859625cc60188b2c05dc255ef75734b55f7daa --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.accept4_01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-749467036 +# @用例名称: ltp.syscalls.accept4_01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.accept4_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls accept4_01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.access01.sh b/testcase/syscalls/ltp.syscalls.access01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8fe5c81f257ff9a6fad4ecb5c3c9691bb8bf893a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.access01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-760120524 +# @用例名称: ltp.syscalls.access01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.access01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls access01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.access02.sh b/testcase/syscalls/ltp.syscalls.access02.sh new file mode 100755 index 0000000000000000000000000000000000000000..46561556a771810c4fae68acd621d84c1cb8483a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.access02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-768863016 +# @用例名称: ltp.syscalls.access02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.access02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls access02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.access03.sh b/testcase/syscalls/ltp.syscalls.access03.sh new file mode 100755 index 0000000000000000000000000000000000000000..b790cadf0c73580119c7cefc077771efb6ba4b2c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.access03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-777544864 +# @用例名称: ltp.syscalls.access03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.access03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls access03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.access04.sh b/testcase/syscalls/ltp.syscalls.access04.sh new file mode 100755 index 0000000000000000000000000000000000000000..4e79b9a7889b80b4cd71065c7ce619989425a05c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.access04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-786075740 +# @用例名称: ltp.syscalls.access04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.access04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls access04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.acct01.sh b/testcase/syscalls/ltp.syscalls.acct01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c79584fba102b8ba4ba84826e17d7655616c204e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.acct01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-796345299 +# @用例名称: ltp.syscalls.acct01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.acct01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls acct01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.acct02.sh b/testcase/syscalls/ltp.syscalls.acct02.sh new file mode 100755 index 0000000000000000000000000000000000000000..cf04e5ab17d91a81710b5c6546952117469ec0e7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.acct02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-804947549 +# @用例名称: ltp.syscalls.acct02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.acct02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls acct02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.add_key01.sh b/testcase/syscalls/ltp.syscalls.add_key01.sh new file mode 100755 index 0000000000000000000000000000000000000000..aded371559adb2aba320f8f5dfba3dce578c582c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.add_key01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-815341400 +# @用例名称: ltp.syscalls.add_key01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.add_key01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls add_key01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.add_key02.sh b/testcase/syscalls/ltp.syscalls.add_key02.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5888ca3c6fd580677adbfd61515ffec039ab842 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.add_key02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-823795924 +# @用例名称: ltp.syscalls.add_key02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.add_key02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls add_key02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.add_key03.sh b/testcase/syscalls/ltp.syscalls.add_key03.sh new file mode 100755 index 0000000000000000000000000000000000000000..55db95144b116ec680472228d92a5293ceb617e3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.add_key03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-832375520 +# @用例名称: ltp.syscalls.add_key03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.add_key03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls add_key03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.add_key04.sh b/testcase/syscalls/ltp.syscalls.add_key04.sh new file mode 100755 index 0000000000000000000000000000000000000000..fae5218601278b600485c44d575372acb71a3dfc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.add_key04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-841081834 +# @用例名称: ltp.syscalls.add_key04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.add_key04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls add_key04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.add_key05.sh b/testcase/syscalls/ltp.syscalls.add_key05.sh new file mode 100755 index 0000000000000000000000000000000000000000..47c23ffccc34f5a772f4a3cc444457847a2b1367 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.add_key05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-849819056 +# @用例名称: ltp.syscalls.add_key05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.add_key05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls add_key05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.adjtimex01.sh b/testcase/syscalls/ltp.syscalls.adjtimex01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9a2712e35ec05f12b4bbae12afb3d5cd9791a542 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.adjtimex01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-860257752 +# @用例名称: ltp.syscalls.adjtimex01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.adjtimex01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls adjtimex01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.adjtimex02.sh b/testcase/syscalls/ltp.syscalls.adjtimex02.sh new file mode 100755 index 0000000000000000000000000000000000000000..e12e0be908df97bcb34a32a38788081ad3eed51d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.adjtimex02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-868864961 +# @用例名称: ltp.syscalls.adjtimex02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.adjtimex02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls adjtimex02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.adjtimex03.sh b/testcase/syscalls/ltp.syscalls.adjtimex03.sh new file mode 100755 index 0000000000000000000000000000000000000000..f3638f6d475bd337be8d4b0523c85fec1c38524d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.adjtimex03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-878590582 +# @用例名称: ltp.syscalls.adjtimex03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.adjtimex03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls adjtimex03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.alarm02.sh b/testcase/syscalls/ltp.syscalls.alarm02.sh new file mode 100755 index 0000000000000000000000000000000000000000..60feeee1bd2388337c84be3876bf84c41ce96489 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.alarm02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-891608976 +# @用例名称: ltp.syscalls.alarm02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.alarm02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls alarm02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.alarm03.sh b/testcase/syscalls/ltp.syscalls.alarm03.sh new file mode 100755 index 0000000000000000000000000000000000000000..a608176dbd9067cbf56bd9b7c30b383ea89859f3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.alarm03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-900379410 +# @用例名称: ltp.syscalls.alarm03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.alarm03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls alarm03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.alarm05.sh b/testcase/syscalls/ltp.syscalls.alarm05.sh new file mode 100755 index 0000000000000000000000000000000000000000..7637b3964150af908c9bbcf67201f8de7c937369 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.alarm05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-909021855 +# @用例名称: ltp.syscalls.alarm05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.alarm05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls alarm05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.alarm06.sh b/testcase/syscalls/ltp.syscalls.alarm06.sh new file mode 100755 index 0000000000000000000000000000000000000000..71b824a4468586212dcc0c3355c91b6459172072 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.alarm06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-917627480 +# @用例名称: ltp.syscalls.alarm06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.alarm06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls alarm06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.alarm07.sh b/testcase/syscalls/ltp.syscalls.alarm07.sh new file mode 100755 index 0000000000000000000000000000000000000000..5e02bd12eb68c5b6ec5ccbe529c1ab4b9f19a1fc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.alarm07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-926198431 +# @用例名称: ltp.syscalls.alarm07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.alarm07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls alarm07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.arch_prctl01.sh b/testcase/syscalls/ltp.syscalls.arch_prctl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..de5dfd1e03345753b5b7e068148814178b25e5ea --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.arch_prctl01.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172837-869723872 +# @用例名称: ltp.syscalls.arch_prctl01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.arch_prctl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls arch_prctl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.bind01.sh b/testcase/syscalls/ltp.syscalls.bind01.sh new file mode 100755 index 0000000000000000000000000000000000000000..661f09df8f3c100a5db2451f62f5a2fa56907fc0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.bind01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-936791275 +# @用例名称: ltp.syscalls.bind01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.bind01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls bind01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.bind02.sh b/testcase/syscalls/ltp.syscalls.bind02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ff5b4a6b579ad33cbf03d39e9a3dc89dc0cd8a9a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.bind02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-945345474 +# @用例名称: ltp.syscalls.bind02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.bind02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls bind02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.bind03.sh b/testcase/syscalls/ltp.syscalls.bind03.sh new file mode 100755 index 0000000000000000000000000000000000000000..fa38267fbfd9b131aadc4c32e63304292eb268d1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.bind03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-953878153 +# @用例名称: ltp.syscalls.bind03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.bind03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls bind03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.bind04.sh b/testcase/syscalls/ltp.syscalls.bind04.sh new file mode 100755 index 0000000000000000000000000000000000000000..21a2c67bce181bba33e38dfd0c47e67e759acc86 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.bind04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-962397146 +# @用例名称: ltp.syscalls.bind04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.bind04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls bind04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.bind05.sh b/testcase/syscalls/ltp.syscalls.bind05.sh new file mode 100755 index 0000000000000000000000000000000000000000..79771b5a0669b96649170b9ba4fe0662fcefba59 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.bind05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-971122786 +# @用例名称: ltp.syscalls.bind05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.bind05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls bind05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.bind06.sh b/testcase/syscalls/ltp.syscalls.bind06.sh new file mode 100755 index 0000000000000000000000000000000000000000..a37e27e2872d282339d37dd48371d73d68eb769a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.bind06.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-979905714 +# @用例名称: ltp.syscalls.bind06 +# @用例级别: 3 +# @用例标签: +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.bind06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls bind06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.bpf_map01.sh b/testcase/syscalls/ltp.syscalls.bpf_map01.sh new file mode 100755 index 0000000000000000000000000000000000000000..46ee57054d3b3fa82b33f7340ea2cbc8a709f628 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.bpf_map01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-990248541 +# @用例名称: ltp.syscalls.bpf_map01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.bpf_map01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls bpf_map01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.bpf_prog01.sh b/testcase/syscalls/ltp.syscalls.bpf_prog01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0bb644ad9a0597c34cf52e5c6f16d2702bfd0108 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.bpf_prog01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213011-998919067 +# @用例名称: ltp.syscalls.bpf_prog01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.bpf_prog01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls bpf_prog01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.bpf_prog02.sh b/testcase/syscalls/ltp.syscalls.bpf_prog02.sh new file mode 100755 index 0000000000000000000000000000000000000000..bb17adca12c391ac7117e979118e2ad9aa764149 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.bpf_prog02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-007703698 +# @用例名称: ltp.syscalls.bpf_prog02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.bpf_prog02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls bpf_prog02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.bpf_prog03.sh b/testcase/syscalls/ltp.syscalls.bpf_prog03.sh new file mode 100755 index 0000000000000000000000000000000000000000..fe48e1ea30234cc91fd6adb621dc5c2b189e2b35 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.bpf_prog03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-016183307 +# @用例名称: ltp.syscalls.bpf_prog03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.bpf_prog03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls bpf_prog03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.bpf_prog04.sh b/testcase/syscalls/ltp.syscalls.bpf_prog04.sh new file mode 100755 index 0000000000000000000000000000000000000000..f821e107655e9fcfcc448262bdbea7486fd82041 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.bpf_prog04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-025105506 +# @用例名称: ltp.syscalls.bpf_prog04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.bpf_prog04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls bpf_prog04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.bpf_prog05.sh b/testcase/syscalls/ltp.syscalls.bpf_prog05.sh new file mode 100755 index 0000000000000000000000000000000000000000..c12381d34541341061a6d95bb595f4f3741ba384 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.bpf_prog05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-033811980 +# @用例名称: ltp.syscalls.bpf_prog05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.bpf_prog05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls bpf_prog05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.bpf_prog06.sh b/testcase/syscalls/ltp.syscalls.bpf_prog06.sh new file mode 100755 index 0000000000000000000000000000000000000000..704ddfd517d7e9b3d294f6cd8fd6ba45cf0d19cd --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.bpf_prog06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141851-361729557 +# @用例名称: ltp.syscalls.bpf_prog06 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.bpf_prog06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls bpf_prog06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.bpf_prog07.sh b/testcase/syscalls/ltp.syscalls.bpf_prog07.sh new file mode 100755 index 0000000000000000000000000000000000000000..8492dbe722886cc09b952e9dd880f8d6c159c668 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.bpf_prog07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141851-426202344 +# @用例名称: ltp.syscalls.bpf_prog07 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.bpf_prog07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls bpf_prog07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.brk01.sh b/testcase/syscalls/ltp.syscalls.brk01.sh new file mode 100755 index 0000000000000000000000000000000000000000..24dbef2f012128d19e32e60e0ad94bfa519dd0e7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.brk01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-045000279 +# @用例名称: ltp.syscalls.brk01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.brk01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls brk01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.brk02.sh b/testcase/syscalls/ltp.syscalls.brk02.sh new file mode 100755 index 0000000000000000000000000000000000000000..16f83584b3e06c519c2183ba6ebe95015342c0ad --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.brk02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-053541283 +# @用例名称: ltp.syscalls.brk02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.brk02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls brk02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.cacheflush01.sh b/testcase/syscalls/ltp.syscalls.cacheflush01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7dc70ad98ba4266a1f4add921e8348a74c7c565e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.cacheflush01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-120216907 +# @用例名称: ltp.syscalls.cacheflush01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.cacheflush01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls cacheflush01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.cachestat01.sh b/testcase/syscalls/ltp.syscalls.cachestat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..93f7ef82fe48247fb5e944f5c4d78a8709b361f4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.cachestat01.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110837-174948519 +# @用例名称: ltp.syscalls.cachestat01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.cachestat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls cachestat01 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.cachestat02.sh b/testcase/syscalls/ltp.syscalls.cachestat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..bc21432161b2c6dbbd4d3d8659fb37848dd50354 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.cachestat02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110837-260240787 +# @用例名称: ltp.syscalls.cachestat02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.cachestat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls cachestat02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.cachestat03.sh b/testcase/syscalls/ltp.syscalls.cachestat03.sh new file mode 100755 index 0000000000000000000000000000000000000000..34b297cbeffd0f0fda5c4a26c2098b62632a5c58 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.cachestat03.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110837-344532647 +# @用例名称: ltp.syscalls.cachestat03 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.cachestat03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls cachestat03 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.cachestat04.sh b/testcase/syscalls/ltp.syscalls.cachestat04.sh new file mode 100755 index 0000000000000000000000000000000000000000..f0c9b4c7319fedad21bcf39da9f5ba6fb2c2a5f0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.cachestat04.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110837-429798165 +# @用例名称: ltp.syscalls.cachestat04 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.cachestat04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls cachestat04 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.capget01.sh b/testcase/syscalls/ltp.syscalls.capget01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d374d5d657cb44758a05328300293908c9c4c4e4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.capget01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-064343369 +# @用例名称: ltp.syscalls.capget01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.capget01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls capget01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.capget02.sh b/testcase/syscalls/ltp.syscalls.capget02.sh new file mode 100755 index 0000000000000000000000000000000000000000..32564e0f8be88f6cfee48dea27fed0f39e0f6316 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.capget02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-073075792 +# @用例名称: ltp.syscalls.capget02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.capget02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls capget02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.capset01.sh b/testcase/syscalls/ltp.syscalls.capset01.sh new file mode 100755 index 0000000000000000000000000000000000000000..1a871d6da1f5f3c58162ec776a5fd5737be68d19 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.capset01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-083748547 +# @用例名称: ltp.syscalls.capset01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.capset01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls capset01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.capset02.sh b/testcase/syscalls/ltp.syscalls.capset02.sh new file mode 100755 index 0000000000000000000000000000000000000000..91e2507a187bbc2e15bac428d5ec9c563b18a9e1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.capset02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-092353811 +# @用例名称: ltp.syscalls.capset02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.capset02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls capset02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.capset03.sh b/testcase/syscalls/ltp.syscalls.capset03.sh new file mode 100755 index 0000000000000000000000000000000000000000..3dfa6165120f71bd2dbb3f0520142c3430d8919c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.capset03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-101005123 +# @用例名称: ltp.syscalls.capset03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.capset03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls capset03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.capset04.sh b/testcase/syscalls/ltp.syscalls.capset04.sh new file mode 100755 index 0000000000000000000000000000000000000000..4b086896c9cd704b0fe8e1d5337560c4defa1cfc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.capset04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-109605628 +# @用例名称: ltp.syscalls.capset04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.capset04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls capset04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chdir01.sh b/testcase/syscalls/ltp.syscalls.chdir01.sh new file mode 100755 index 0000000000000000000000000000000000000000..62a218b45be36098123e97a130d663a231994aa2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chdir01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-130608125 +# @用例名称: ltp.syscalls.chdir01 +# @用例级别: 2 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chdir01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chdir01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chdir04.sh b/testcase/syscalls/ltp.syscalls.chdir04.sh new file mode 100755 index 0000000000000000000000000000000000000000..e13ff6a00e9ae496dcf258f55cdfdf211b428312 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chdir04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-153074069 +# @用例名称: ltp.syscalls.chdir04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chdir04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chdir04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chmod01.sh b/testcase/syscalls/ltp.syscalls.chmod01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c2ae515e03abb7c413495a73f1013f53b280b580 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chmod01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-163750050 +# @用例名称: ltp.syscalls.chmod01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chmod01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chmod01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chmod03.sh b/testcase/syscalls/ltp.syscalls.chmod03.sh new file mode 100755 index 0000000000000000000000000000000000000000..6112f7adbe5582b0728f8deda76d662ef4fd8ef8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chmod03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-181224523 +# @用例名称: ltp.syscalls.chmod03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chmod03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chmod03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chmod05.sh b/testcase/syscalls/ltp.syscalls.chmod05.sh new file mode 100755 index 0000000000000000000000000000000000000000..f058913249da57de0b97eb483d93bdf34e0dd1f5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chmod05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-189916270 +# @用例名称: ltp.syscalls.chmod05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chmod05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chmod05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chmod06.sh b/testcase/syscalls/ltp.syscalls.chmod06.sh new file mode 100755 index 0000000000000000000000000000000000000000..e28255aa9c85d0d5e8b288d2d216ea4ea07308c1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chmod06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-198474156 +# @用例名称: ltp.syscalls.chmod06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chmod06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chmod06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chmod07.sh b/testcase/syscalls/ltp.syscalls.chmod07.sh new file mode 100755 index 0000000000000000000000000000000000000000..9d201001ba585c3a01bec21c252bf0bf6d14ef73 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chmod07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-207065826 +# @用例名称: ltp.syscalls.chmod07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chmod07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chmod07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chmod08.sh b/testcase/syscalls/ltp.syscalls.chmod08.sh new file mode 100755 index 0000000000000000000000000000000000000000..831c58407cf01ba3718c1b950b9fd3b9d522dec8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chmod08.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110837-512917561 +# @用例名称: ltp.syscalls.chmod08 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chmod08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chmod08 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chmod09.sh b/testcase/syscalls/ltp.syscalls.chmod09.sh new file mode 100755 index 0000000000000000000000000000000000000000..b89cb3432383e0e8a9ed30b912f6be9720880f40 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chmod09.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110837-596712040 +# @用例名称: ltp.syscalls.chmod09 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chmod09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chmod09 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chown01.sh b/testcase/syscalls/ltp.syscalls.chown01.sh new file mode 100755 index 0000000000000000000000000000000000000000..aeb4a753e934846d0f3b809bd010779b2ba0c00d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chown01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-217705357 +# @用例名称: ltp.syscalls.chown01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chown01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chown01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chown01_16.sh b/testcase/syscalls/ltp.syscalls.chown01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..074df888ecd88a3aaef2ad1fe035e4a1c1e7c481 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chown01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-226314921 +# @用例名称: ltp.syscalls.chown01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chown01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chown01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chown02.sh b/testcase/syscalls/ltp.syscalls.chown02.sh new file mode 100755 index 0000000000000000000000000000000000000000..afea869a6b32d3ccb7cbcbc9ed82766b2f38cccf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chown02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-234941465 +# @用例名称: ltp.syscalls.chown02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chown02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chown02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chown02_16.sh b/testcase/syscalls/ltp.syscalls.chown02_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..5d267762f63c4e0939d3b91d6ecc967d80296ae0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chown02_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-243459156 +# @用例名称: ltp.syscalls.chown02_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chown02_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chown02_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chown03.sh b/testcase/syscalls/ltp.syscalls.chown03.sh new file mode 100755 index 0000000000000000000000000000000000000000..da2121cfcbcbb3e124fc98bcbf2f8152b0f733ce --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chown03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-252028253 +# @用例名称: ltp.syscalls.chown03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chown03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chown03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chown03_16.sh b/testcase/syscalls/ltp.syscalls.chown03_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..b89711a9ebad3a8d11755423e1d4eb96014e36b6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chown03_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-260577884 +# @用例名称: ltp.syscalls.chown03_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chown03_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chown03_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chown04.sh b/testcase/syscalls/ltp.syscalls.chown04.sh new file mode 100755 index 0000000000000000000000000000000000000000..f4824a9028ea6c8979fb5f3b377f0afbf860909e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chown04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-269072532 +# @用例名称: ltp.syscalls.chown04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chown04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chown04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chown04_16.sh b/testcase/syscalls/ltp.syscalls.chown04_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..8273b6924bf2890d011fdce09bdc5e93f3acd4b1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chown04_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-277569915 +# @用例名称: ltp.syscalls.chown04_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chown04_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chown04_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chown05.sh b/testcase/syscalls/ltp.syscalls.chown05.sh new file mode 100755 index 0000000000000000000000000000000000000000..df73f9bad8ec1187126f50e7eb15a5923f84fcfa --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chown05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-286067909 +# @用例名称: ltp.syscalls.chown05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chown05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chown05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chown05_16.sh b/testcase/syscalls/ltp.syscalls.chown05_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..1f97a821c6ab3e7bedb7a2ba0493701bbd65168f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chown05_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-294722486 +# @用例名称: ltp.syscalls.chown05_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chown05_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chown05_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chroot01.sh b/testcase/syscalls/ltp.syscalls.chroot01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9df672965c6844e8a96bec8668fae518e6b29942 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chroot01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-305261459 +# @用例名称: ltp.syscalls.chroot01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chroot01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chroot01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chroot02.sh b/testcase/syscalls/ltp.syscalls.chroot02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b06b018c6bb84f4469a3cdc688ba013a934f7036 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chroot02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-317742057 +# @用例名称: ltp.syscalls.chroot02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chroot02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chroot02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chroot03.sh b/testcase/syscalls/ltp.syscalls.chroot03.sh new file mode 100755 index 0000000000000000000000000000000000000000..3cabd9367b16129141ede5d6a7621699ac5a5943 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chroot03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-326190448 +# @用例名称: ltp.syscalls.chroot03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chroot03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chroot03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.chroot04.sh b/testcase/syscalls/ltp.syscalls.chroot04.sh new file mode 100755 index 0000000000000000000000000000000000000000..90e35b1cc58b552959c2e340e71201eae4c561f5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.chroot04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-334696487 +# @用例名称: ltp.syscalls.chroot04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.chroot04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls chroot04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clock_adjtime01.sh b/testcase/syscalls/ltp.syscalls.clock_adjtime01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a2da312263ea4d92a354d2eb64a6166f8a5a2ac2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clock_adjtime01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-345192751 +# @用例名称: ltp.syscalls.clock_adjtime01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clock_adjtime01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clock_adjtime01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clock_adjtime02.sh b/testcase/syscalls/ltp.syscalls.clock_adjtime02.sh new file mode 100755 index 0000000000000000000000000000000000000000..29b762a0b64b03ddefd09409f04250e11701bc1e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clock_adjtime02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-355368486 +# @用例名称: ltp.syscalls.clock_adjtime02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clock_adjtime02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clock_adjtime02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clock_getres01.sh b/testcase/syscalls/ltp.syscalls.clock_getres01.sh new file mode 100755 index 0000000000000000000000000000000000000000..061a4629a0452e0e7a076aa27cda583f8e811faa --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clock_getres01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-369766912 +# @用例名称: ltp.syscalls.clock_getres01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clock_getres01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clock_getres01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clock_gettime01.sh b/testcase/syscalls/ltp.syscalls.clock_gettime01.sh new file mode 100755 index 0000000000000000000000000000000000000000..5661e828c061a66fc682bbb06c3f1f59df5eb124 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clock_gettime01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-416511685 +# @用例名称: ltp.syscalls.clock_gettime01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clock_gettime01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clock_gettime01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clock_gettime02.sh b/testcase/syscalls/ltp.syscalls.clock_gettime02.sh new file mode 100755 index 0000000000000000000000000000000000000000..71be558f062c53812634ae7dddff33cb246f88a4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clock_gettime02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-424981316 +# @用例名称: ltp.syscalls.clock_gettime02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clock_gettime02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clock_gettime02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clock_gettime03.sh b/testcase/syscalls/ltp.syscalls.clock_gettime03.sh new file mode 100755 index 0000000000000000000000000000000000000000..7339b0164eb98b0442b491935b0e2a1f557d80f0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clock_gettime03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-433640321 +# @用例名称: ltp.syscalls.clock_gettime03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clock_gettime03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clock_gettime03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clock_gettime04.sh b/testcase/syscalls/ltp.syscalls.clock_gettime04.sh new file mode 100755 index 0000000000000000000000000000000000000000..d1a4c51e446a8088e1a5524f98c735fb6493cfb4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clock_gettime04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-442524138 +# @用例名称: ltp.syscalls.clock_gettime04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clock_gettime04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clock_gettime04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clock_nanosleep01.sh b/testcase/syscalls/ltp.syscalls.clock_nanosleep01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f962bb78b2406e2646d5de4207aecd4381151032 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clock_nanosleep01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-378502801 +# @用例名称: ltp.syscalls.clock_nanosleep01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clock_nanosleep01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clock_nanosleep01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clock_nanosleep02.sh b/testcase/syscalls/ltp.syscalls.clock_nanosleep02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ee89b7414e5f71f1c474667766a011295a9ef0cb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clock_nanosleep02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-387144524 +# @用例名称: ltp.syscalls.clock_nanosleep02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clock_nanosleep02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clock_nanosleep02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clock_nanosleep03.sh b/testcase/syscalls/ltp.syscalls.clock_nanosleep03.sh new file mode 100755 index 0000000000000000000000000000000000000000..c99627ca67a76023555538bd9c88dff9f6fc2352 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clock_nanosleep03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-395722879 +# @用例名称: ltp.syscalls.clock_nanosleep03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clock_nanosleep03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clock_nanosleep03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clock_nanosleep04.sh b/testcase/syscalls/ltp.syscalls.clock_nanosleep04.sh new file mode 100755 index 0000000000000000000000000000000000000000..049d7d0bcf8287acdc496d8df45ae9ee44331762 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clock_nanosleep04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-404308156 +# @用例名称: ltp.syscalls.clock_nanosleep04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clock_nanosleep04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clock_nanosleep04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clock_settime01.sh b/testcase/syscalls/ltp.syscalls.clock_settime01.sh new file mode 100755 index 0000000000000000000000000000000000000000..cfd98c9af7606db0facf59d6cea2fc169e51f13e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clock_settime01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-462030053 +# @用例名称: ltp.syscalls.clock_settime01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clock_settime01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clock_settime01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clock_settime02.sh b/testcase/syscalls/ltp.syscalls.clock_settime02.sh new file mode 100755 index 0000000000000000000000000000000000000000..2caac2ebec89045d7fca6a8359f9376b19af88f4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clock_settime02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-470668320 +# @用例名称: ltp.syscalls.clock_settime02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clock_settime02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clock_settime02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clock_settime03.sh b/testcase/syscalls/ltp.syscalls.clock_settime03.sh new file mode 100755 index 0000000000000000000000000000000000000000..c6aedae5d6d6e059b4ce37accf7c9fcddf989385 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clock_settime03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-479214694 +# @用例名称: ltp.syscalls.clock_settime03 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clock_settime03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clock_settime03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clone01.sh b/testcase/syscalls/ltp.syscalls.clone01.sh new file mode 100755 index 0000000000000000000000000000000000000000..6315551c911412cea3e1cec37814b763d4e9d4d8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clone01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-489842765 +# @用例名称: ltp.syscalls.clone01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clone01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clone01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clone02.sh b/testcase/syscalls/ltp.syscalls.clone02.sh new file mode 100755 index 0000000000000000000000000000000000000000..7e161f1e23c5cdd74529f9bddeeafe6b6320b6d5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clone02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-498405219 +# @用例名称: ltp.syscalls.clone02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clone02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clone02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clone03.sh b/testcase/syscalls/ltp.syscalls.clone03.sh new file mode 100755 index 0000000000000000000000000000000000000000..55fff6a05aa87ad07983273036bc7cce9e6e00df --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clone03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-507072801 +# @用例名称: ltp.syscalls.clone03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clone03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clone03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clone04.sh b/testcase/syscalls/ltp.syscalls.clone04.sh new file mode 100755 index 0000000000000000000000000000000000000000..5be8ad47fe83bf40ae936f73baf5393cf6f9cd44 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clone04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-515749288 +# @用例名称: ltp.syscalls.clone04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clone04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clone04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clone05.sh b/testcase/syscalls/ltp.syscalls.clone05.sh new file mode 100755 index 0000000000000000000000000000000000000000..740fb0c9a892b9961e3c0ab6a451687662fb7da1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clone05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-524453549 +# @用例名称: ltp.syscalls.clone05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clone05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clone05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clone06.sh b/testcase/syscalls/ltp.syscalls.clone06.sh new file mode 100755 index 0000000000000000000000000000000000000000..8ec3574d8389b3a588cd8e2044a8132035fd276e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clone06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-533141969 +# @用例名称: ltp.syscalls.clone06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clone06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clone06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clone07.sh b/testcase/syscalls/ltp.syscalls.clone07.sh new file mode 100755 index 0000000000000000000000000000000000000000..ddd03b540c96947ac1e2e34e3f9b780b6735ec4e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clone07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-541815502 +# @用例名称: ltp.syscalls.clone07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clone07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clone07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clone08.sh b/testcase/syscalls/ltp.syscalls.clone08.sh new file mode 100755 index 0000000000000000000000000000000000000000..c99c7e964ea26308148ad234c97d59893d93130e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clone08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-550389027 +# @用例名称: ltp.syscalls.clone08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clone08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clone08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clone09.sh b/testcase/syscalls/ltp.syscalls.clone09.sh new file mode 100755 index 0000000000000000000000000000000000000000..f64918d9541a67ccd2186cc1d99d32d1b2a5d376 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clone09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-559025230 +# @用例名称: ltp.syscalls.clone09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clone09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clone09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clone301.sh b/testcase/syscalls/ltp.syscalls.clone301.sh new file mode 100755 index 0000000000000000000000000000000000000000..f811698833ad67ca16b6d8a1814feda1387311d9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clone301.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-569676454 +# @用例名称: ltp.syscalls.clone301 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clone301 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clone301 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clone302.sh b/testcase/syscalls/ltp.syscalls.clone302.sh new file mode 100755 index 0000000000000000000000000000000000000000..8695aaa351e20509641ef62dd15696ba2807b31a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clone302.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-578404428 +# @用例名称: ltp.syscalls.clone302 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clone302 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clone302 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.clone303.sh b/testcase/syscalls/ltp.syscalls.clone303.sh new file mode 100755 index 0000000000000000000000000000000000000000..08a48257e17652397e75d8d7a4183d6b4a81f9ec --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.clone303.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172837-945897448 +# @用例名称: ltp.syscalls.clone303 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.clone303 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls clone303 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.close01.sh b/testcase/syscalls/ltp.syscalls.close01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0da44c002dc590b90b68e5f7b63fc1f2655d1d31 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.close01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-588814662 +# @用例名称: ltp.syscalls.close01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.close01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls close01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.close02.sh b/testcase/syscalls/ltp.syscalls.close02.sh new file mode 100755 index 0000000000000000000000000000000000000000..687b5ff8505adcb171f4487952f3f116e4021710 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.close02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-597397854 +# @用例名称: ltp.syscalls.close02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.close02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls close02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.close_range01.sh b/testcase/syscalls/ltp.syscalls.close_range01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8354dd1cd9eb83d0f64722f24fd5416e8b0c2ca6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.close_range01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-607868521 +# @用例名称: ltp.syscalls.close_range01 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.close_range01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls close_range01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.close_range02.sh b/testcase/syscalls/ltp.syscalls.close_range02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b7758632967d9bbcb5d70356a8a152751998772b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.close_range02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-616608488 +# @用例名称: ltp.syscalls.close_range02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.close_range02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls close_range02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.confstr01.sh b/testcase/syscalls/ltp.syscalls.confstr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0e4811aee26f9e50f69aff1fcfd75c8c9efbd212 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.confstr01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-629014956 +# @用例名称: ltp.syscalls.confstr01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.confstr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls confstr01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.connect01.sh b/testcase/syscalls/ltp.syscalls.connect01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e3ff3b671f054fa7e3a297bec3a8a85ccf3d168e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.connect01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-639591350 +# @用例名称: ltp.syscalls.connect01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.connect01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls connect01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.connect02.sh b/testcase/syscalls/ltp.syscalls.connect02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ec90ddd10ba40f9c713b7eb9cea45487c4cf9970 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.connect02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-648181887 +# @用例名称: ltp.syscalls.connect02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.connect02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls connect02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.copy_file_range01.sh b/testcase/syscalls/ltp.syscalls.copy_file_range01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0c1e1ad5b1981e63a4e7dc307c65fa5c9f35ffba --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.copy_file_range01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-389222936 +# @用例名称: ltp.syscalls.copy_file_range01 +# @用例级别: 2 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.copy_file_range01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls copy_file_range01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.copy_file_range02.sh b/testcase/syscalls/ltp.syscalls.copy_file_range02.sh new file mode 100755 index 0000000000000000000000000000000000000000..7bd92fce7d8a9aa1d067adbefda310790398fe1c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.copy_file_range02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-397796971 +# @用例名称: ltp.syscalls.copy_file_range02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.copy_file_range02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls copy_file_range02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.copy_file_range03.sh b/testcase/syscalls/ltp.syscalls.copy_file_range03.sh new file mode 100755 index 0000000000000000000000000000000000000000..2559328afcd430966ea0647741c8e065757ec5c5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.copy_file_range03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-406369505 +# @用例名称: ltp.syscalls.copy_file_range03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.copy_file_range03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls copy_file_range03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.creat01.sh b/testcase/syscalls/ltp.syscalls.creat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9abf512500265ee4ee5f88196f4fc360709c88d5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.creat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-658852798 +# @用例名称: ltp.syscalls.creat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.creat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls creat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.creat03.sh b/testcase/syscalls/ltp.syscalls.creat03.sh new file mode 100755 index 0000000000000000000000000000000000000000..50b5e5654f54b14d71e4429bf1578f82b382ac79 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.creat03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-667524437 +# @用例名称: ltp.syscalls.creat03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.creat03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls creat03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.creat04.sh b/testcase/syscalls/ltp.syscalls.creat04.sh new file mode 100755 index 0000000000000000000000000000000000000000..af8b40e30636228ac4550093fb05a46ac152a0bc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.creat04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-676039433 +# @用例名称: ltp.syscalls.creat04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.creat04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls creat04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.creat05.sh b/testcase/syscalls/ltp.syscalls.creat05.sh new file mode 100755 index 0000000000000000000000000000000000000000..6d80cc85b1e0fc0e8e3216b8b7ca7350a8730490 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.creat05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-684675475 +# @用例名称: ltp.syscalls.creat05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.creat05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls creat05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.creat06.sh b/testcase/syscalls/ltp.syscalls.creat06.sh new file mode 100755 index 0000000000000000000000000000000000000000..43e060e583e1552b90a469deff662f5d6bb8ee83 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.creat06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-693299015 +# @用例名称: ltp.syscalls.creat06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.creat06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls creat06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.creat07.sh b/testcase/syscalls/ltp.syscalls.creat07.sh new file mode 100755 index 0000000000000000000000000000000000000000..1efffe90c06a1695db93ecc280ce35a9af2564b2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.creat07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-701877980 +# @用例名称: ltp.syscalls.creat07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.creat07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls creat07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.creat08.sh b/testcase/syscalls/ltp.syscalls.creat08.sh new file mode 100755 index 0000000000000000000000000000000000000000..7ea88489aae2c165a44f733af5cf5af0afad4acb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.creat08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-714387672 +# @用例名称: ltp.syscalls.creat08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.creat08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls creat08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.creat09.sh b/testcase/syscalls/ltp.syscalls.creat09.sh new file mode 100755 index 0000000000000000000000000000000000000000..dc47f716e5a63801733b5fbeed1149c647fc5440 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.creat09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-722912747 +# @用例名称: ltp.syscalls.creat09 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.creat09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls creat09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.delete_module01.sh b/testcase/syscalls/ltp.syscalls.delete_module01.sh new file mode 100755 index 0000000000000000000000000000000000000000..faea2f5fb6e95fb91edbc9646b0bfcfdf3f1fad7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.delete_module01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-734477521 +# @用例名称: ltp.syscalls.delete_module01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.delete_module01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls delete_module01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.delete_module02.sh b/testcase/syscalls/ltp.syscalls.delete_module02.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d07cad3957ce5dad27b530f9def65b46e242fac --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.delete_module02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-743062757 +# @用例名称: ltp.syscalls.delete_module02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.delete_module02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls delete_module02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.delete_module03.sh b/testcase/syscalls/ltp.syscalls.delete_module03.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c6f28a8376365277a34c39e163c910e3fd89bf4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.delete_module03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-751566963 +# @用例名称: ltp.syscalls.delete_module03 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.delete_module03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls delete_module03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dirtyc0w.sh b/testcase/syscalls/ltp.syscalls.dirtyc0w.sh new file mode 100755 index 0000000000000000000000000000000000000000..fda9a05cafc38ac0e4864d41e2b6f3faecd87840 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dirtyc0w.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-328304692 +# @用例名称: ltp.syscalls.dirtyc0w +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dirtyc0w + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dirtyc0w + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dirtyc0w_shmem.sh b/testcase/syscalls/ltp.syscalls.dirtyc0w_shmem.sh new file mode 100755 index 0000000000000000000000000000000000000000..fee048a8c601610672c5c67543c606f57e23c049 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dirtyc0w_shmem.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141852-789277645 +# @用例名称: ltp.syscalls.dirtyc0w_shmem +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dirtyc0w_shmem + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dirtyc0w_shmem + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dirtypipe.sh b/testcase/syscalls/ltp.syscalls.dirtypipe.sh new file mode 100755 index 0000000000000000000000000000000000000000..b7793c385317961233235f9f955923f5ff47f706 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dirtypipe.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141852-852976126 +# @用例名称: ltp.syscalls.dirtypipe +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dirtypipe + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dirtypipe + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dup01.sh b/testcase/syscalls/ltp.syscalls.dup01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d6f8111ec1a517ff27a51abd84cee52313bbac9f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dup01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-763399558 +# @用例名称: ltp.syscalls.dup01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dup01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dup01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dup02.sh b/testcase/syscalls/ltp.syscalls.dup02.sh new file mode 100755 index 0000000000000000000000000000000000000000..62bc4f4945cd264a4762c585ed0b78778fbca14d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dup02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-772094381 +# @用例名称: ltp.syscalls.dup02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dup02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dup02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dup03.sh b/testcase/syscalls/ltp.syscalls.dup03.sh new file mode 100755 index 0000000000000000000000000000000000000000..5a2800240ca6173d84dac626c95cdea99c30c19b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dup03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-780705977 +# @用例名称: ltp.syscalls.dup03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dup03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dup03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dup04.sh b/testcase/syscalls/ltp.syscalls.dup04.sh new file mode 100755 index 0000000000000000000000000000000000000000..a6648fc87feb7d3277c734858c42c1e15441ca97 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dup04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-791058803 +# @用例名称: ltp.syscalls.dup04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dup04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dup04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dup05.sh b/testcase/syscalls/ltp.syscalls.dup05.sh new file mode 100755 index 0000000000000000000000000000000000000000..54dbb6562ef5174254472135aed7ef50f1c0c968 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dup05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-799527792 +# @用例名称: ltp.syscalls.dup05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dup05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dup05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dup06.sh b/testcase/syscalls/ltp.syscalls.dup06.sh new file mode 100755 index 0000000000000000000000000000000000000000..d8b85be1e32db7e50d059baa842c3c93dc4ca002 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dup06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-808047347 +# @用例名称: ltp.syscalls.dup06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dup06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dup06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dup07.sh b/testcase/syscalls/ltp.syscalls.dup07.sh new file mode 100755 index 0000000000000000000000000000000000000000..635ab847479e302b78b54a8a087cb1f0c7e1e33c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dup07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-816666136 +# @用例名称: ltp.syscalls.dup07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dup07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dup07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dup201.sh b/testcase/syscalls/ltp.syscalls.dup201.sh new file mode 100755 index 0000000000000000000000000000000000000000..47a17701aae11a2e57d3835ad71bfdc03fa36d9b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dup201.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-827126123 +# @用例名称: ltp.syscalls.dup201 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dup201 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dup201 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dup202.sh b/testcase/syscalls/ltp.syscalls.dup202.sh new file mode 100755 index 0000000000000000000000000000000000000000..5b4838c0de3b3d579b50e5241a8c00cde02dec2c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dup202.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-835713514 +# @用例名称: ltp.syscalls.dup202 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dup202 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dup202 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dup203.sh b/testcase/syscalls/ltp.syscalls.dup203.sh new file mode 100755 index 0000000000000000000000000000000000000000..a9dc7a4a8477ddc2d5aea780eb6a7cb7a4f92493 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dup203.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-844199756 +# @用例名称: ltp.syscalls.dup203 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dup203 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dup203 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dup204.sh b/testcase/syscalls/ltp.syscalls.dup204.sh new file mode 100755 index 0000000000000000000000000000000000000000..9503972778f6d67dfe688cb51b0959b8cfd09a57 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dup204.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-852775155 +# @用例名称: ltp.syscalls.dup204 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dup204 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dup204 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dup205.sh b/testcase/syscalls/ltp.syscalls.dup205.sh new file mode 100755 index 0000000000000000000000000000000000000000..a445797b75e0cd0e95ca009c817b66adab8d70bb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dup205.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-863373660 +# @用例名称: ltp.syscalls.dup205 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dup205 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dup205 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dup206.sh b/testcase/syscalls/ltp.syscalls.dup206.sh new file mode 100755 index 0000000000000000000000000000000000000000..c397a7327d2085e3281e657de3d68c0969167094 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dup206.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-871890029 +# @用例名称: ltp.syscalls.dup206 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dup206 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dup206 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dup207.sh b/testcase/syscalls/ltp.syscalls.dup207.sh new file mode 100755 index 0000000000000000000000000000000000000000..2148a741ce0d40376596a2bf891ec898542f719e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dup207.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-880535799 +# @用例名称: ltp.syscalls.dup207 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dup207 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dup207 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dup3_01.sh b/testcase/syscalls/ltp.syscalls.dup3_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9a8e15d43f6a5aa1a9d0a3efea069b28036013f8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dup3_01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-891002188 +# @用例名称: ltp.syscalls.dup3_01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dup3_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dup3_01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.dup3_02.sh b/testcase/syscalls/ltp.syscalls.dup3_02.sh new file mode 100755 index 0000000000000000000000000000000000000000..7c8ab01fa0f71328ca6f8cb79455cba279f7e8ab --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.dup3_02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-899485494 +# @用例名称: ltp.syscalls.dup3_02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.dup3_02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls dup3_02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll01.sh b/testcase/syscalls/ltp.syscalls.epoll01.sh new file mode 100755 index 0000000000000000000000000000000000000000..cb3b7293cdbc23260a40a777513899d7c5c3dbdb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-944335340 +# @用例名称: ltp.syscalls.epoll01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_create01.sh b/testcase/syscalls/ltp.syscalls.epoll_create01.sh new file mode 100755 index 0000000000000000000000000000000000000000..b7afb86c9a78a6021b48a28248653e50a572a0fc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_create01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-910045878 +# @用例名称: ltp.syscalls.epoll_create01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_create01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_create01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_create02.sh b/testcase/syscalls/ltp.syscalls.epoll_create02.sh new file mode 100755 index 0000000000000000000000000000000000000000..85d526f236664ee79d765759284200a29bed5c5b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_create02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-918588785 +# @用例名称: ltp.syscalls.epoll_create02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_create02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_create02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_create1_01.sh b/testcase/syscalls/ltp.syscalls.epoll_create1_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..eef6fe6c78f12a3080e7c2ea00ad4a6d2e8419d2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_create1_01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-927171148 +# @用例名称: ltp.syscalls.epoll_create1_01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_create1_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_create1_01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_create1_02.sh b/testcase/syscalls/ltp.syscalls.epoll_create1_02.sh new file mode 100755 index 0000000000000000000000000000000000000000..4ed8dee9f4088483c79146c275fa5186802858b5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_create1_02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-935717432 +# @用例名称: ltp.syscalls.epoll_create1_02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_create1_02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_create1_02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_ctl01.sh b/testcase/syscalls/ltp.syscalls.epoll_ctl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e727e009898f3430c682f045d63a8d3e6273eebe --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_ctl01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-952930827 +# @用例名称: ltp.syscalls.epoll_ctl01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_ctl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_ctl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_ctl02.sh b/testcase/syscalls/ltp.syscalls.epoll_ctl02.sh new file mode 100755 index 0000000000000000000000000000000000000000..2a515b6856358bee8c8ff44924fdbbb2c617349a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_ctl02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-961650566 +# @用例名称: ltp.syscalls.epoll_ctl02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_ctl02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_ctl02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_ctl03.sh b/testcase/syscalls/ltp.syscalls.epoll_ctl03.sh new file mode 100755 index 0000000000000000000000000000000000000000..4935d1c6736751318eb398de180dc37399823ac5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_ctl03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-970369093 +# @用例名称: ltp.syscalls.epoll_ctl03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_ctl03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_ctl03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_ctl04.sh b/testcase/syscalls/ltp.syscalls.epoll_ctl04.sh new file mode 100755 index 0000000000000000000000000000000000000000..d5df34c9be4b564a3fb3e206bf605a292abefd0c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_ctl04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-979042646 +# @用例名称: ltp.syscalls.epoll_ctl04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_ctl04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_ctl04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_ctl05.sh b/testcase/syscalls/ltp.syscalls.epoll_ctl05.sh new file mode 100755 index 0000000000000000000000000000000000000000..24bfb35be98bb7ebf9062e6122f007ba3afc2747 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_ctl05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-987597355 +# @用例名称: ltp.syscalls.epoll_ctl05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_ctl05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_ctl05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_pwait01.sh b/testcase/syscalls/ltp.syscalls.epoll_pwait01.sh new file mode 100755 index 0000000000000000000000000000000000000000..05cd9c8c503fa52743c1d015bedfb3a358f5701f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_pwait01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-034389147 +# @用例名称: ltp.syscalls.epoll_pwait01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_pwait01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_pwait01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_pwait02.sh b/testcase/syscalls/ltp.syscalls.epoll_pwait02.sh new file mode 100755 index 0000000000000000000000000000000000000000..fc0bf3fa067a0a7f60f1339388800dc72d520e63 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_pwait02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-043455404 +# @用例名称: ltp.syscalls.epoll_pwait02 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_pwait02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_pwait02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_pwait03.sh b/testcase/syscalls/ltp.syscalls.epoll_pwait03.sh new file mode 100755 index 0000000000000000000000000000000000000000..d564c09dff8cc2003171822a927656b952effb8c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_pwait03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-052499170 +# @用例名称: ltp.syscalls.epoll_pwait03 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_pwait03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_pwait03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_pwait04.sh b/testcase/syscalls/ltp.syscalls.epoll_pwait04.sh new file mode 100755 index 0000000000000000000000000000000000000000..a7a1cc9ea390c69c0a329a90545fcc42ad2afc8f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_pwait04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-061090028 +# @用例名称: ltp.syscalls.epoll_pwait04 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_pwait04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_pwait04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_pwait05.sh b/testcase/syscalls/ltp.syscalls.epoll_pwait05.sh new file mode 100755 index 0000000000000000000000000000000000000000..350212d632d8ebbc5959ff6b68dd0c8b0fe1945f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_pwait05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-069654156 +# @用例名称: ltp.syscalls.epoll_pwait05 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_pwait05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_pwait05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_pwait06.sh b/testcase/syscalls/ltp.syscalls.epoll_pwait06.sh new file mode 100755 index 0000000000000000000000000000000000000000..92b019fa57132efc88affa1e7a22b372807553c1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_pwait06.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110837-681791483 +# @用例名称: ltp.syscalls.epoll_pwait06 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_pwait06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_pwait06 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_wait01.sh b/testcase/syscalls/ltp.syscalls.epoll_wait01.sh new file mode 100755 index 0000000000000000000000000000000000000000..891987eb6a2c9a752ad0924372e3039c9fa6a987 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_wait01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-996018997 +# @用例名称: ltp.syscalls.epoll_wait01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_wait01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_wait01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_wait02.sh b/testcase/syscalls/ltp.syscalls.epoll_wait02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ad1142ddbf54858f6583988887d268e60c276d3a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_wait02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-004543961 +# @用例名称: ltp.syscalls.epoll_wait02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_wait02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_wait02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_wait03.sh b/testcase/syscalls/ltp.syscalls.epoll_wait03.sh new file mode 100755 index 0000000000000000000000000000000000000000..2492182527f1d7fdf87c203a80b450c60b3eb14a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_wait03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-013255916 +# @用例名称: ltp.syscalls.epoll_wait03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_wait03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_wait03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_wait04.sh b/testcase/syscalls/ltp.syscalls.epoll_wait04.sh new file mode 100755 index 0000000000000000000000000000000000000000..222a76026735b0fb51c6934d50044efd20009ed0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_wait04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-025846199 +# @用例名称: ltp.syscalls.epoll_wait04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_wait04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_wait04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_wait05.sh b/testcase/syscalls/ltp.syscalls.epoll_wait05.sh new file mode 100755 index 0000000000000000000000000000000000000000..31d6e865f3ce73b70b17f1c4a1c448deb2ac8fdd --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_wait05.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172838-021827047 +# @用例名称: ltp.syscalls.epoll_wait05 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_wait05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_wait05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_wait06.sh b/testcase/syscalls/ltp.syscalls.epoll_wait06.sh new file mode 100755 index 0000000000000000000000000000000000000000..65bf484e28c7a1a4723a6d71bc5929116b881ce2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_wait06.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172838-106298584 +# @用例名称: ltp.syscalls.epoll_wait06 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_wait06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_wait06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.epoll_wait07.sh b/testcase/syscalls/ltp.syscalls.epoll_wait07.sh new file mode 100755 index 0000000000000000000000000000000000000000..b31fa9941dcaf20c2dc8ed286a29bc477a671bb4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.epoll_wait07.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172838-183947463 +# @用例名称: ltp.syscalls.epoll_wait07 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.epoll_wait07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls epoll_wait07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.eventfd01.sh b/testcase/syscalls/ltp.syscalls.eventfd01.sh new file mode 100755 index 0000000000000000000000000000000000000000..101b160acfffbfeb149498678e908552a23b7cfe --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.eventfd01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-080242782 +# @用例名称: ltp.syscalls.eventfd01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.eventfd01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls eventfd01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.eventfd02.sh b/testcase/syscalls/ltp.syscalls.eventfd02.sh new file mode 100755 index 0000000000000000000000000000000000000000..e08c889f30c40fbaa73ceb9832698c21145c2ca9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.eventfd02.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172838-259351063 +# @用例名称: ltp.syscalls.eventfd02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.eventfd02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls eventfd02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.eventfd03.sh b/testcase/syscalls/ltp.syscalls.eventfd03.sh new file mode 100755 index 0000000000000000000000000000000000000000..97757e625691a45a785c50ab64764cbae397e599 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.eventfd03.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172838-341022514 +# @用例名称: ltp.syscalls.eventfd03 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.eventfd03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls eventfd03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.eventfd04.sh b/testcase/syscalls/ltp.syscalls.eventfd04.sh new file mode 100755 index 0000000000000000000000000000000000000000..ab6447bcc0879abbe7aab518b61176812a98f666 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.eventfd04.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172838-414947635 +# @用例名称: ltp.syscalls.eventfd04 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.eventfd04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls eventfd04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.eventfd05.sh b/testcase/syscalls/ltp.syscalls.eventfd05.sh new file mode 100755 index 0000000000000000000000000000000000000000..66795d242675f97f288770f53215f7cf0a224a36 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.eventfd05.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172838-490071965 +# @用例名称: ltp.syscalls.eventfd05 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.eventfd05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls eventfd05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.eventfd06.sh b/testcase/syscalls/ltp.syscalls.eventfd06.sh new file mode 100755 index 0000000000000000000000000000000000000000..868d1de816ee3adc7b3465cb181472ebe45bce6e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.eventfd06.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172838-563667756 +# @用例名称: ltp.syscalls.eventfd06 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.eventfd06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls eventfd06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.eventfd2_01.sh b/testcase/syscalls/ltp.syscalls.eventfd2_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e63e59cd730c1c0ae07677f1e691b66875c39293 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.eventfd2_01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-091057572 +# @用例名称: ltp.syscalls.eventfd2_01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.eventfd2_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls eventfd2_01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.eventfd2_02.sh b/testcase/syscalls/ltp.syscalls.eventfd2_02.sh new file mode 100755 index 0000000000000000000000000000000000000000..5ada6af5a0b496cf3ffcd1839c489d71ede949ad --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.eventfd2_02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-101147255 +# @用例名称: ltp.syscalls.eventfd2_02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.eventfd2_02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls eventfd2_02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.eventfd2_03.sh b/testcase/syscalls/ltp.syscalls.eventfd2_03.sh new file mode 100755 index 0000000000000000000000000000000000000000..c33be9e12a2cce3bdd5856600f1326c9fafd824d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.eventfd2_03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-111233161 +# @用例名称: ltp.syscalls.eventfd2_03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.eventfd2_03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls eventfd2_03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.execl01.sh b/testcase/syscalls/ltp.syscalls.execl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4be383445f470becade712948a82c6bc3f084912 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.execl01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-122202710 +# @用例名称: ltp.syscalls.execl01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.execl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls execl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.execle01.sh b/testcase/syscalls/ltp.syscalls.execle01.sh new file mode 100755 index 0000000000000000000000000000000000000000..352b8ac9d0a7711575ad8a25aaa006ffaae56093 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.execle01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-131269960 +# @用例名称: ltp.syscalls.execle01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.execle01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls execle01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.execlp01.sh b/testcase/syscalls/ltp.syscalls.execlp01.sh new file mode 100755 index 0000000000000000000000000000000000000000..58ed68d2e476cb0c48571cf33752f753e6fad3af --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.execlp01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-139978397 +# @用例名称: ltp.syscalls.execlp01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.execlp01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls execlp01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.execv01.sh b/testcase/syscalls/ltp.syscalls.execv01.sh new file mode 100755 index 0000000000000000000000000000000000000000..eb44af1d0b6c46cb6710ae9742d00b241716f787 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.execv01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-150403108 +# @用例名称: ltp.syscalls.execv01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.execv01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls execv01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.execve01.sh b/testcase/syscalls/ltp.syscalls.execve01.sh new file mode 100755 index 0000000000000000000000000000000000000000..b99e0dfe333b3e3d20e987a752a77a481b3725da --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.execve01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-159084846 +# @用例名称: ltp.syscalls.execve01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.execve01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls execve01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.execve02.sh b/testcase/syscalls/ltp.syscalls.execve02.sh new file mode 100755 index 0000000000000000000000000000000000000000..718244c46377b042a351ca89f9a515d6abeeb59b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.execve02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-167785288 +# @用例名称: ltp.syscalls.execve02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.execve02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls execve02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.execve03.sh b/testcase/syscalls/ltp.syscalls.execve03.sh new file mode 100755 index 0000000000000000000000000000000000000000..739a1cc6d3e485a72b57440749eb1c200ef22dbb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.execve03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-176446709 +# @用例名称: ltp.syscalls.execve03 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.execve03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls execve03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.execve04.sh b/testcase/syscalls/ltp.syscalls.execve04.sh new file mode 100755 index 0000000000000000000000000000000000000000..47b8b053c81e1981dea008a4afd92fc4c369c027 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.execve04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-185142884 +# @用例名称: ltp.syscalls.execve04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.execve04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls execve04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.execve05.sh b/testcase/syscalls/ltp.syscalls.execve05.sh new file mode 100755 index 0000000000000000000000000000000000000000..ccf567f4ad2c586cfa10194ebd9f076b69b175e7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.execve05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-193671385 +# @用例名称: ltp.syscalls.execve05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.execve05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls execve05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.execve06.sh b/testcase/syscalls/ltp.syscalls.execve06.sh new file mode 100755 index 0000000000000000000000000000000000000000..ceffdb41198c63ad66fb8cb2fb022d0d20b20561 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.execve06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141851-491416493 +# @用例名称: ltp.syscalls.execve06 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.execve06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls execve06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.execveat01.sh b/testcase/syscalls/ltp.syscalls.execveat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8b8f1ce20fa4a2d5678519af21b9862a0c1498dc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.execveat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-210868299 +# @用例名称: ltp.syscalls.execveat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.execveat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls execveat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.execveat02.sh b/testcase/syscalls/ltp.syscalls.execveat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..00bda83720dbb33700103664b2101cee81beb28b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.execveat02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-221342391 +# @用例名称: ltp.syscalls.execveat02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.execveat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls execveat02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.execveat03.sh b/testcase/syscalls/ltp.syscalls.execveat03.sh new file mode 100755 index 0000000000000000000000000000000000000000..cf2c976c223a71abe159f9c1fb627d6b82534ccc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.execveat03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-229899005 +# @用例名称: ltp.syscalls.execveat03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.execveat03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls execveat03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.execvp01.sh b/testcase/syscalls/ltp.syscalls.execvp01.sh new file mode 100755 index 0000000000000000000000000000000000000000..6bc6176fcd12b6b45512e8d706fe559daae73e22 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.execvp01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-202245671 +# @用例名称: ltp.syscalls.execvp01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.execvp01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls execvp01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.exit01.sh b/testcase/syscalls/ltp.syscalls.exit01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8af86f05c332ec2d2a401560c0ad4c86f86ddbbf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.exit01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-240595373 +# @用例名称: ltp.syscalls.exit01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.exit01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls exit01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.exit02.sh b/testcase/syscalls/ltp.syscalls.exit02.sh new file mode 100755 index 0000000000000000000000000000000000000000..4a5e773d1ea17413629d7d9d863eaf91badde35a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.exit02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-249210506 +# @用例名称: ltp.syscalls.exit02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.exit02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls exit02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.exit_group01.sh b/testcase/syscalls/ltp.syscalls.exit_group01.sh new file mode 100755 index 0000000000000000000000000000000000000000..58f675472fb98926120b3b22bbf8b3ce12b88f33 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.exit_group01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-259647509 +# @用例名称: ltp.syscalls.exit_group01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.exit_group01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls exit_group01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.faccessat01.sh b/testcase/syscalls/ltp.syscalls.faccessat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..12af71ecc88f38ff1b1628c28d703eb2e65e6154 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.faccessat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-271031344 +# @用例名称: ltp.syscalls.faccessat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.faccessat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls faccessat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.faccessat02.sh b/testcase/syscalls/ltp.syscalls.faccessat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..8fff4447d5556d9c121c16930c7b279a6d9b731b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.faccessat02.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172838-637298337 +# @用例名称: ltp.syscalls.faccessat02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.faccessat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls faccessat02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.faccessat201.sh b/testcase/syscalls/ltp.syscalls.faccessat201.sh new file mode 100755 index 0000000000000000000000000000000000000000..1b8f25412dc6d5a563e121db968e22b4c563d7d7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.faccessat201.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172838-711062337 +# @用例名称: ltp.syscalls.faccessat201 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.faccessat201 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls faccessat201 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.faccessat202.sh b/testcase/syscalls/ltp.syscalls.faccessat202.sh new file mode 100755 index 0000000000000000000000000000000000000000..7d83564ad87c521a8d766bdd39bd45656e88b792 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.faccessat202.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172838-785317421 +# @用例名称: ltp.syscalls.faccessat202 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.faccessat202 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls faccessat202 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fallocate01.sh b/testcase/syscalls/ltp.syscalls.fallocate01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a51c1c697b1ca95e52b29319d68073984cbcd77d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fallocate01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-282719058 +# @用例名称: ltp.syscalls.fallocate01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fallocate01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fallocate01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fallocate02.sh b/testcase/syscalls/ltp.syscalls.fallocate02.sh new file mode 100755 index 0000000000000000000000000000000000000000..a9892bc3aa3bfc4a8edf6500112f06240fe1832a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fallocate02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-291235326 +# @用例名称: ltp.syscalls.fallocate02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fallocate02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fallocate02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fallocate03.sh b/testcase/syscalls/ltp.syscalls.fallocate03.sh new file mode 100755 index 0000000000000000000000000000000000000000..b3c6237fcec6f0ac451cd1bac3f5e92a18aa7646 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fallocate03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-299792931 +# @用例名称: ltp.syscalls.fallocate03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fallocate03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fallocate03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fallocate04.sh b/testcase/syscalls/ltp.syscalls.fallocate04.sh new file mode 100755 index 0000000000000000000000000000000000000000..0df446a3f333b3c264008f445b8a14688717d555 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fallocate04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-308642834 +# @用例名称: ltp.syscalls.fallocate04 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fallocate04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fallocate04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fallocate05.sh b/testcase/syscalls/ltp.syscalls.fallocate05.sh new file mode 100755 index 0000000000000000000000000000000000000000..b7271fb4f4486926f3c9eaa9c908f3f847b8255b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fallocate05.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-317376249 +# @用例名称: ltp.syscalls.fallocate05 +# @用例级别: 4 +# @用例标签: 待分析 +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fallocate05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fallocate05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fallocate06.sh b/testcase/syscalls/ltp.syscalls.fallocate06.sh new file mode 100755 index 0000000000000000000000000000000000000000..9c5e018f807eef889777e90201fd60b770bcbbe2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fallocate06.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-325940267 +# @用例名称: ltp.syscalls.fallocate06 +# @用例级别: 4 +# @用例标签: 待分析 +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fallocate06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fallocate06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify01.sh b/testcase/syscalls/ltp.syscalls.fanotify01.sh new file mode 100755 index 0000000000000000000000000000000000000000..39baa6d775af6bf65d65c425b926dc2aa3f270a0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-096807113 +# @用例名称: ltp.syscalls.fanotify01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify02.sh b/testcase/syscalls/ltp.syscalls.fanotify02.sh new file mode 100755 index 0000000000000000000000000000000000000000..2b409394ee4e69d1ee08aa9faf0fba2076e83724 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-105396668 +# @用例名称: ltp.syscalls.fanotify02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify03.sh b/testcase/syscalls/ltp.syscalls.fanotify03.sh new file mode 100755 index 0000000000000000000000000000000000000000..61748543e4233b528b343677b1dc928ddc653c16 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-114392424 +# @用例名称: ltp.syscalls.fanotify03 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify04.sh b/testcase/syscalls/ltp.syscalls.fanotify04.sh new file mode 100755 index 0000000000000000000000000000000000000000..2e0a9f8bf15047b9a5afc87def819b053b8fdf35 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-122859350 +# @用例名称: ltp.syscalls.fanotify04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify05.sh b/testcase/syscalls/ltp.syscalls.fanotify05.sh new file mode 100755 index 0000000000000000000000000000000000000000..b6de5d417eac21ff44c1451349611b3792f539db --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-131435621 +# @用例名称: ltp.syscalls.fanotify05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify06.sh b/testcase/syscalls/ltp.syscalls.fanotify06.sh new file mode 100755 index 0000000000000000000000000000000000000000..3ad49bfa215ea0d09660a452800a3cb05f691547 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-140031738 +# @用例名称: ltp.syscalls.fanotify06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify07.sh b/testcase/syscalls/ltp.syscalls.fanotify07.sh new file mode 100755 index 0000000000000000000000000000000000000000..2609de126aead4669fda4aeff26a9b188bfc4287 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-148532176 +# @用例名称: ltp.syscalls.fanotify07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify08.sh b/testcase/syscalls/ltp.syscalls.fanotify08.sh new file mode 100755 index 0000000000000000000000000000000000000000..cd055a54605d596dde8581edb835498823dfd565 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-161105287 +# @用例名称: ltp.syscalls.fanotify08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify09.sh b/testcase/syscalls/ltp.syscalls.fanotify09.sh new file mode 100755 index 0000000000000000000000000000000000000000..013383a7e8cd159118df6a05f0cbf8c32964fc20 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-169611216 +# @用例名称: ltp.syscalls.fanotify09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify10.sh b/testcase/syscalls/ltp.syscalls.fanotify10.sh new file mode 100755 index 0000000000000000000000000000000000000000..22fc30ab79da8e102f5047974acc0fda37d6ddb9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-178228524 +# @用例名称: ltp.syscalls.fanotify10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify11.sh b/testcase/syscalls/ltp.syscalls.fanotify11.sh new file mode 100755 index 0000000000000000000000000000000000000000..7bf31b2515debf187481d688acd73569c3d9a52f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-186823029 +# @用例名称: ltp.syscalls.fanotify11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify11 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify12.sh b/testcase/syscalls/ltp.syscalls.fanotify12.sh new file mode 100755 index 0000000000000000000000000000000000000000..abe80a9a1ca0b911e24c2947b53f105fc4119bc3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-196040740 +# @用例名称: ltp.syscalls.fanotify12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify12 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify13.sh b/testcase/syscalls/ltp.syscalls.fanotify13.sh new file mode 100755 index 0000000000000000000000000000000000000000..29089ffc2deb9d957bd635ea48d39e70a6f548e2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-204633520 +# @用例名称: ltp.syscalls.fanotify13 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify13 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify14.sh b/testcase/syscalls/ltp.syscalls.fanotify14.sh new file mode 100755 index 0000000000000000000000000000000000000000..f42b24b6ae2fd6aeded46e43d042b9a69e94a15f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-213355423 +# @用例名称: ltp.syscalls.fanotify14 +# @用例级别: 3 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify14 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify15.sh b/testcase/syscalls/ltp.syscalls.fanotify15.sh new file mode 100755 index 0000000000000000000000000000000000000000..a521a6f567649b31f98410a4857b40125d553fcf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-222066086 +# @用例名称: ltp.syscalls.fanotify15 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify15 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify16.sh b/testcase/syscalls/ltp.syscalls.fanotify16.sh new file mode 100755 index 0000000000000000000000000000000000000000..e52a581931f9bca89d74bdbb991057c201c6192b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-230604205 +# @用例名称: ltp.syscalls.fanotify16 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify17.sh b/testcase/syscalls/ltp.syscalls.fanotify17.sh new file mode 100755 index 0000000000000000000000000000000000000000..7f00e5d72f6a54e8c2450722031625c3f3811bd2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-239077152 +# @用例名称: ltp.syscalls.fanotify17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify17 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify18.sh b/testcase/syscalls/ltp.syscalls.fanotify18.sh new file mode 100755 index 0000000000000000000000000000000000000000..943b5de68a1366637d78d7e57541930fc437d2cd --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-247723935 +# @用例名称: ltp.syscalls.fanotify18 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify18 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify19.sh b/testcase/syscalls/ltp.syscalls.fanotify19.sh new file mode 100755 index 0000000000000000000000000000000000000000..221ba139120c80d006e4b315e59c7633efa26433 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify19.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-256143251 +# @用例名称: ltp.syscalls.fanotify19 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify19 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify20.sh b/testcase/syscalls/ltp.syscalls.fanotify20.sh new file mode 100755 index 0000000000000000000000000000000000000000..1f5d8d666db60960375cf84014444744583ca041 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify20.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-264791818 +# @用例名称: ltp.syscalls.fanotify20 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify20 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify21.sh b/testcase/syscalls/ltp.syscalls.fanotify21.sh new file mode 100755 index 0000000000000000000000000000000000000000..8dca7171827e432654546dba68e8eb6a06f387c0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify21.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-273416579 +# @用例名称: ltp.syscalls.fanotify21 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify21 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify22.sh b/testcase/syscalls/ltp.syscalls.fanotify22.sh new file mode 100755 index 0000000000000000000000000000000000000000..51762c8c015c3de19e108e4faa86df3380f644ef --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify22.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-282069172 +# @用例名称: ltp.syscalls.fanotify22 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify22 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify22 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify23.sh b/testcase/syscalls/ltp.syscalls.fanotify23.sh new file mode 100755 index 0000000000000000000000000000000000000000..c725851db9f11fd5e2597898a29785b1ddc91856 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify23.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172839-314052736 +# @用例名称: ltp.syscalls.fanotify23 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify23 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify23 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fanotify24.sh b/testcase/syscalls/ltp.syscalls.fanotify24.sh new file mode 100755 index 0000000000000000000000000000000000000000..a3cc79c7fba4267bdaf7f20be7ad64b2b12fa20f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fanotify24.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110838-964120343 +# @用例名称: ltp.syscalls.fanotify24 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fanotify24 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fanotify24 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchdir01.sh b/testcase/syscalls/ltp.syscalls.fchdir01.sh new file mode 100755 index 0000000000000000000000000000000000000000..5f3b3bbfb5be87c05baa599474861009f52ac76e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchdir01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-437110102 +# @用例名称: ltp.syscalls.fchdir01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchdir01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchdir01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchdir02.sh b/testcase/syscalls/ltp.syscalls.fchdir02.sh new file mode 100755 index 0000000000000000000000000000000000000000..89ff4d014627cb85ad8abb97510171a6ac10c3ca --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchdir02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-445894422 +# @用例名称: ltp.syscalls.fchdir02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchdir02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchdir02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchdir03.sh b/testcase/syscalls/ltp.syscalls.fchdir03.sh new file mode 100755 index 0000000000000000000000000000000000000000..0151752e64bf9214b1d27609ed2e9a70b110b39a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchdir03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-454478617 +# @用例名称: ltp.syscalls.fchdir03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchdir03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchdir03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchmod01.sh b/testcase/syscalls/ltp.syscalls.fchmod01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7f9c460c9be7b0c3523f52e620603c23ea0a3c9f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchmod01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-465190975 +# @用例名称: ltp.syscalls.fchmod01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchmod01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchmod01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchmod02.sh b/testcase/syscalls/ltp.syscalls.fchmod02.sh new file mode 100755 index 0000000000000000000000000000000000000000..c75b21ab3b5151bd525cec28b7db571eaa76d630 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchmod02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-473944598 +# @用例名称: ltp.syscalls.fchmod02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchmod02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchmod02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchmod03.sh b/testcase/syscalls/ltp.syscalls.fchmod03.sh new file mode 100755 index 0000000000000000000000000000000000000000..ba90c3ed6dda26ffb091184374ba605eb63cd36e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchmod03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-482602791 +# @用例名称: ltp.syscalls.fchmod03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchmod03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchmod03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchmod04.sh b/testcase/syscalls/ltp.syscalls.fchmod04.sh new file mode 100755 index 0000000000000000000000000000000000000000..1541c8e01bf2901f375777e336c9ca42513eca01 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchmod04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-491157231 +# @用例名称: ltp.syscalls.fchmod04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchmod04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchmod04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchmod05.sh b/testcase/syscalls/ltp.syscalls.fchmod05.sh new file mode 100755 index 0000000000000000000000000000000000000000..155236dc7ccf8c0d89e0acfa32a0c9500b861366 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchmod05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-499766023 +# @用例名称: ltp.syscalls.fchmod05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchmod05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchmod05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchmod06.sh b/testcase/syscalls/ltp.syscalls.fchmod06.sh new file mode 100755 index 0000000000000000000000000000000000000000..2b5ad162ed4429584ea5e9d832fe62c4355aa372 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchmod06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-508373091 +# @用例名称: ltp.syscalls.fchmod06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchmod06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchmod06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchmodat01.sh b/testcase/syscalls/ltp.syscalls.fchmodat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a531a37945bee75f8f12c2b0cb5746ff62a3a24c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchmodat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-519940339 +# @用例名称: ltp.syscalls.fchmodat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchmodat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchmodat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchmodat02.sh b/testcase/syscalls/ltp.syscalls.fchmodat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..68862e5ce04b52456f800b33306ae1d4b77dc27e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchmodat02.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172838-858936629 +# @用例名称: ltp.syscalls.fchmodat02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchmodat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchmodat02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchmodat2_01.sh b/testcase/syscalls/ltp.syscalls.fchmodat2_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..05cdc40e7392a79a0c52c39833343654b695ce2f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchmodat2_01.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110837-765165432 +# @用例名称: ltp.syscalls.fchmodat2_01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchmodat2_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchmodat2_01 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchmodat2_02.sh b/testcase/syscalls/ltp.syscalls.fchmodat2_02.sh new file mode 100755 index 0000000000000000000000000000000000000000..16fdf59925985bc55b86dfdf52e0c308334e051b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchmodat2_02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110837-849877403 +# @用例名称: ltp.syscalls.fchmodat2_02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchmodat2_02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchmodat2_02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchown01.sh b/testcase/syscalls/ltp.syscalls.fchown01.sh new file mode 100755 index 0000000000000000000000000000000000000000..23a665929d740db02999f9439e9988c788699502 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchown01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-530458313 +# @用例名称: ltp.syscalls.fchown01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchown01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchown01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchown01_16.sh b/testcase/syscalls/ltp.syscalls.fchown01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..e9db5e477ee9a5f89d847defea236eda2bf65b51 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchown01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-538979351 +# @用例名称: ltp.syscalls.fchown01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchown01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchown01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchown02.sh b/testcase/syscalls/ltp.syscalls.fchown02.sh new file mode 100755 index 0000000000000000000000000000000000000000..dc9b7bca1fb4267d2732f78dc5f64aaa91b4df1f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchown02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-547526236 +# @用例名称: ltp.syscalls.fchown02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchown02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchown02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchown02_16.sh b/testcase/syscalls/ltp.syscalls.fchown02_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..ab3653fc93afc74e5a3783fd562218a29e776816 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchown02_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-556063644 +# @用例名称: ltp.syscalls.fchown02_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchown02_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchown02_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchown03.sh b/testcase/syscalls/ltp.syscalls.fchown03.sh new file mode 100755 index 0000000000000000000000000000000000000000..e62f4476e99af4ea8c8404cf878903cbefc47345 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchown03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-564654512 +# @用例名称: ltp.syscalls.fchown03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchown03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchown03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchown03_16.sh b/testcase/syscalls/ltp.syscalls.fchown03_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..8574cbed3b749e6059c3f6dac06ab7b233ee7d74 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchown03_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-573415618 +# @用例名称: ltp.syscalls.fchown03_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchown03_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchown03_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchown04.sh b/testcase/syscalls/ltp.syscalls.fchown04.sh new file mode 100755 index 0000000000000000000000000000000000000000..6c0d87320a1bf6eef6c869319f14135e33f5ac14 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchown04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-582041241 +# @用例名称: ltp.syscalls.fchown04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchown04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchown04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchown04_16.sh b/testcase/syscalls/ltp.syscalls.fchown04_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..e77c873176b13bc68e22a0ecd38b2958653381b5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchown04_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-590527003 +# @用例名称: ltp.syscalls.fchown04_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchown04_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchown04_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchown05.sh b/testcase/syscalls/ltp.syscalls.fchown05.sh new file mode 100755 index 0000000000000000000000000000000000000000..7598fd20708b4237d2f8beed30351bf5a53e74a0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchown05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-599267300 +# @用例名称: ltp.syscalls.fchown05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchown05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchown05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchown05_16.sh b/testcase/syscalls/ltp.syscalls.fchown05_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..75ec3fc1f9e2fc0370297e2f66e6bcd50b213f3c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchown05_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-607910125 +# @用例名称: ltp.syscalls.fchown05_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchown05_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchown05_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchownat01.sh b/testcase/syscalls/ltp.syscalls.fchownat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..19964f8b359630a2586a2fbe617d74c944c35c48 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchownat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-619472704 +# @用例名称: ltp.syscalls.fchownat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchownat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchownat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchownat02.sh b/testcase/syscalls/ltp.syscalls.fchownat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..64e14cb2c9792475948233b3683d645420a094f0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchownat02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-628041020 +# @用例名称: ltp.syscalls.fchownat02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchownat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchownat02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fchownat03.sh b/testcase/syscalls/ltp.syscalls.fchownat03.sh new file mode 100755 index 0000000000000000000000000000000000000000..76c989986734f7d02490011ba4a8e2a5d14f8889 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fchownat03.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110837-934932745 +# @用例名称: ltp.syscalls.fchownat03 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fchownat03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fchownat03 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl01.sh b/testcase/syscalls/ltp.syscalls.fcntl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a9d282f7d6428b4c06a8b2c9d7d2dd25d985d2a8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-638574854 +# @用例名称: ltp.syscalls.fcntl01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl01_64.sh b/testcase/syscalls/ltp.syscalls.fcntl01_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..4dc5cc1648bfa4fc32fffa2550527b5e3f153d03 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl01_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-647177274 +# @用例名称: ltp.syscalls.fcntl01_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl01_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl01_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl02.sh b/testcase/syscalls/ltp.syscalls.fcntl02.sh new file mode 100755 index 0000000000000000000000000000000000000000..fa62c2d37b20c08b0924fa1b6795b5280b9b1d8d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-655876374 +# @用例名称: ltp.syscalls.fcntl02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl02_64.sh b/testcase/syscalls/ltp.syscalls.fcntl02_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..3a5dc424c011960b50602b3a95bd6464d537412b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl02_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-664552862 +# @用例名称: ltp.syscalls.fcntl02_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl02_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl02_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl03.sh b/testcase/syscalls/ltp.syscalls.fcntl03.sh new file mode 100755 index 0000000000000000000000000000000000000000..78e7d3a297ba8fb5872432c3413f01d6749e0302 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-673148028 +# @用例名称: ltp.syscalls.fcntl03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl03_64.sh b/testcase/syscalls/ltp.syscalls.fcntl03_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..78cdbe6cf4921e87a07b27c4e8eabf564b5a2004 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl03_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-681724981 +# @用例名称: ltp.syscalls.fcntl03_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl03_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl03_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl04.sh b/testcase/syscalls/ltp.syscalls.fcntl04.sh new file mode 100755 index 0000000000000000000000000000000000000000..d34ee24a0a3d1ad2e1026d5b2c351116fcae939a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-690207736 +# @用例名称: ltp.syscalls.fcntl04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl04_64.sh b/testcase/syscalls/ltp.syscalls.fcntl04_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..64411c0279784309a1580ba479c90d8f548d9c04 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl04_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-698738862 +# @用例名称: ltp.syscalls.fcntl04_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl04_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl04_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl05.sh b/testcase/syscalls/ltp.syscalls.fcntl05.sh new file mode 100755 index 0000000000000000000000000000000000000000..1eed2806f3d42f9043d3398742ae8c9ba8b6a35e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-707363773 +# @用例名称: ltp.syscalls.fcntl05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl05_64.sh b/testcase/syscalls/ltp.syscalls.fcntl05_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..64e36abb4befda97ce4450721fd14a5370cf56d1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl05_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-715925747 +# @用例名称: ltp.syscalls.fcntl05_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl05_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl05_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl07.sh b/testcase/syscalls/ltp.syscalls.fcntl07.sh new file mode 100755 index 0000000000000000000000000000000000000000..e99618cb8e224686c35f7b28ae62d9ec794f4d78 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-741618381 +# @用例名称: ltp.syscalls.fcntl07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl07_64.sh b/testcase/syscalls/ltp.syscalls.fcntl07_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..fa702c0805e48181a070b2a4bc2e4e601556eed9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl07_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-750213768 +# @用例名称: ltp.syscalls.fcntl07_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl07_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl07_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl08.sh b/testcase/syscalls/ltp.syscalls.fcntl08.sh new file mode 100755 index 0000000000000000000000000000000000000000..3bc728ed11c63c1f99bc066366884a2a5ad6c1a6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-758865860 +# @用例名称: ltp.syscalls.fcntl08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl08_64.sh b/testcase/syscalls/ltp.syscalls.fcntl08_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..0a1ed2026bb6107148c95a69f43e75ec695cc8e2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl08_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-767568397 +# @用例名称: ltp.syscalls.fcntl08_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl08_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl08_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl09.sh b/testcase/syscalls/ltp.syscalls.fcntl09.sh new file mode 100755 index 0000000000000000000000000000000000000000..bb7324edb28a2f74feae85edcbc07e9326bc5f06 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-776222093 +# @用例名称: ltp.syscalls.fcntl09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl09_64.sh b/testcase/syscalls/ltp.syscalls.fcntl09_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..0af67d65e0842efa7f8da58c94eab2b968a485c0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl09_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-784750463 +# @用例名称: ltp.syscalls.fcntl09_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl09_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl09_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl10.sh b/testcase/syscalls/ltp.syscalls.fcntl10.sh new file mode 100755 index 0000000000000000000000000000000000000000..d65aaeebf59ed549f1e185d7a6d00973390fd209 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-793177966 +# @用例名称: ltp.syscalls.fcntl10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl10_64.sh b/testcase/syscalls/ltp.syscalls.fcntl10_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..4e0250a1d3b97cf6eb20ba4f6eab11580c28a19b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl10_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-801656223 +# @用例名称: ltp.syscalls.fcntl10_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl10_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl10_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl11.sh b/testcase/syscalls/ltp.syscalls.fcntl11.sh new file mode 100755 index 0000000000000000000000000000000000000000..505e30ed3eff37c5fd8302f2b4b655d710d6a9c9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-810069117 +# @用例名称: ltp.syscalls.fcntl11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl11 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl11_64.sh b/testcase/syscalls/ltp.syscalls.fcntl11_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..244e788d5493c097ebeee5da2ed61d377e3bf13e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl11_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-818615722 +# @用例名称: ltp.syscalls.fcntl11_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl11_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl11_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl12.sh b/testcase/syscalls/ltp.syscalls.fcntl12.sh new file mode 100755 index 0000000000000000000000000000000000000000..e65e2f6c3f8b276776dcf9b358e48ddb383c212e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-827376158 +# @用例名称: ltp.syscalls.fcntl12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl12 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl12_64.sh b/testcase/syscalls/ltp.syscalls.fcntl12_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..c1a99dd6da94a9b59deb3c3526cfa7a99804ea7b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl12_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-835940085 +# @用例名称: ltp.syscalls.fcntl12_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl12_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl12_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl13.sh b/testcase/syscalls/ltp.syscalls.fcntl13.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5209989ddbe2c8945ded0f8dc522b94b8456baa --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-844441034 +# @用例名称: ltp.syscalls.fcntl13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl13 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl13_64.sh b/testcase/syscalls/ltp.syscalls.fcntl13_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..217a5c5a9fe86d329719622f2ef9c5b5c0126c18 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl13_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-853000513 +# @用例名称: ltp.syscalls.fcntl13_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl13_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl13_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl14.sh b/testcase/syscalls/ltp.syscalls.fcntl14.sh new file mode 100755 index 0000000000000000000000000000000000000000..c413056a7ff3e544a083475aebb36213aae68b4b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-861771548 +# @用例名称: ltp.syscalls.fcntl14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl14 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl14_64.sh b/testcase/syscalls/ltp.syscalls.fcntl14_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..5a2122c29aaa326624d6e4d5fd6a66f48e37597f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl14_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-870362627 +# @用例名称: ltp.syscalls.fcntl14_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl14_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl14_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl15.sh b/testcase/syscalls/ltp.syscalls.fcntl15.sh new file mode 100755 index 0000000000000000000000000000000000000000..0753f4003e52e4c670ef30ad41d286bbd11683c5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-879044585 +# @用例名称: ltp.syscalls.fcntl15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl15 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl15_64.sh b/testcase/syscalls/ltp.syscalls.fcntl15_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..63514be1c19923763b014bb1eb67b4ce4d0de7d1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl15_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-887723958 +# @用例名称: ltp.syscalls.fcntl15_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl15_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl15_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl16.sh b/testcase/syscalls/ltp.syscalls.fcntl16.sh new file mode 100755 index 0000000000000000000000000000000000000000..50350778933c56cb81a33d0d7afef474b84ab057 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-896285672 +# @用例名称: ltp.syscalls.fcntl16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl16_64.sh b/testcase/syscalls/ltp.syscalls.fcntl16_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..f6c121976208be442fbe9e4670d61cce6fbb9200 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl16_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-904934489 +# @用例名称: ltp.syscalls.fcntl16_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl16_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl16_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl17.sh b/testcase/syscalls/ltp.syscalls.fcntl17.sh new file mode 100755 index 0000000000000000000000000000000000000000..532c28b71ae79ce3bc0f18741449d29725bef6b4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-913665719 +# @用例名称: ltp.syscalls.fcntl17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl17 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl17_64.sh b/testcase/syscalls/ltp.syscalls.fcntl17_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..d128ddd2818bf871d949d771a4dac64533d0d2a0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl17_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-922195762 +# @用例名称: ltp.syscalls.fcntl17_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl17_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl17_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl18.sh b/testcase/syscalls/ltp.syscalls.fcntl18.sh new file mode 100755 index 0000000000000000000000000000000000000000..ba21bf9d51261daff06ad3d0e1c3aad1fc107d0e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-930797030 +# @用例名称: ltp.syscalls.fcntl18 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl18 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl18_64.sh b/testcase/syscalls/ltp.syscalls.fcntl18_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..276ac5a58f6d5bdf6167163829545d369c2aab33 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl18_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-939314401 +# @用例名称: ltp.syscalls.fcntl18_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl18_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl18_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl19.sh b/testcase/syscalls/ltp.syscalls.fcntl19.sh new file mode 100755 index 0000000000000000000000000000000000000000..b8781aa2470ac258f25100f286d2a2fbfc03e713 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl19.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-947856227 +# @用例名称: ltp.syscalls.fcntl19 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl19 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl19_64.sh b/testcase/syscalls/ltp.syscalls.fcntl19_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..bfaae91bf72223e15654a484e37e9d7be6ed6fc4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl19_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-956476770 +# @用例名称: ltp.syscalls.fcntl19_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl19_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl19_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl20.sh b/testcase/syscalls/ltp.syscalls.fcntl20.sh new file mode 100755 index 0000000000000000000000000000000000000000..6c0eaf29243ce038bf01d39b0453b57b15ba20b2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl20.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-967595328 +# @用例名称: ltp.syscalls.fcntl20 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl20 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl20_64.sh b/testcase/syscalls/ltp.syscalls.fcntl20_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..78a9037f7e78c71e77ea5865b3abf1ef254c41ff --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl20_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-976218868 +# @用例名称: ltp.syscalls.fcntl20_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl20_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl20_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl21.sh b/testcase/syscalls/ltp.syscalls.fcntl21.sh new file mode 100755 index 0000000000000000000000000000000000000000..9c0d2e48355af2694e6775f8f1b520c30c48d65e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl21.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-984797602 +# @用例名称: ltp.syscalls.fcntl21 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl21 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl21_64.sh b/testcase/syscalls/ltp.syscalls.fcntl21_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..a203272350ad01a036ed81ecf48705135eb9b9bf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl21_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-993270159 +# @用例名称: ltp.syscalls.fcntl21_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl21_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl21_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl22.sh b/testcase/syscalls/ltp.syscalls.fcntl22.sh new file mode 100755 index 0000000000000000000000000000000000000000..fd48ce836bf64b5dfac99379a648904559be8561 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl22.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-001835018 +# @用例名称: ltp.syscalls.fcntl22 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl22 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl22 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl22_64.sh b/testcase/syscalls/ltp.syscalls.fcntl22_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..8d5090ce5e48bf92c8f080978d5eb41b5a1618bf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl22_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-010424334 +# @用例名称: ltp.syscalls.fcntl22_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl22_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl22_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl23.sh b/testcase/syscalls/ltp.syscalls.fcntl23.sh new file mode 100755 index 0000000000000000000000000000000000000000..231a3fbd84d0b9e962726d43db46c4b234e2943b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl23.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-018963384 +# @用例名称: ltp.syscalls.fcntl23 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl23 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl23 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl23_64.sh b/testcase/syscalls/ltp.syscalls.fcntl23_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..c06f15f9d5f188d585c1e547d3c0bf3b30a43c89 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl23_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-027519817 +# @用例名称: ltp.syscalls.fcntl23_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl23_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl23_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl24.sh b/testcase/syscalls/ltp.syscalls.fcntl24.sh new file mode 100755 index 0000000000000000000000000000000000000000..f36e8739b79b520b06ba564c019ae55ade575ca1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl24.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-036169566 +# @用例名称: ltp.syscalls.fcntl24 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl24 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl24 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl24_64.sh b/testcase/syscalls/ltp.syscalls.fcntl24_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..b7fefb7b584c1c94caaf428b79ddf58b00f44093 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl24_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-044714066 +# @用例名称: ltp.syscalls.fcntl24_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl24_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl24_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl25.sh b/testcase/syscalls/ltp.syscalls.fcntl25.sh new file mode 100755 index 0000000000000000000000000000000000000000..3a1344906cb4ad81f4e937be1349ee83fc7b1f0b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl25.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-053717526 +# @用例名称: ltp.syscalls.fcntl25 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl25 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl25 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl25_64.sh b/testcase/syscalls/ltp.syscalls.fcntl25_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..710167548854115c2020980844a14b96f288de95 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl25_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-062516123 +# @用例名称: ltp.syscalls.fcntl25_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl25_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl25_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl26.sh b/testcase/syscalls/ltp.syscalls.fcntl26.sh new file mode 100755 index 0000000000000000000000000000000000000000..c69b71c1faa54c24e40ff678b00c7a19d573695b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl26.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-071383579 +# @用例名称: ltp.syscalls.fcntl26 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl26 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl26 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl26_64.sh b/testcase/syscalls/ltp.syscalls.fcntl26_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..37ba35a1dc29d021de940603693b07ac73d5a270 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl26_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-080048966 +# @用例名称: ltp.syscalls.fcntl26_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl26_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl26_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl27.sh b/testcase/syscalls/ltp.syscalls.fcntl27.sh new file mode 100755 index 0000000000000000000000000000000000000000..8d172c2e94642ebb4d04f1a3a5b31b55f9c55bba --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl27.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-091227417 +# @用例名称: ltp.syscalls.fcntl27 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl27 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl27 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl27_64.sh b/testcase/syscalls/ltp.syscalls.fcntl27_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..8439efcbc3be5a35d87dc64666ed2fe0df0a6ad8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl27_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-099859071 +# @用例名称: ltp.syscalls.fcntl27_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl27_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl27_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl29.sh b/testcase/syscalls/ltp.syscalls.fcntl29.sh new file mode 100755 index 0000000000000000000000000000000000000000..0fa48add784ab1af73b643d5f1c1b17b539fc4b1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl29.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-125615654 +# @用例名称: ltp.syscalls.fcntl29 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl29 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl29 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl29_64.sh b/testcase/syscalls/ltp.syscalls.fcntl29_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..705fba4255dfbd703aed46bfeefea01704b54a22 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl29_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-134240777 +# @用例名称: ltp.syscalls.fcntl29_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl29_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl29_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl30.sh b/testcase/syscalls/ltp.syscalls.fcntl30.sh new file mode 100755 index 0000000000000000000000000000000000000000..f537e62c8e39eb1afb5be454cd8dd15768ec358e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl30.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-142815043 +# @用例名称: ltp.syscalls.fcntl30 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl30 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl30 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl30_64.sh b/testcase/syscalls/ltp.syscalls.fcntl30_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..1e39c64bce34c3b9297326f689c91ca7ea10fdb1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl30_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-153148823 +# @用例名称: ltp.syscalls.fcntl30_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl30_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl30_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl31.sh b/testcase/syscalls/ltp.syscalls.fcntl31.sh new file mode 100755 index 0000000000000000000000000000000000000000..1a0d6579aae6ae4b3e05a0df1ba13203484f9595 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl31.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-163021921 +# @用例名称: ltp.syscalls.fcntl31 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl31 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl31 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl31_64.sh b/testcase/syscalls/ltp.syscalls.fcntl31_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..e4144377553b51dfac1231e161ff9bdc3fc49f98 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl31_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-171547517 +# @用例名称: ltp.syscalls.fcntl31_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl31_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl31_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl32.sh b/testcase/syscalls/ltp.syscalls.fcntl32.sh new file mode 100755 index 0000000000000000000000000000000000000000..d800c47ee2832fa087d5cfad736b7c82e7cf0635 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl32.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-181311700 +# @用例名称: ltp.syscalls.fcntl32 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl32 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl32 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl32_64.sh b/testcase/syscalls/ltp.syscalls.fcntl32_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..8de2fac750c3c86d716fe14a08770fa585f6fdca --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl32_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-191515577 +# @用例名称: ltp.syscalls.fcntl32_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl32_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl32_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl33.sh b/testcase/syscalls/ltp.syscalls.fcntl33.sh new file mode 100755 index 0000000000000000000000000000000000000000..59ed1c9e0f6cf200f9f972bbc1395f256da2d4b9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl33.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-200081839 +# @用例名称: ltp.syscalls.fcntl33 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl33 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl33 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl33_64.sh b/testcase/syscalls/ltp.syscalls.fcntl33_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..48dacc8257508021c2f52df432e429e1ca523e41 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl33_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-208740914 +# @用例名称: ltp.syscalls.fcntl33_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl33_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl33_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl34.sh b/testcase/syscalls/ltp.syscalls.fcntl34.sh new file mode 100755 index 0000000000000000000000000000000000000000..a63d3a02c2986252c7ee56d3cd653b4792707188 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl34.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-217423785 +# @用例名称: ltp.syscalls.fcntl34 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl34 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl34 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl34_64.sh b/testcase/syscalls/ltp.syscalls.fcntl34_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..fc5f1e9e36ecb32eea77612023534195edf32c21 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl34_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-225987962 +# @用例名称: ltp.syscalls.fcntl34_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl34_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl34_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl35.sh b/testcase/syscalls/ltp.syscalls.fcntl35.sh new file mode 100755 index 0000000000000000000000000000000000000000..22fddb2a60fc424bf15caf7801178da0e7307e65 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl35.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-234545988 +# @用例名称: ltp.syscalls.fcntl35 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl35 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl35 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl35_64.sh b/testcase/syscalls/ltp.syscalls.fcntl35_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..cec7a576f4378a18625711799f195e6a955b6759 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl35_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-243039995 +# @用例名称: ltp.syscalls.fcntl35_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl35_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl35_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl36.sh b/testcase/syscalls/ltp.syscalls.fcntl36.sh new file mode 100755 index 0000000000000000000000000000000000000000..4c978d2f92f3bb9c530f59a218aba4470e948851 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl36.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-252270330 +# @用例名称: ltp.syscalls.fcntl36 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl36 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl36 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl36_64.sh b/testcase/syscalls/ltp.syscalls.fcntl36_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..0015e521a92d4c848b344cf43fcf3838b394c8eb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl36_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-260919567 +# @用例名称: ltp.syscalls.fcntl36_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl36_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl36_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl37.sh b/testcase/syscalls/ltp.syscalls.fcntl37.sh new file mode 100755 index 0000000000000000000000000000000000000000..ff6d37896821706c8bd7430571192d5b4ccb991a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl37.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-270017173 +# @用例名称: ltp.syscalls.fcntl37 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl37 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl37 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl37_64.sh b/testcase/syscalls/ltp.syscalls.fcntl37_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..3ec85b788c007a7b036a9a44ee9ddba1cbfe9b18 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl37_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-278660640 +# @用例名称: ltp.syscalls.fcntl37_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl37_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl37_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl38.sh b/testcase/syscalls/ltp.syscalls.fcntl38.sh new file mode 100755 index 0000000000000000000000000000000000000000..9ee5ea0fbbc550715f3212004427c4c0e6709856 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl38.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-287167490 +# @用例名称: ltp.syscalls.fcntl38 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl38 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl38 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl38_64.sh b/testcase/syscalls/ltp.syscalls.fcntl38_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..9403627488dd689eccc35d5b6be958c9b1a0d4e9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl38_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-295607225 +# @用例名称: ltp.syscalls.fcntl38_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl38_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl38_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl39.sh b/testcase/syscalls/ltp.syscalls.fcntl39.sh new file mode 100755 index 0000000000000000000000000000000000000000..ee77361fc6aab001c0fae0fb38a0897fdcb8e152 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl39.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141851-556379305 +# @用例名称: ltp.syscalls.fcntl39 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl39 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl39 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl39_64.sh b/testcase/syscalls/ltp.syscalls.fcntl39_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..7415b8560883d49f346334da0c417f72804dbf52 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl39_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141851-622204669 +# @用例名称: ltp.syscalls.fcntl39_64 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl39_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl39_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl40.sh b/testcase/syscalls/ltp.syscalls.fcntl40.sh new file mode 100755 index 0000000000000000000000000000000000000000..0808e138a2b564be127c3618576f594384288fd7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl40.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110838-021233491 +# @用例名称: ltp.syscalls.fcntl40 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl40 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl40 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fcntl40_64.sh b/testcase/syscalls/ltp.syscalls.fcntl40_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..47a5bee00f934f4cb3ec92d66fb8a1bffbad7be5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fcntl40_64.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110838-104131751 +# @用例名称: ltp.syscalls.fcntl40_64 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fcntl40_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fcntl40_64 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fdatasync01.sh b/testcase/syscalls/ltp.syscalls.fdatasync01.sh new file mode 100755 index 0000000000000000000000000000000000000000..805c4a72a9e5f51328a46bd4d1042155e12d27ee --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fdatasync01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-305993172 +# @用例名称: ltp.syscalls.fdatasync01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fdatasync01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fdatasync01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fdatasync02.sh b/testcase/syscalls/ltp.syscalls.fdatasync02.sh new file mode 100755 index 0000000000000000000000000000000000000000..4228b4273e838b57122e08a8c4c56eb392d8ba91 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fdatasync02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-314460940 +# @用例名称: ltp.syscalls.fdatasync02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fdatasync02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fdatasync02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fdatasync03.sh b/testcase/syscalls/ltp.syscalls.fdatasync03.sh new file mode 100755 index 0000000000000000000000000000000000000000..d76c2fa1ff79bbfd7ecdfe5324e1c458d0dce90c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fdatasync03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-323020248 +# @用例名称: ltp.syscalls.fdatasync03 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fdatasync03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fdatasync03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fgetxattr01.sh b/testcase/syscalls/ltp.syscalls.fgetxattr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a3947004acc3b7af16419ba71bb6c7189e197c3f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fgetxattr01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-335765291 +# @用例名称: ltp.syscalls.fgetxattr01 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fgetxattr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fgetxattr01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fgetxattr02.sh b/testcase/syscalls/ltp.syscalls.fgetxattr02.sh new file mode 100755 index 0000000000000000000000000000000000000000..7cdd013eef0b569eddfd4a688fdbe7234fd3fc33 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fgetxattr02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-355950007 +# @用例名称: ltp.syscalls.fgetxattr02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fgetxattr02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fgetxattr02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fgetxattr03.sh b/testcase/syscalls/ltp.syscalls.fgetxattr03.sh new file mode 100755 index 0000000000000000000000000000000000000000..ce42e89857991fed1ac3c1fa0726f18acd1ef45c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fgetxattr03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-364712536 +# @用例名称: ltp.syscalls.fgetxattr03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fgetxattr03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fgetxattr03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.finit_module01.sh b/testcase/syscalls/ltp.syscalls.finit_module01.sh new file mode 100755 index 0000000000000000000000000000000000000000..fb05f130c808e4544c8cba3cb5ce11b528146c74 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.finit_module01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-375229999 +# @用例名称: ltp.syscalls.finit_module01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.finit_module01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls finit_module01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.finit_module02.sh b/testcase/syscalls/ltp.syscalls.finit_module02.sh new file mode 100755 index 0000000000000000000000000000000000000000..c80df55533b8fc51948c213614e4274ba5bb6aea --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.finit_module02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-383798015 +# @用例名称: ltp.syscalls.finit_module02 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.finit_module02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls finit_module02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.flistxattr01.sh b/testcase/syscalls/ltp.syscalls.flistxattr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c3939ca8e6cde22e2579a2d074d3440a69d70f8a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.flistxattr01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-394364850 +# @用例名称: ltp.syscalls.flistxattr01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.flistxattr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls flistxattr01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.flistxattr02.sh b/testcase/syscalls/ltp.syscalls.flistxattr02.sh new file mode 100755 index 0000000000000000000000000000000000000000..5ad15c334129402f7db537d58919cb07f0dc97dd --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.flistxattr02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-403008898 +# @用例名称: ltp.syscalls.flistxattr02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.flistxattr02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls flistxattr02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.flistxattr03.sh b/testcase/syscalls/ltp.syscalls.flistxattr03.sh new file mode 100755 index 0000000000000000000000000000000000000000..cebb2999b5cf13de60830a17fa1917238cdad8a0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.flistxattr03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-412936498 +# @用例名称: ltp.syscalls.flistxattr03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.flistxattr03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls flistxattr03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.flock01.sh b/testcase/syscalls/ltp.syscalls.flock01.sh new file mode 100755 index 0000000000000000000000000000000000000000..24c874f36d671c2dc5936cd11e2ad7f9e2a17246 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.flock01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-428243845 +# @用例名称: ltp.syscalls.flock01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.flock01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls flock01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.flock02.sh b/testcase/syscalls/ltp.syscalls.flock02.sh new file mode 100755 index 0000000000000000000000000000000000000000..d4d2bb7cdbd8b0f68d4ec7fc5a8f9f09b1a111c8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.flock02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-437033585 +# @用例名称: ltp.syscalls.flock02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.flock02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls flock02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.flock03.sh b/testcase/syscalls/ltp.syscalls.flock03.sh new file mode 100755 index 0000000000000000000000000000000000000000..86c585ae31876c312a7c61a231c72f39b24ca408 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.flock03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-445531950 +# @用例名称: ltp.syscalls.flock03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.flock03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls flock03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.flock04.sh b/testcase/syscalls/ltp.syscalls.flock04.sh new file mode 100755 index 0000000000000000000000000000000000000000..b350f21b4ca3e736d43cfe09931c6b8c5cd897ec --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.flock04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-454005268 +# @用例名称: ltp.syscalls.flock04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.flock04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls flock04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.flock06.sh b/testcase/syscalls/ltp.syscalls.flock06.sh new file mode 100755 index 0000000000000000000000000000000000000000..c88b713ad7d8004b921782349e069820e1fa7d41 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.flock06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-462637453 +# @用例名称: ltp.syscalls.flock06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.flock06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls flock06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.flock07.sh b/testcase/syscalls/ltp.syscalls.flock07.sh new file mode 100755 index 0000000000000000000000000000000000000000..08cddef32240197d67b1164cf9d4b3fe0b74e282 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.flock07.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110838-190912265 +# @用例名称: ltp.syscalls.flock07 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.flock07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls flock07 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fmtmsg01.sh b/testcase/syscalls/ltp.syscalls.fmtmsg01.sh new file mode 100755 index 0000000000000000000000000000000000000000..5d99ee981f21531fe7617f72f427cf58b3686a8f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fmtmsg01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-473220299 +# @用例名称: ltp.syscalls.fmtmsg01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fmtmsg01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fmtmsg01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fork01.sh b/testcase/syscalls/ltp.syscalls.fork01.sh new file mode 100755 index 0000000000000000000000000000000000000000..05f50de9819414ed321df92c68df83d236c4eb55 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fork01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-483760826 +# @用例名称: ltp.syscalls.fork01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fork01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fork01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fork03.sh b/testcase/syscalls/ltp.syscalls.fork03.sh new file mode 100755 index 0000000000000000000000000000000000000000..9aeb6d570dafa33c377e6b677adaf4f35e709f22 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fork03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-500869555 +# @用例名称: ltp.syscalls.fork03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fork03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fork03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fork04.sh b/testcase/syscalls/ltp.syscalls.fork04.sh new file mode 100755 index 0000000000000000000000000000000000000000..7e8880d0c147ce90401aabafaedefb73f5116fd9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fork04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-509533370 +# @用例名称: ltp.syscalls.fork04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fork04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fork04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fork05.sh b/testcase/syscalls/ltp.syscalls.fork05.sh new file mode 100755 index 0000000000000000000000000000000000000000..e2ec662946b9667eb0800599474917f1b1c48187 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fork05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-518100061 +# @用例名称: ltp.syscalls.fork05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fork05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fork05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fork06.sh b/testcase/syscalls/ltp.syscalls.fork06.sh new file mode 100755 index 0000000000000000000000000000000000000000..91761e16fd0a5c7926f463fa5f77d3ce29fed0c7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fork06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-526765920 +# @用例名称: ltp.syscalls.fork06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fork06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fork06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fork07.sh b/testcase/syscalls/ltp.syscalls.fork07.sh new file mode 100755 index 0000000000000000000000000000000000000000..f413ba3906d34f40cdbd641362d9cf53ff521bd6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fork07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-535223198 +# @用例名称: ltp.syscalls.fork07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fork07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fork07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fork08.sh b/testcase/syscalls/ltp.syscalls.fork08.sh new file mode 100755 index 0000000000000000000000000000000000000000..cc0921e11962728aa8bb6c215ac56dec4f58751e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fork08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-543841427 +# @用例名称: ltp.syscalls.fork08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fork08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fork08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fork09.sh b/testcase/syscalls/ltp.syscalls.fork09.sh new file mode 100755 index 0000000000000000000000000000000000000000..56f19d427c2ae7dfea5ea21fe0571cc3a473bfde --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fork09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-552346514 +# @用例名称: ltp.syscalls.fork09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fork09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fork09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fork10.sh b/testcase/syscalls/ltp.syscalls.fork10.sh new file mode 100755 index 0000000000000000000000000000000000000000..3b73b1b4c66136277d7f05637dbbc46b848a24d2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fork10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-560832275 +# @用例名称: ltp.syscalls.fork10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fork10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fork10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fork11.sh b/testcase/syscalls/ltp.syscalls.fork11.sh new file mode 100755 index 0000000000000000000000000000000000000000..60b367d7d7f29aa59b6644a47831f2f285636542 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fork11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-569455684 +# @用例名称: ltp.syscalls.fork11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fork11 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fork11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fork13.sh b/testcase/syscalls/ltp.syscalls.fork13.sh new file mode 100755 index 0000000000000000000000000000000000000000..a8fbd61c591808583fbb4c9d5637e07b1e9387ce --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fork13.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-578081427 +# @用例名称: ltp.syscalls.fork13 +# @用例级别: 3 +# @用例标签: aarch64不支持 eks不支持 +# @超时时间: 360 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fork13 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fork13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fork14.sh b/testcase/syscalls/ltp.syscalls.fork14.sh new file mode 100755 index 0000000000000000000000000000000000000000..9d33750b19d976e4902248a4de4944ff827002a4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fork14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-586879262 +# @用例名称: ltp.syscalls.fork14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fork14 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fork14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fpathconf01.sh b/testcase/syscalls/ltp.syscalls.fpathconf01.sh new file mode 100755 index 0000000000000000000000000000000000000000..131a38df79bfa1cb397e76e24e4097768a6369c6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fpathconf01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-598074645 +# @用例名称: ltp.syscalls.fpathconf01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fpathconf01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fpathconf01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fremovexattr01.sh b/testcase/syscalls/ltp.syscalls.fremovexattr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e104446e371aee7474f1b95e0ac4d71051c371ac --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fremovexattr01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-608572682 +# @用例名称: ltp.syscalls.fremovexattr01 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fremovexattr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fremovexattr01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fremovexattr02.sh b/testcase/syscalls/ltp.syscalls.fremovexattr02.sh new file mode 100755 index 0000000000000000000000000000000000000000..f6181be98f129b6951ee3e767109fb215d213d68 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fremovexattr02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-617170974 +# @用例名称: ltp.syscalls.fremovexattr02 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fremovexattr02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fremovexattr02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fsconfig01.sh b/testcase/syscalls/ltp.syscalls.fsconfig01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c639262c5d8d6eec19a3815c610d8100d7fa5853 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fsconfig01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-627570937 +# @用例名称: ltp.syscalls.fsconfig01 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fsconfig01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fsconfig01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fsconfig02.sh b/testcase/syscalls/ltp.syscalls.fsconfig02.sh new file mode 100755 index 0000000000000000000000000000000000000000..69a0691f2015cfff405b79a30d8bc69cfb5e9747 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fsconfig02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-636110650 +# @用例名称: ltp.syscalls.fsconfig02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fsconfig02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fsconfig02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fsconfig03.sh b/testcase/syscalls/ltp.syscalls.fsconfig03.sh new file mode 100755 index 0000000000000000000000000000000000000000..fed1827b34000bc682379fba351926389204acfb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fsconfig03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141851-688366711 +# @用例名称: ltp.syscalls.fsconfig03 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fsconfig03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fsconfig03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fsetxattr01.sh b/testcase/syscalls/ltp.syscalls.fsetxattr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..3f32920cdd98bcd6bbb80a6c38f4d99b2bd5c72a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fsetxattr01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-341323216 +# @用例名称: ltp.syscalls.fsetxattr01 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fsetxattr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fsetxattr01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fsetxattr02.sh b/testcase/syscalls/ltp.syscalls.fsetxattr02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b0671317ee272331d1706c68363c9fe3a29f6290 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fsetxattr02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-352945427 +# @用例名称: ltp.syscalls.fsetxattr02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fsetxattr02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fsetxattr02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fsmount01.sh b/testcase/syscalls/ltp.syscalls.fsmount01.sh new file mode 100755 index 0000000000000000000000000000000000000000..01693862867655ac5f14fc6fe74e6e503ea8cdf1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fsmount01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-646543745 +# @用例名称: ltp.syscalls.fsmount01 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fsmount01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fsmount01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fsmount02.sh b/testcase/syscalls/ltp.syscalls.fsmount02.sh new file mode 100755 index 0000000000000000000000000000000000000000..159656a8b3afa758c33cb4baf7a6142555b2269f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fsmount02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-655075141 +# @用例名称: ltp.syscalls.fsmount02 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fsmount02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fsmount02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fsopen01.sh b/testcase/syscalls/ltp.syscalls.fsopen01.sh new file mode 100755 index 0000000000000000000000000000000000000000..76a0c5689c518b4cd03e1995ccab1b42a9959ec2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fsopen01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-665839457 +# @用例名称: ltp.syscalls.fsopen01 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fsopen01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fsopen01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fsopen02.sh b/testcase/syscalls/ltp.syscalls.fsopen02.sh new file mode 100755 index 0000000000000000000000000000000000000000..f07c17973ca80f9ec950a2cfc1061f41c0bc1f84 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fsopen02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-674641019 +# @用例名称: ltp.syscalls.fsopen02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fsopen02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fsopen02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fspick01.sh b/testcase/syscalls/ltp.syscalls.fspick01.sh new file mode 100755 index 0000000000000000000000000000000000000000..26efe0fd9c24a6499d7e86adf84700cf8d4035f1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fspick01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-685446321 +# @用例名称: ltp.syscalls.fspick01 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fspick01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fspick01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fspick02.sh b/testcase/syscalls/ltp.syscalls.fspick02.sh new file mode 100755 index 0000000000000000000000000000000000000000..580cade48c588cd532a50c9f0108421afc3c0429 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fspick02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-694028934 +# @用例名称: ltp.syscalls.fspick02 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fspick02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fspick02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fstat02.sh b/testcase/syscalls/ltp.syscalls.fstat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..4afcc99d4e9bb6729420451afb89f0a1db0c5450 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fstat02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-704755489 +# @用例名称: ltp.syscalls.fstat02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fstat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fstat02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fstat02_64.sh b/testcase/syscalls/ltp.syscalls.fstat02_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..108862570ff6f7f56804cf25eadcb47aa75d017a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fstat02_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-713232784 +# @用例名称: ltp.syscalls.fstat02_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fstat02_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fstat02_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fstat03.sh b/testcase/syscalls/ltp.syscalls.fstat03.sh new file mode 100755 index 0000000000000000000000000000000000000000..4a75eb2b0c5c06e8bb132a3fee8ce25121695972 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fstat03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-721834953 +# @用例名称: ltp.syscalls.fstat03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fstat03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fstat03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fstat03_64.sh b/testcase/syscalls/ltp.syscalls.fstat03_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..cfceec873ac8069bab76834178b16f26d747bf4b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fstat03_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-730338538 +# @用例名称: ltp.syscalls.fstat03_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fstat03_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fstat03_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fstatat01.sh b/testcase/syscalls/ltp.syscalls.fstatat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8b63bb312f1982f751e2f1afd40cf4b916d074fa --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fstatat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-743396015 +# @用例名称: ltp.syscalls.fstatat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fstatat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fstatat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fstatfs01.sh b/testcase/syscalls/ltp.syscalls.fstatfs01.sh new file mode 100755 index 0000000000000000000000000000000000000000..62de3561eb2184b2133a1bda8337dd8f5afb9408 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fstatfs01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-754571570 +# @用例名称: ltp.syscalls.fstatfs01 +# @用例级别: 0 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fstatfs01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fstatfs01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fstatfs01_64.sh b/testcase/syscalls/ltp.syscalls.fstatfs01_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..c3d48943c4b9bd65307425fc3920fd8b7693e151 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fstatfs01_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-764632970 +# @用例名称: ltp.syscalls.fstatfs01_64 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fstatfs01_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fstatfs01_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fstatfs02.sh b/testcase/syscalls/ltp.syscalls.fstatfs02.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d4cd8f2b4f79d85c023724e1017bc26d2350367 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fstatfs02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-774113383 +# @用例名称: ltp.syscalls.fstatfs02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fstatfs02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fstatfs02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fstatfs02_64.sh b/testcase/syscalls/ltp.syscalls.fstatfs02_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..40c681fac7db5217fdc2f860aef1daa33b9ed7f0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fstatfs02_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-785530449 +# @用例名称: ltp.syscalls.fstatfs02_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fstatfs02_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fstatfs02_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fsync01.sh b/testcase/syscalls/ltp.syscalls.fsync01.sh new file mode 100755 index 0000000000000000000000000000000000000000..55a35d8693062ac98daee06ed3ec0fe49f0cc2a5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fsync01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-797858652 +# @用例名称: ltp.syscalls.fsync01 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fsync01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fsync01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fsync02.sh b/testcase/syscalls/ltp.syscalls.fsync02.sh new file mode 100755 index 0000000000000000000000000000000000000000..59528779fc7dd324e633c670f33aa1acc480cc9b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fsync02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-807478846 +# @用例名称: ltp.syscalls.fsync02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fsync02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fsync02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fsync03.sh b/testcase/syscalls/ltp.syscalls.fsync03.sh new file mode 100755 index 0000000000000000000000000000000000000000..c57a5ea355d020abe27476feafed7a795bb62d1b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fsync03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-816746911 +# @用例名称: ltp.syscalls.fsync03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fsync03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fsync03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.fsync04.sh b/testcase/syscalls/ltp.syscalls.fsync04.sh new file mode 100755 index 0000000000000000000000000000000000000000..2a7d1e8f59f604c90104147c94ac0923c984468b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.fsync04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-825784075 +# @用例名称: ltp.syscalls.fsync04 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.fsync04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls fsync04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ftruncate01.sh b/testcase/syscalls/ltp.syscalls.ftruncate01.sh new file mode 100755 index 0000000000000000000000000000000000000000..45946bbe06e43176a20bbae0e2618d65c3fb0641 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ftruncate01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-836834055 +# @用例名称: ltp.syscalls.ftruncate01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ftruncate01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ftruncate01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ftruncate01_64.sh b/testcase/syscalls/ltp.syscalls.ftruncate01_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..15babe182372e12ee8480a64d393a99f8e247294 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ftruncate01_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-845470298 +# @用例名称: ltp.syscalls.ftruncate01_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ftruncate01_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ftruncate01_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ftruncate03.sh b/testcase/syscalls/ltp.syscalls.ftruncate03.sh new file mode 100755 index 0000000000000000000000000000000000000000..60cf0b63c22a4c11a19d3be0c429a82d1442af0b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ftruncate03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-854101902 +# @用例名称: ltp.syscalls.ftruncate03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ftruncate03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ftruncate03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ftruncate03_64.sh b/testcase/syscalls/ltp.syscalls.ftruncate03_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..766ffba774a09114fbdbe42d9cc2157c30b7630e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ftruncate03_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-862853420 +# @用例名称: ltp.syscalls.ftruncate03_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ftruncate03_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ftruncate03_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ftruncate04.sh b/testcase/syscalls/ltp.syscalls.ftruncate04.sh new file mode 100755 index 0000000000000000000000000000000000000000..ea69b499a4b608b6351bbe15745bca403e757454 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ftruncate04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-871664721 +# @用例名称: ltp.syscalls.ftruncate04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ftruncate04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ftruncate04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ftruncate04_64.sh b/testcase/syscalls/ltp.syscalls.ftruncate04_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..55e66ce8c17f24f04f9977c809b3c6ac4fa3e4d6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ftruncate04_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-880342521 +# @用例名称: ltp.syscalls.ftruncate04_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ftruncate04_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ftruncate04_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.futex_cmp_requeue01.sh b/testcase/syscalls/ltp.syscalls.futex_cmp_requeue01.sh new file mode 100755 index 0000000000000000000000000000000000000000..729c8a00026316e22b09356a6d30fefa2c606ef2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.futex_cmp_requeue01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-247546106 +# @用例名称: ltp.syscalls.futex_cmp_requeue01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.futex_cmp_requeue01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls futex_cmp_requeue01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.futex_cmp_requeue02.sh b/testcase/syscalls/ltp.syscalls.futex_cmp_requeue02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ecfb5a2e6f80db2b4c3c3ba3962dedcb3b684bf2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.futex_cmp_requeue02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-256181457 +# @用例名称: ltp.syscalls.futex_cmp_requeue02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.futex_cmp_requeue02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls futex_cmp_requeue02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.futex_wait01.sh b/testcase/syscalls/ltp.syscalls.futex_wait01.sh new file mode 100755 index 0000000000000000000000000000000000000000..eced552fbba6cfcc8b4526289621bfcb4f0636ac --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.futex_wait01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-264797192 +# @用例名称: ltp.syscalls.futex_wait01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.futex_wait01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls futex_wait01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.futex_wait02.sh b/testcase/syscalls/ltp.syscalls.futex_wait02.sh new file mode 100755 index 0000000000000000000000000000000000000000..29c70ca844ced48d78103eafd4c8a2b0c27628f0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.futex_wait02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-273478619 +# @用例名称: ltp.syscalls.futex_wait02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.futex_wait02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls futex_wait02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.futex_wait03.sh b/testcase/syscalls/ltp.syscalls.futex_wait03.sh new file mode 100755 index 0000000000000000000000000000000000000000..49cd4f0c81df05066fdf5b13de6faf84ce1ea559 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.futex_wait03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-282131814 +# @用例名称: ltp.syscalls.futex_wait03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.futex_wait03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls futex_wait03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.futex_wait04.sh b/testcase/syscalls/ltp.syscalls.futex_wait04.sh new file mode 100755 index 0000000000000000000000000000000000000000..b64c250f049f00804da17b9a9884201e63b4eb2c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.futex_wait04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-290623075 +# @用例名称: ltp.syscalls.futex_wait04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.futex_wait04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls futex_wait04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.futex_wait05.sh b/testcase/syscalls/ltp.syscalls.futex_wait05.sh new file mode 100755 index 0000000000000000000000000000000000000000..68c606621c54ab4e135fbd4eb58d1465b29ce781 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.futex_wait05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-299215175 +# @用例名称: ltp.syscalls.futex_wait05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.futex_wait05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls futex_wait05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.futex_wait_bitset01.sh b/testcase/syscalls/ltp.syscalls.futex_wait_bitset01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c35fb0f360ae67a10b3d39ea5b449888a93aee76 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.futex_wait_bitset01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-342126414 +# @用例名称: ltp.syscalls.futex_wait_bitset01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.futex_wait_bitset01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls futex_wait_bitset01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.futex_waitv01.sh b/testcase/syscalls/ltp.syscalls.futex_waitv01.sh new file mode 100755 index 0000000000000000000000000000000000000000..24942feb80b5861962bf6d654328951462884f13 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.futex_waitv01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141853-684205612 +# @用例名称: ltp.syscalls.futex_waitv01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.futex_waitv01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls futex_waitv01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.futex_waitv02.sh b/testcase/syscalls/ltp.syscalls.futex_waitv02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b171e36b59545370cebb4f26396004130c11442b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.futex_waitv02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141853-747022893 +# @用例名称: ltp.syscalls.futex_waitv02 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.futex_waitv02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls futex_waitv02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.futex_waitv03.sh b/testcase/syscalls/ltp.syscalls.futex_waitv03.sh new file mode 100755 index 0000000000000000000000000000000000000000..9b7a24e6bc9f74578661a4c1ebcdea9d7210a5f7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.futex_waitv03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141853-811210768 +# @用例名称: ltp.syscalls.futex_waitv03 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.futex_waitv03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls futex_waitv03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.futex_wake01.sh b/testcase/syscalls/ltp.syscalls.futex_wake01.sh new file mode 100755 index 0000000000000000000000000000000000000000..191d2409f81b9b22a42a71f6aac88f749a2ef6e9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.futex_wake01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-307745920 +# @用例名称: ltp.syscalls.futex_wake01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.futex_wake01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls futex_wake01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.futex_wake02.sh b/testcase/syscalls/ltp.syscalls.futex_wake02.sh new file mode 100755 index 0000000000000000000000000000000000000000..247ea0bb0b1f772f1b5f9f98727029d2b4a4497f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.futex_wake02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-316360463 +# @用例名称: ltp.syscalls.futex_wake02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.futex_wake02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls futex_wake02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.futex_wake03.sh b/testcase/syscalls/ltp.syscalls.futex_wake03.sh new file mode 100755 index 0000000000000000000000000000000000000000..f3b6820d0f394e910f825688553640d5f5b744a2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.futex_wake03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-325106882 +# @用例名称: ltp.syscalls.futex_wake03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.futex_wake03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls futex_wake03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.futex_wake04.sh b/testcase/syscalls/ltp.syscalls.futex_wake04.sh new file mode 100755 index 0000000000000000000000000000000000000000..4ae428f7aaab016f7625e1368731b8bf0f65330a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.futex_wake04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-333584137 +# @用例名称: ltp.syscalls.futex_wake04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.futex_wake04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls futex_wake04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.futimesat01.sh b/testcase/syscalls/ltp.syscalls.futimesat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..263748f1a67f89f207e01c9f18f49d757e2053d5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.futimesat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-892914239 +# @用例名称: ltp.syscalls.futimesat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.futimesat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls futimesat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.get_mempolicy01.sh b/testcase/syscalls/ltp.syscalls.get_mempolicy01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5d88ec5d6a5eae0f233457b48a7c75a662660db --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.get_mempolicy01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-519200217 +# @用例名称: ltp.syscalls.get_mempolicy01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.get_mempolicy01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls get_mempolicy01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.get_mempolicy02.sh b/testcase/syscalls/ltp.syscalls.get_mempolicy02.sh new file mode 100755 index 0000000000000000000000000000000000000000..fff6581050bc7feb19326f8fd941153981ac5bf6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.get_mempolicy02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-527755409 +# @用例名称: ltp.syscalls.get_mempolicy02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.get_mempolicy02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls get_mempolicy02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.get_robust_list01.sh b/testcase/syscalls/ltp.syscalls.get_robust_list01.sh new file mode 100755 index 0000000000000000000000000000000000000000..96ff7e788f46fea147f7cab0fd02f86f920b16c7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.get_robust_list01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-536446494 +# @用例名称: ltp.syscalls.get_robust_list01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.get_robust_list01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls get_robust_list01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getcontext01.sh b/testcase/syscalls/ltp.syscalls.getcontext01.sh new file mode 100755 index 0000000000000000000000000000000000000000..43126d91a10e001ce99bb42423973932e1bcca40 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getcontext01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-903371280 +# @用例名称: ltp.syscalls.getcontext01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getcontext01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getcontext01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getcpu01.sh b/testcase/syscalls/ltp.syscalls.getcpu01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c5f7dda52caf99364cb165389e2a65b6b88c5a8b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getcpu01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-913976337 +# @用例名称: ltp.syscalls.getcpu01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getcpu01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getcpu01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getcpu02.sh b/testcase/syscalls/ltp.syscalls.getcpu02.sh new file mode 100755 index 0000000000000000000000000000000000000000..3b0d23b461b68bcf94f2b08955c5545ec8a176c5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getcpu02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110838-275928950 +# @用例名称: ltp.syscalls.getcpu02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getcpu02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getcpu02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getcwd01.sh b/testcase/syscalls/ltp.syscalls.getcwd01.sh new file mode 100755 index 0000000000000000000000000000000000000000..68482f747995c77adc8361a6c853d39668f2ea69 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getcwd01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-924335765 +# @用例名称: ltp.syscalls.getcwd01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getcwd01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getcwd01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getcwd02.sh b/testcase/syscalls/ltp.syscalls.getcwd02.sh new file mode 100755 index 0000000000000000000000000000000000000000..bd1fb3cb131d20d011b2f0333b7a726cb659e247 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getcwd02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-937849165 +# @用例名称: ltp.syscalls.getcwd02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getcwd02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getcwd02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getcwd03.sh b/testcase/syscalls/ltp.syscalls.getcwd03.sh new file mode 100755 index 0000000000000000000000000000000000000000..f662b2efc17d2ea4129bb298b029cea4babbf06d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getcwd03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-950777029 +# @用例名称: ltp.syscalls.getcwd03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getcwd03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getcwd03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getcwd04.sh b/testcase/syscalls/ltp.syscalls.getcwd04.sh new file mode 100755 index 0000000000000000000000000000000000000000..c69763f1e75d14754a6d3aded0b196586c5a6fc8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getcwd04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-959539068 +# @用例名称: ltp.syscalls.getcwd04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getcwd04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getcwd04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getdents01.sh b/testcase/syscalls/ltp.syscalls.getdents01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a1cc1f41cd74c4445c8a5eac4c42f00813ab4c87 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getdents01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-970087248 +# @用例名称: ltp.syscalls.getdents01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getdents01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getdents01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getdents02.sh b/testcase/syscalls/ltp.syscalls.getdents02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ab2209b7b677e65b07db594969f1d1bce10a7504 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getdents02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-978834649 +# @用例名称: ltp.syscalls.getdents02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getdents02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getdents02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getdomainname01.sh b/testcase/syscalls/ltp.syscalls.getdomainname01.sh new file mode 100755 index 0000000000000000000000000000000000000000..59ee1de729032f8f250add028b0090950b82f8c5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getdomainname01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213014-989231287 +# @用例名称: ltp.syscalls.getdomainname01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getdomainname01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getdomainname01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getegid01.sh b/testcase/syscalls/ltp.syscalls.getegid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a8b6568ad7b4d46d4ad50362305f2f682d17a8fa --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getegid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-010143214 +# @用例名称: ltp.syscalls.getegid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getegid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getegid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getegid01_16.sh b/testcase/syscalls/ltp.syscalls.getegid01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..8b7dacc9673086f52c8459ddf5f076e2e194b707 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getegid01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-018590683 +# @用例名称: ltp.syscalls.getegid01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getegid01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getegid01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getegid02.sh b/testcase/syscalls/ltp.syscalls.getegid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..625a514d95935ea013435ae60394ab13b0dab7db --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getegid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-027096933 +# @用例名称: ltp.syscalls.getegid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getegid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getegid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getegid02_16.sh b/testcase/syscalls/ltp.syscalls.getegid02_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..4f7d68257206b8a08931acca9d8dd1060fef4523 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getegid02_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-035595137 +# @用例名称: ltp.syscalls.getegid02_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getegid02_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getegid02_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.geteuid01.sh b/testcase/syscalls/ltp.syscalls.geteuid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..b883857c93eab0819a23b17446b4a6ecafbcca20 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.geteuid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-046126577 +# @用例名称: ltp.syscalls.geteuid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.geteuid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls geteuid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.geteuid01_16.sh b/testcase/syscalls/ltp.syscalls.geteuid01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..c01cf34a60d684fd49583f2408660b9656a0252e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.geteuid01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-054632185 +# @用例名称: ltp.syscalls.geteuid01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.geteuid01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls geteuid01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.geteuid02.sh b/testcase/syscalls/ltp.syscalls.geteuid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..a2ec482dfa74db5dbeea0f84f80481b34698d428 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.geteuid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-067177945 +# @用例名称: ltp.syscalls.geteuid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.geteuid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls geteuid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.geteuid02_16.sh b/testcase/syscalls/ltp.syscalls.geteuid02_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..7889836ad72d2154d7578e61744f1dbfdef136ba --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.geteuid02_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-078245307 +# @用例名称: ltp.syscalls.geteuid02_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.geteuid02_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls geteuid02_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getgid01.sh b/testcase/syscalls/ltp.syscalls.getgid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..b310e245a0cb2b3d68513d6e406be24a254fbd31 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getgid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-088894347 +# @用例名称: ltp.syscalls.getgid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getgid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getgid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getgid01_16.sh b/testcase/syscalls/ltp.syscalls.getgid01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..6332102d051d80297cddce68586a26c27ebddaff --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getgid01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-097372234 +# @用例名称: ltp.syscalls.getgid01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getgid01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getgid01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getgid03.sh b/testcase/syscalls/ltp.syscalls.getgid03.sh new file mode 100755 index 0000000000000000000000000000000000000000..b6d0d7046acb26e298b7537104b4518c63a20e0f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getgid03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-105998507 +# @用例名称: ltp.syscalls.getgid03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getgid03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getgid03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getgid03_16.sh b/testcase/syscalls/ltp.syscalls.getgid03_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..c559d1fc4dc2eadf2e9a75fc132a9e2edd743b60 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getgid03_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-114831318 +# @用例名称: ltp.syscalls.getgid03_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getgid03_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getgid03_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getgroups01.sh b/testcase/syscalls/ltp.syscalls.getgroups01.sh new file mode 100755 index 0000000000000000000000000000000000000000..47951b4b415335b906936207641798025746ee95 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getgroups01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-125329776 +# @用例名称: ltp.syscalls.getgroups01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getgroups01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getgroups01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getgroups01_16.sh b/testcase/syscalls/ltp.syscalls.getgroups01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d35f5d47e913a9648f8bfb8c1633069c64a24e8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getgroups01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-133818553 +# @用例名称: ltp.syscalls.getgroups01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getgroups01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getgroups01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getgroups03.sh b/testcase/syscalls/ltp.syscalls.getgroups03.sh new file mode 100755 index 0000000000000000000000000000000000000000..cb277ba3baa9909740b2d041a60725ed370ae3a9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getgroups03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-142384554 +# @用例名称: ltp.syscalls.getgroups03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getgroups03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getgroups03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getgroups03_16.sh b/testcase/syscalls/ltp.syscalls.getgroups03_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..4304fecd7c4fb88380942084728ce297ce5d6366 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getgroups03_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-151974663 +# @用例名称: ltp.syscalls.getgroups03_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getgroups03_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getgroups03_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.gethostbyname_r01.sh b/testcase/syscalls/ltp.syscalls.gethostbyname_r01.sh new file mode 100755 index 0000000000000000000000000000000000000000..73a6912993825eb7e838aad71fd669b9360b47ae --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.gethostbyname_r01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-162421564 +# @用例名称: ltp.syscalls.gethostbyname_r01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.gethostbyname_r01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls gethostbyname_r01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.gethostid01.sh b/testcase/syscalls/ltp.syscalls.gethostid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..aa266d68d32e236799257a3ce66e54dc1f9531a1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.gethostid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-173065234 +# @用例名称: ltp.syscalls.gethostid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.gethostid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls gethostid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.gethostname01.sh b/testcase/syscalls/ltp.syscalls.gethostname01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0282d33b5f3fd48bbd59faa4c3d85032822edc9c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.gethostname01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-183595291 +# @用例名称: ltp.syscalls.gethostname01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.gethostname01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls gethostname01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.gethostname02.sh b/testcase/syscalls/ltp.syscalls.gethostname02.sh new file mode 100755 index 0000000000000000000000000000000000000000..6bb2ae7c98fff1c3daa0afec9aa1d83e17c9cf03 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.gethostname02.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172838-931561044 +# @用例名称: ltp.syscalls.gethostname02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.gethostname02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls gethostname02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getitimer01.sh b/testcase/syscalls/ltp.syscalls.getitimer01.sh new file mode 100755 index 0000000000000000000000000000000000000000..abc844e71d27c0a7a036db35722976c030889658 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getitimer01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-194116922 +# @用例名称: ltp.syscalls.getitimer01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getitimer01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getitimer01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getitimer02.sh b/testcase/syscalls/ltp.syscalls.getitimer02.sh new file mode 100755 index 0000000000000000000000000000000000000000..de5df47518d77c46b7ebce5ceb216522a564ed0d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getitimer02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-202682112 +# @用例名称: ltp.syscalls.getitimer02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getitimer02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getitimer02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getpagesize01.sh b/testcase/syscalls/ltp.syscalls.getpagesize01.sh new file mode 100755 index 0000000000000000000000000000000000000000..fecc277ba74eeed9302aadc6f7187bf5dab846df --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getpagesize01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-221598794 +# @用例名称: ltp.syscalls.getpagesize01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getpagesize01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getpagesize01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getpeername01.sh b/testcase/syscalls/ltp.syscalls.getpeername01.sh new file mode 100755 index 0000000000000000000000000000000000000000..061a5fb66d1f871501258040522798920dc7c605 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getpeername01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-232159970 +# @用例名称: ltp.syscalls.getpeername01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getpeername01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getpeername01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getpgid01.sh b/testcase/syscalls/ltp.syscalls.getpgid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c0ab4f584b768a75d8be6a364b0279cd42b0065f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getpgid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-242983877 +# @用例名称: ltp.syscalls.getpgid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getpgid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getpgid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getpgid02.sh b/testcase/syscalls/ltp.syscalls.getpgid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..c27f97257c61c4597c943e30a19100ee126834ab --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getpgid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-251535251 +# @用例名称: ltp.syscalls.getpgid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getpgid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getpgid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getpgrp01.sh b/testcase/syscalls/ltp.syscalls.getpgrp01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9e5165597a15eeeaa976546c82a47a52fcd73d4c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getpgrp01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-262204559 +# @用例名称: ltp.syscalls.getpgrp01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getpgrp01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getpgrp01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getpid01.sh b/testcase/syscalls/ltp.syscalls.getpid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..899634396316c785d1de7e9e6be97d5bf2125d35 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getpid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-275207273 +# @用例名称: ltp.syscalls.getpid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getpid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getpid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getpid02.sh b/testcase/syscalls/ltp.syscalls.getpid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..8eada4f0dffa14f6f7af2cc66a2ed184e4073d01 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getpid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-291706552 +# @用例名称: ltp.syscalls.getpid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getpid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getpid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getppid01.sh b/testcase/syscalls/ltp.syscalls.getppid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..399e7ffae9b76d22ce87ee5fca48439d9ec7d634 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getppid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-303600942 +# @用例名称: ltp.syscalls.getppid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getppid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getppid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getppid02.sh b/testcase/syscalls/ltp.syscalls.getppid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..3b82cd02008f1afa364f779ff4c9de28b9cb9693 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getppid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-313305815 +# @用例名称: ltp.syscalls.getppid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getppid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getppid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getpriority01.sh b/testcase/syscalls/ltp.syscalls.getpriority01.sh new file mode 100755 index 0000000000000000000000000000000000000000..5f78fd502565fa541dddc9ab1fec1d52dbaa690a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getpriority01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-323666144 +# @用例名称: ltp.syscalls.getpriority01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getpriority01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getpriority01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getpriority02.sh b/testcase/syscalls/ltp.syscalls.getpriority02.sh new file mode 100755 index 0000000000000000000000000000000000000000..66493f1395ac7c983a2728f0831661cb0110b9a6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getpriority02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-332333425 +# @用例名称: ltp.syscalls.getpriority02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getpriority02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getpriority02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getrandom01.sh b/testcase/syscalls/ltp.syscalls.getrandom01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9559591ce416c5abe5beaff948a5359cc3fc9b94 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getrandom01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-343309436 +# @用例名称: ltp.syscalls.getrandom01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getrandom01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getrandom01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getrandom02.sh b/testcase/syscalls/ltp.syscalls.getrandom02.sh new file mode 100755 index 0000000000000000000000000000000000000000..686da48cc916b8cc9e1e39f487c383048ebdcea1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getrandom02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-355593497 +# @用例名称: ltp.syscalls.getrandom02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getrandom02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getrandom02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getrandom03.sh b/testcase/syscalls/ltp.syscalls.getrandom03.sh new file mode 100755 index 0000000000000000000000000000000000000000..9e69acb70609e5d3382190ee480dda2f14694da4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getrandom03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-364161732 +# @用例名称: ltp.syscalls.getrandom03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getrandom03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getrandom03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getrandom04.sh b/testcase/syscalls/ltp.syscalls.getrandom04.sh new file mode 100755 index 0000000000000000000000000000000000000000..96de88545a5f2695d5aeb8513956a3f566fb943b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getrandom04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-372731871 +# @用例名称: ltp.syscalls.getrandom04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getrandom04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getrandom04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getrandom05.sh b/testcase/syscalls/ltp.syscalls.getrandom05.sh new file mode 100755 index 0000000000000000000000000000000000000000..e38db4e2c32a882ac8bf375214ce4d604de2efa4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getrandom05.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172839-005041554 +# @用例名称: ltp.syscalls.getrandom05 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getrandom05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getrandom05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getresgid01.sh b/testcase/syscalls/ltp.syscalls.getresgid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..768edc50c614a2066f405ce070f8e35e8a814479 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getresgid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-384448549 +# @用例名称: ltp.syscalls.getresgid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getresgid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getresgid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getresgid01_16.sh b/testcase/syscalls/ltp.syscalls.getresgid01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..a342e69187d2c89dd2c1873a61507e42852efca6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getresgid01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-393062550 +# @用例名称: ltp.syscalls.getresgid01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getresgid01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getresgid01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getresgid02.sh b/testcase/syscalls/ltp.syscalls.getresgid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..1a6670b4e66f320909eaa390285aded4afc10655 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getresgid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-401564141 +# @用例名称: ltp.syscalls.getresgid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getresgid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getresgid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getresgid02_16.sh b/testcase/syscalls/ltp.syscalls.getresgid02_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..24b2a6938c7fd4b36fd1451fd02a2a31cbcbfbf9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getresgid02_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-410427279 +# @用例名称: ltp.syscalls.getresgid02_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getresgid02_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getresgid02_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getresgid03.sh b/testcase/syscalls/ltp.syscalls.getresgid03.sh new file mode 100755 index 0000000000000000000000000000000000000000..4574ef002f038493909c7cbc1ae1f23870b0c4da --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getresgid03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-418983903 +# @用例名称: ltp.syscalls.getresgid03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getresgid03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getresgid03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getresgid03_16.sh b/testcase/syscalls/ltp.syscalls.getresgid03_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..8b7d82dbc58e0b2b6861e9cae20a0cbfa43c2066 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getresgid03_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-427574740 +# @用例名称: ltp.syscalls.getresgid03_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getresgid03_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getresgid03_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getresuid01.sh b/testcase/syscalls/ltp.syscalls.getresuid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9d29a9bb36e9e4a5337667f0d85b2d798294baad --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getresuid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-438076383 +# @用例名称: ltp.syscalls.getresuid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getresuid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getresuid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getresuid01_16.sh b/testcase/syscalls/ltp.syscalls.getresuid01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..8ec1a7bf4505d9f4ee1ebdf96846998bf716fe87 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getresuid01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-446577964 +# @用例名称: ltp.syscalls.getresuid01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getresuid01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getresuid01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getresuid02.sh b/testcase/syscalls/ltp.syscalls.getresuid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..e13bce42c7c821bd6c5beb6dc9489cc3327dcdb6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getresuid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-455106045 +# @用例名称: ltp.syscalls.getresuid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getresuid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getresuid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getresuid02_16.sh b/testcase/syscalls/ltp.syscalls.getresuid02_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..890de837dcadb2ac378396e205d30aa79db821d9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getresuid02_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-463704036 +# @用例名称: ltp.syscalls.getresuid02_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getresuid02_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getresuid02_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getresuid03.sh b/testcase/syscalls/ltp.syscalls.getresuid03.sh new file mode 100755 index 0000000000000000000000000000000000000000..20733515679f4231e3fdc2fb30d8e3277735e859 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getresuid03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-472349977 +# @用例名称: ltp.syscalls.getresuid03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getresuid03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getresuid03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getresuid03_16.sh b/testcase/syscalls/ltp.syscalls.getresuid03_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..56143b461fd473f466754d214b5fff6ba4f95fdd --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getresuid03_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-481003723 +# @用例名称: ltp.syscalls.getresuid03_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getresuid03_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getresuid03_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getrlimit01.sh b/testcase/syscalls/ltp.syscalls.getrlimit01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f4dc8e5e48b30b222663814b52858bf04572a70d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getrlimit01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-491546915 +# @用例名称: ltp.syscalls.getrlimit01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getrlimit01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getrlimit01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getrlimit02.sh b/testcase/syscalls/ltp.syscalls.getrlimit02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ab11eecb14c5e944227ed521053842cf07d50672 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getrlimit02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-500080514 +# @用例名称: ltp.syscalls.getrlimit02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getrlimit02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getrlimit02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getrlimit03.sh b/testcase/syscalls/ltp.syscalls.getrlimit03.sh new file mode 100755 index 0000000000000000000000000000000000000000..008eb0408861329c190815596372a53ebeb9f2bb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getrlimit03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-508727859 +# @用例名称: ltp.syscalls.getrlimit03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getrlimit03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getrlimit03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getrusage01.sh b/testcase/syscalls/ltp.syscalls.getrusage01.sh new file mode 100755 index 0000000000000000000000000000000000000000..012d60bc7e6f3e52dbdeb3e1ca93442da81a08ad --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getrusage01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-546976681 +# @用例名称: ltp.syscalls.getrusage01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getrusage01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getrusage01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getrusage02.sh b/testcase/syscalls/ltp.syscalls.getrusage02.sh new file mode 100755 index 0000000000000000000000000000000000000000..0a98a84c0d263c33965a2c881ed314f014decf3b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getrusage02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-555615890 +# @用例名称: ltp.syscalls.getrusage02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getrusage02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getrusage02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getrusage03.sh b/testcase/syscalls/ltp.syscalls.getrusage03.sh new file mode 100755 index 0000000000000000000000000000000000000000..3465866e1ebe4144f235b8d149e4fbc19ecd0785 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getrusage03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-564536224 +# @用例名称: ltp.syscalls.getrusage03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getrusage03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getrusage03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getrusage04.sh b/testcase/syscalls/ltp.syscalls.getrusage04.sh new file mode 100755 index 0000000000000000000000000000000000000000..11e86d0e5972278b758cfe79b0a44f12360eeb48 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getrusage04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-573398731 +# @用例名称: ltp.syscalls.getrusage04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getrusage04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getrusage04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getsid01.sh b/testcase/syscalls/ltp.syscalls.getsid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..97a208f03fde2d5dfe4abd5801df2e3407bf8a70 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getsid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-583865048 +# @用例名称: ltp.syscalls.getsid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getsid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getsid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getsid02.sh b/testcase/syscalls/ltp.syscalls.getsid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..213d31a5fb4c63ff5b4c6db61c42bb63c0d306ad --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getsid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-592363253 +# @用例名称: ltp.syscalls.getsid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getsid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getsid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getsockname01.sh b/testcase/syscalls/ltp.syscalls.getsockname01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a3614edc315b2b593728da680936893d92a56943 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getsockname01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-602845630 +# @用例名称: ltp.syscalls.getsockname01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getsockname01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getsockname01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getsockopt01.sh b/testcase/syscalls/ltp.syscalls.getsockopt01.sh new file mode 100755 index 0000000000000000000000000000000000000000..30ba07a8f9d21347e58267cd61356ac219eba82b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getsockopt01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-613522503 +# @用例名称: ltp.syscalls.getsockopt01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getsockopt01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getsockopt01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getsockopt02.sh b/testcase/syscalls/ltp.syscalls.getsockopt02.sh new file mode 100755 index 0000000000000000000000000000000000000000..4f0f42b0747b8bcd363c977a16d2b71b50db1704 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getsockopt02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-622156721 +# @用例名称: ltp.syscalls.getsockopt02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getsockopt02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getsockopt02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.gettid01.sh b/testcase/syscalls/ltp.syscalls.gettid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..db0f907fc36b43f6efa20dc4439f282855d9ca99 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.gettid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-633807656 +# @用例名称: ltp.syscalls.gettid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.gettid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls gettid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.gettid02.sh b/testcase/syscalls/ltp.syscalls.gettid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..21b53cac20ac4ebfeda3f30c810cf03c5f384570 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.gettid02.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172839-087930437 +# @用例名称: ltp.syscalls.gettid02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.gettid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls gettid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.gettimeofday01.sh b/testcase/syscalls/ltp.syscalls.gettimeofday01.sh new file mode 100755 index 0000000000000000000000000000000000000000..3dddd47007ff54d4ac354b0fa3aea3066d78f678 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.gettimeofday01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-644352942 +# @用例名称: ltp.syscalls.gettimeofday01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.gettimeofday01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls gettimeofday01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.gettimeofday02.sh b/testcase/syscalls/ltp.syscalls.gettimeofday02.sh new file mode 100755 index 0000000000000000000000000000000000000000..1b1ee93360af20bedff3b31adfb36dcb54b910ba --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.gettimeofday02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-652885821 +# @用例名称: ltp.syscalls.gettimeofday02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.gettimeofday02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls gettimeofday02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getuid01.sh b/testcase/syscalls/ltp.syscalls.getuid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7419014a37ac3c8418413f73c4356e8f36b1af19 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getuid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-663555960 +# @用例名称: ltp.syscalls.getuid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getuid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getuid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getuid01_16.sh b/testcase/syscalls/ltp.syscalls.getuid01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..cca97202073f0025e5ceeb3b79f38cd03e41f9b5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getuid01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-672385585 +# @用例名称: ltp.syscalls.getuid01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getuid01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getuid01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getuid03.sh b/testcase/syscalls/ltp.syscalls.getuid03.sh new file mode 100755 index 0000000000000000000000000000000000000000..d28e15d07fc329e95873b64a9aecc3cd427daf21 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getuid03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-681129930 +# @用例名称: ltp.syscalls.getuid03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getuid03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getuid03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getuid03_16.sh b/testcase/syscalls/ltp.syscalls.getuid03_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..ca2aece7961269cf8dbac78702776893dd026170 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getuid03_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-689652200 +# @用例名称: ltp.syscalls.getuid03_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getuid03_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getuid03_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getxattr01.sh b/testcase/syscalls/ltp.syscalls.getxattr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..5b313ae8c252a41ce9d4784a3ab8b94db2cb86d7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getxattr01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-700111945 +# @用例名称: ltp.syscalls.getxattr01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getxattr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getxattr01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getxattr02.sh b/testcase/syscalls/ltp.syscalls.getxattr02.sh new file mode 100755 index 0000000000000000000000000000000000000000..c2783d8b11f989a7a75c0b3302f1787aa1e3e508 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getxattr02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-708673378 +# @用例名称: ltp.syscalls.getxattr02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getxattr02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getxattr02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getxattr03.sh b/testcase/syscalls/ltp.syscalls.getxattr03.sh new file mode 100755 index 0000000000000000000000000000000000000000..47f0055fa1733a4ff3c9bd55ed965dd6d6a55d96 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getxattr03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-717240672 +# @用例名称: ltp.syscalls.getxattr03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getxattr03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getxattr03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getxattr04.sh b/testcase/syscalls/ltp.syscalls.getxattr04.sh new file mode 100755 index 0000000000000000000000000000000000000000..7e6be03962b6cf53c2b5dc3f29aa7af802f56e59 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getxattr04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-725758273 +# @用例名称: ltp.syscalls.getxattr04 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getxattr04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getxattr04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.getxattr05.sh b/testcase/syscalls/ltp.syscalls.getxattr05.sh new file mode 100755 index 0000000000000000000000000000000000000000..94b1327e8b7973517ea5fb214bf0a713eac04a2a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.getxattr05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-734350613 +# @用例名称: ltp.syscalls.getxattr05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.getxattr05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls getxattr05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.init_module01.sh b/testcase/syscalls/ltp.syscalls.init_module01.sh new file mode 100755 index 0000000000000000000000000000000000000000..47414fe886f28032d7a7be77a8173c67962c3a0f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.init_module01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-744727984 +# @用例名称: ltp.syscalls.init_module01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.init_module01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls init_module01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.init_module02.sh b/testcase/syscalls/ltp.syscalls.init_module02.sh new file mode 100755 index 0000000000000000000000000000000000000000..21a4dc7ed225404b1fcc0ec5118f6e94aa531969 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.init_module02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-753904087 +# @用例名称: ltp.syscalls.init_module02 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.init_module02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls init_module02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.inotify01.sh b/testcase/syscalls/ltp.syscalls.inotify01.sh new file mode 100755 index 0000000000000000000000000000000000000000..37b968d325d3b9239539ec51b3664143ebbc759a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.inotify01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-000749590 +# @用例名称: ltp.syscalls.inotify01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.inotify01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls inotify01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.inotify02.sh b/testcase/syscalls/ltp.syscalls.inotify02.sh new file mode 100755 index 0000000000000000000000000000000000000000..660b1fb7d10acf00b8b7275b42814d9678a319c8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.inotify02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-012194560 +# @用例名称: ltp.syscalls.inotify02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.inotify02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls inotify02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.inotify03.sh b/testcase/syscalls/ltp.syscalls.inotify03.sh new file mode 100755 index 0000000000000000000000000000000000000000..da7bb43533dc25b4965167ba28558d7e1fe7e9af --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.inotify03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-021200555 +# @用例名称: ltp.syscalls.inotify03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.inotify03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls inotify03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.inotify04.sh b/testcase/syscalls/ltp.syscalls.inotify04.sh new file mode 100755 index 0000000000000000000000000000000000000000..a3544c7652142d8ce99b3128844021e4653e2983 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.inotify04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-029920754 +# @用例名称: ltp.syscalls.inotify04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.inotify04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls inotify04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.inotify05.sh b/testcase/syscalls/ltp.syscalls.inotify05.sh new file mode 100755 index 0000000000000000000000000000000000000000..a6babdf019c6ecae0dcec36786f5edaa519fd0ed --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.inotify05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-038476837 +# @用例名称: ltp.syscalls.inotify05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.inotify05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls inotify05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.inotify06.sh b/testcase/syscalls/ltp.syscalls.inotify06.sh new file mode 100755 index 0000000000000000000000000000000000000000..095da3db416208a739c9d02de994d0c94e6d48e9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.inotify06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-046942952 +# @用例名称: ltp.syscalls.inotify06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.inotify06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls inotify06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.inotify07.sh b/testcase/syscalls/ltp.syscalls.inotify07.sh new file mode 100755 index 0000000000000000000000000000000000000000..7606ea028512dac49be4ca350a7426c6d8219376 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.inotify07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-055434323 +# @用例名称: ltp.syscalls.inotify07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.inotify07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls inotify07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.inotify08.sh b/testcase/syscalls/ltp.syscalls.inotify08.sh new file mode 100755 index 0000000000000000000000000000000000000000..83631e8de6ea34185d188bedd5a86e24f91bb080 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.inotify08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-064474302 +# @用例名称: ltp.syscalls.inotify08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.inotify08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls inotify08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.inotify09.sh b/testcase/syscalls/ltp.syscalls.inotify09.sh new file mode 100755 index 0000000000000000000000000000000000000000..737e08ce3d063e12afb8e16145ce36910e9ccd78 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.inotify09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-073245828 +# @用例名称: ltp.syscalls.inotify09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.inotify09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls inotify09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.inotify10.sh b/testcase/syscalls/ltp.syscalls.inotify10.sh new file mode 100755 index 0000000000000000000000000000000000000000..899af1a077602574f1c8f06ee0d0cb6823e81ed7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.inotify10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-081915172 +# @用例名称: ltp.syscalls.inotify10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.inotify10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls inotify10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.inotify11.sh b/testcase/syscalls/ltp.syscalls.inotify11.sh new file mode 100755 index 0000000000000000000000000000000000000000..5612b2fb27984a6954ae49ca5bd9971e05196426 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.inotify11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141851-752885807 +# @用例名称: ltp.syscalls.inotify11 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.inotify11 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls inotify11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.inotify12.sh b/testcase/syscalls/ltp.syscalls.inotify12.sh new file mode 100755 index 0000000000000000000000000000000000000000..9ecbef572a0d23d3f00f563b56890558986bf142 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.inotify12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141851-817734476 +# @用例名称: ltp.syscalls.inotify12 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.inotify12 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls inotify12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.inotify_init1_01.sh b/testcase/syscalls/ltp.syscalls.inotify_init1_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..b0869cbd2f9eb5ad130f310a96bce8d6b497014d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.inotify_init1_01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-980438658 +# @用例名称: ltp.syscalls.inotify_init1_01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.inotify_init1_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls inotify_init1_01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.inotify_init1_02.sh b/testcase/syscalls/ltp.syscalls.inotify_init1_02.sh new file mode 100755 index 0000000000000000000000000000000000000000..03acb20601e2246d75a8497ff5d614b35a64bf88 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.inotify_init1_02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-990249780 +# @用例名称: ltp.syscalls.inotify_init1_02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.inotify_init1_02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls inotify_init1_02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.io_cancel01.sh b/testcase/syscalls/ltp.syscalls.io_cancel01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f308dea5293e2bfcf2e07d08a6bcdaa13c7edfee --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.io_cancel01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-368359264 +# @用例名称: ltp.syscalls.io_cancel01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.io_cancel01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls io_cancel01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.io_cancel02.sh b/testcase/syscalls/ltp.syscalls.io_cancel02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b4ba323e24b84dee62d8e797ec4187af4c1653e7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.io_cancel02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-376939422 +# @用例名称: ltp.syscalls.io_cancel02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.io_cancel02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls io_cancel02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.io_destroy01.sh b/testcase/syscalls/ltp.syscalls.io_destroy01.sh new file mode 100755 index 0000000000000000000000000000000000000000..367d89e8edba0669def71a949568313c823194d7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.io_destroy01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-385533335 +# @用例名称: ltp.syscalls.io_destroy01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.io_destroy01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls io_destroy01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.io_destroy02.sh b/testcase/syscalls/ltp.syscalls.io_destroy02.sh new file mode 100755 index 0000000000000000000000000000000000000000..bfc3811258a0c9aefcd99e1ed13526822d4818ed --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.io_destroy02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-394141216 +# @用例名称: ltp.syscalls.io_destroy02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.io_destroy02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls io_destroy02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.io_getevents01.sh b/testcase/syscalls/ltp.syscalls.io_getevents01.sh new file mode 100755 index 0000000000000000000000000000000000000000..fb6e409f23d576d9c9d2a9e0a251ed8cdcedef97 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.io_getevents01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-402738686 +# @用例名称: ltp.syscalls.io_getevents01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.io_getevents01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls io_getevents01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.io_getevents02.sh b/testcase/syscalls/ltp.syscalls.io_getevents02.sh new file mode 100755 index 0000000000000000000000000000000000000000..43b9b5a0165769063d239a5a309063a1a7295943 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.io_getevents02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-411236830 +# @用例名称: ltp.syscalls.io_getevents02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.io_getevents02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls io_getevents02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.io_pgetevents01.sh b/testcase/syscalls/ltp.syscalls.io_pgetevents01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c0f6ce70f3987622604b52e9fd88b124fa3efba9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.io_pgetevents01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-421861133 +# @用例名称: ltp.syscalls.io_pgetevents01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.io_pgetevents01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls io_pgetevents01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.io_pgetevents02.sh b/testcase/syscalls/ltp.syscalls.io_pgetevents02.sh new file mode 100755 index 0000000000000000000000000000000000000000..06ff37ae2f0a82f55e8f753abf1b6d8b5f942528 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.io_pgetevents02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-430519438 +# @用例名称: ltp.syscalls.io_pgetevents02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.io_pgetevents02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls io_pgetevents02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.io_setup01.sh b/testcase/syscalls/ltp.syscalls.io_setup01.sh new file mode 100755 index 0000000000000000000000000000000000000000..51650fed7e7743db3341294a55b39cbe70db3082 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.io_setup01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-441101723 +# @用例名称: ltp.syscalls.io_setup01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.io_setup01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls io_setup01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.io_setup02.sh b/testcase/syscalls/ltp.syscalls.io_setup02.sh new file mode 100755 index 0000000000000000000000000000000000000000..625fba826fbfbb3a1e6e56a58f2c891681bb15f5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.io_setup02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-449633039 +# @用例名称: ltp.syscalls.io_setup02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.io_setup02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls io_setup02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.io_submit01.sh b/testcase/syscalls/ltp.syscalls.io_submit01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4f336676f31095a46bbf23837b6e42f83182498a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.io_submit01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-458190464 +# @用例名称: ltp.syscalls.io_submit01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.io_submit01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls io_submit01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.io_submit02.sh b/testcase/syscalls/ltp.syscalls.io_submit02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b356b5b93bc11d240863a6eb9cf4d5eec0b3a1ce --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.io_submit02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-466948495 +# @用例名称: ltp.syscalls.io_submit02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.io_submit02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls io_submit02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.io_submit03.sh b/testcase/syscalls/ltp.syscalls.io_submit03.sh new file mode 100755 index 0000000000000000000000000000000000000000..cfe7d37eff91dab5891d9774d3b5276cf2c0adf9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.io_submit03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-475523734 +# @用例名称: ltp.syscalls.io_submit03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.io_submit03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls io_submit03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.io_uring01.sh b/testcase/syscalls/ltp.syscalls.io_uring01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0ace9fde6e4eeadf79587172ee0d8419eee933f2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.io_uring01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-499685667 +# @用例名称: ltp.syscalls.io_uring01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.io_uring01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls io_uring01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.io_uring02.sh b/testcase/syscalls/ltp.syscalls.io_uring02.sh new file mode 100755 index 0000000000000000000000000000000000000000..86c2117c47c644a8079cf07995d348b5f8d3b91b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.io_uring02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-508210461 +# @用例名称: ltp.syscalls.io_uring02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.io_uring02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls io_uring02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl01.sh b/testcase/syscalls/ltp.syscalls.ioctl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e7f310a4fd5b84da487843567d810fb843c0d3a2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl01.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172839-162699457 +# @用例名称: ltp.syscalls.ioctl01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl02.sh b/testcase/syscalls/ltp.syscalls.ioctl02.sh new file mode 100755 index 0000000000000000000000000000000000000000..8381cba6a3cd11399873b2d8083dceeee909260d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl02.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172839-239708182 +# @用例名称: ltp.syscalls.ioctl02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl03.sh b/testcase/syscalls/ltp.syscalls.ioctl03.sh new file mode 100755 index 0000000000000000000000000000000000000000..a495eb8578b02934175131d67b2100ac842989f1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-779152540 +# @用例名称: ltp.syscalls.ioctl03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl04.sh b/testcase/syscalls/ltp.syscalls.ioctl04.sh new file mode 100755 index 0000000000000000000000000000000000000000..c4036d7396c0304c7e4abaec0257559257449d0b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-787747686 +# @用例名称: ltp.syscalls.ioctl04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl05.sh b/testcase/syscalls/ltp.syscalls.ioctl05.sh new file mode 100755 index 0000000000000000000000000000000000000000..64cbaccc24ee17e2d0c9818bd47f3a0a7da4f76e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-796218519 +# @用例名称: ltp.syscalls.ioctl05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl06.sh b/testcase/syscalls/ltp.syscalls.ioctl06.sh new file mode 100755 index 0000000000000000000000000000000000000000..33b0996f93bc1efd3662cfb2b15bcb01f9bcf53f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-804855773 +# @用例名称: ltp.syscalls.ioctl06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl07.sh b/testcase/syscalls/ltp.syscalls.ioctl07.sh new file mode 100755 index 0000000000000000000000000000000000000000..63aca75945afa827d35be06b81ea62f71377b837 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-813509369 +# @用例名称: ltp.syscalls.ioctl07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl08.sh b/testcase/syscalls/ltp.syscalls.ioctl08.sh new file mode 100755 index 0000000000000000000000000000000000000000..8461352dd6f1c9a5995f9dac2553ab6b20f02f67 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-823080672 +# @用例名称: ltp.syscalls.ioctl08 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl09.sh b/testcase/syscalls/ltp.syscalls.ioctl09.sh new file mode 100755 index 0000000000000000000000000000000000000000..d049d0a253db4610e74e1c368fc7396833697dc2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-831641874 +# @用例名称: ltp.syscalls.ioctl09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl10.sh b/testcase/syscalls/ltp.syscalls.ioctl10.sh new file mode 100755 index 0000000000000000000000000000000000000000..64a02d5264657e17f72d8efb06e9b1700922855a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl10.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110838-361432663 +# @用例名称: ltp.syscalls.ioctl10 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl10 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_ficlone01.sh b/testcase/syscalls/ltp.syscalls.ioctl_ficlone01.sh new file mode 100755 index 0000000000000000000000000000000000000000..6066e10951fdfa75010532c04ca9e0e847b4bbf7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_ficlone01.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110838-446402827 +# @用例名称: ltp.syscalls.ioctl_ficlone01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_ficlone01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_ficlone01 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_ficlone02.sh b/testcase/syscalls/ltp.syscalls.ioctl_ficlone02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ffa0137700f44dc73af0f8a7182472b2fa54c4d6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_ficlone02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110838-533001967 +# @用例名称: ltp.syscalls.ioctl_ficlone02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_ficlone02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_ficlone02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_ficlone03.sh b/testcase/syscalls/ltp.syscalls.ioctl_ficlone03.sh new file mode 100755 index 0000000000000000000000000000000000000000..8195d637f4f08edf45832719b4eb965e0eac0616 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_ficlone03.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110838-618134068 +# @用例名称: ltp.syscalls.ioctl_ficlone03 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_ficlone03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_ficlone03 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_ficlonerange01.sh b/testcase/syscalls/ltp.syscalls.ioctl_ficlonerange01.sh new file mode 100755 index 0000000000000000000000000000000000000000..af9a278ffc86bce224c34b038bccad560da66d16 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_ficlonerange01.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110838-704057462 +# @用例名称: ltp.syscalls.ioctl_ficlonerange01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_ficlonerange01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_ficlonerange01 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_ficlonerange02.sh b/testcase/syscalls/ltp.syscalls.ioctl_ficlonerange02.sh new file mode 100755 index 0000000000000000000000000000000000000000..2be24f203071fd9b39684e5f100c0b59db7d9374 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_ficlonerange02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110838-789954665 +# @用例名称: ltp.syscalls.ioctl_ficlonerange02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_ficlonerange02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_ficlonerange02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_fiemap01.sh b/testcase/syscalls/ltp.syscalls.ioctl_fiemap01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c0d36e90ddaacf4fd30a7f3973c41cf4f77b0b31 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_fiemap01.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110838-878354666 +# @用例名称: ltp.syscalls.ioctl_fiemap01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_fiemap01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_fiemap01 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_loop01.sh b/testcase/syscalls/ltp.syscalls.ioctl_loop01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ed2f60084d3ccf1af4b74a4219580f6e45ec7411 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_loop01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-842063959 +# @用例名称: ltp.syscalls.ioctl_loop01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_loop01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_loop01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_loop02.sh b/testcase/syscalls/ltp.syscalls.ioctl_loop02.sh new file mode 100755 index 0000000000000000000000000000000000000000..9c4e0f0f29c8facaf2c46e44a20119fc6743a625 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_loop02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-853949874 +# @用例名称: ltp.syscalls.ioctl_loop02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_loop02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_loop02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_loop03.sh b/testcase/syscalls/ltp.syscalls.ioctl_loop03.sh new file mode 100755 index 0000000000000000000000000000000000000000..5112150031c1f237ef54460624925858ae1d7e76 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_loop03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-862738462 +# @用例名称: ltp.syscalls.ioctl_loop03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_loop03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_loop03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_loop04.sh b/testcase/syscalls/ltp.syscalls.ioctl_loop04.sh new file mode 100755 index 0000000000000000000000000000000000000000..8712c4302882fad4bebf55752ed1899ff8e42034 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_loop04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-871385004 +# @用例名称: ltp.syscalls.ioctl_loop04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_loop04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_loop04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_loop05.sh b/testcase/syscalls/ltp.syscalls.ioctl_loop05.sh new file mode 100755 index 0000000000000000000000000000000000000000..754f539b700dedda8441e35c154d2e8e0a400e0d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_loop05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-880044119 +# @用例名称: ltp.syscalls.ioctl_loop05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_loop05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_loop05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_loop06.sh b/testcase/syscalls/ltp.syscalls.ioctl_loop06.sh new file mode 100755 index 0000000000000000000000000000000000000000..8ac88258f39ab245af3cefbabd6fcd2efa7ec971 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_loop06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-888708054 +# @用例名称: ltp.syscalls.ioctl_loop06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_loop06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_loop06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_loop07.sh b/testcase/syscalls/ltp.syscalls.ioctl_loop07.sh new file mode 100755 index 0000000000000000000000000000000000000000..d471356843f45659e7bba31485eca61236fadc94 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_loop07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-897192693 +# @用例名称: ltp.syscalls.ioctl_loop07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_loop07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_loop07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_ns01.sh b/testcase/syscalls/ltp.syscalls.ioctl_ns01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0dc0e6b092b3fad41aa9ece39b78c86c55958e01 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_ns01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-907607845 +# @用例名称: ltp.syscalls.ioctl_ns01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_ns01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_ns01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_ns02.sh b/testcase/syscalls/ltp.syscalls.ioctl_ns02.sh new file mode 100755 index 0000000000000000000000000000000000000000..c1eaf25616e60b39fe9319afe34f576f80759dd3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_ns02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-916223510 +# @用例名称: ltp.syscalls.ioctl_ns02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_ns02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_ns02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_ns03.sh b/testcase/syscalls/ltp.syscalls.ioctl_ns03.sh new file mode 100755 index 0000000000000000000000000000000000000000..62811c10fcbcaf63e5b84028b5aafcf4f9e799b0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_ns03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-924777868 +# @用例名称: ltp.syscalls.ioctl_ns03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_ns03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_ns03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_ns04.sh b/testcase/syscalls/ltp.syscalls.ioctl_ns04.sh new file mode 100755 index 0000000000000000000000000000000000000000..09e9feb69cd9d063853ef3a3b099b1e79181edf4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_ns04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-933369939 +# @用例名称: ltp.syscalls.ioctl_ns04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_ns04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_ns04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_ns05.sh b/testcase/syscalls/ltp.syscalls.ioctl_ns05.sh new file mode 100755 index 0000000000000000000000000000000000000000..2870a4e6d4e10c75419d827c8e1c2c2c42ad50dd --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_ns05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-942063469 +# @用例名称: ltp.syscalls.ioctl_ns05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_ns05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_ns05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_ns06.sh b/testcase/syscalls/ltp.syscalls.ioctl_ns06.sh new file mode 100755 index 0000000000000000000000000000000000000000..18229965b3dfb17bc591de9feef73bd1e34a7bc4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_ns06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-950591058 +# @用例名称: ltp.syscalls.ioctl_ns06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_ns06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_ns06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_ns07.sh b/testcase/syscalls/ltp.syscalls.ioctl_ns07.sh new file mode 100755 index 0000000000000000000000000000000000000000..766a6284b469f862028bf42a5bf1d97cc316683f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_ns07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-959199720 +# @用例名称: ltp.syscalls.ioctl_ns07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_ns07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_ns07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioctl_sg01.sh b/testcase/syscalls/ltp.syscalls.ioctl_sg01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9499e11c78bd7674ab6fa844859843fce65bcb06 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioctl_sg01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213015-969809466 +# @用例名称: ltp.syscalls.ioctl_sg01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioctl_sg01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioctl_sg01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioperm01.sh b/testcase/syscalls/ltp.syscalls.ioperm01.sh new file mode 100755 index 0000000000000000000000000000000000000000..604f5d8b0b9b3a15ee96026ab67a2b3c7177b2d8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioperm01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-292421877 +# @用例名称: ltp.syscalls.ioperm01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioperm01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioperm01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioperm02.sh b/testcase/syscalls/ltp.syscalls.ioperm02.sh new file mode 100755 index 0000000000000000000000000000000000000000..c1e85d026094b82f46468909d4ab172a4fe521d8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioperm02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-300881599 +# @用例名称: ltp.syscalls.ioperm02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioperm02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioperm02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.iopl01.sh b/testcase/syscalls/ltp.syscalls.iopl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..3881f72257534a432bfc80ced84a9b4473c37710 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.iopl01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-311878711 +# @用例名称: ltp.syscalls.iopl01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.iopl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls iopl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.iopl02.sh b/testcase/syscalls/ltp.syscalls.iopl02.sh new file mode 100755 index 0000000000000000000000000000000000000000..bc75cdc14c918d5c3d8a88192e5ac0c4292abadd --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.iopl02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-320458007 +# @用例名称: ltp.syscalls.iopl02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.iopl02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls iopl02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioprio_get01.sh b/testcase/syscalls/ltp.syscalls.ioprio_get01.sh new file mode 100755 index 0000000000000000000000000000000000000000..b8520a5d86206cad2adb92c614f7b8f70c661370 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioprio_get01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-331082160 +# @用例名称: ltp.syscalls.ioprio_get01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioprio_get01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioprio_get01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioprio_set01.sh b/testcase/syscalls/ltp.syscalls.ioprio_set01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d30262dfbdac43e5f09c9fe4b2b242e0a5419eb1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioprio_set01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-339698316 +# @用例名称: ltp.syscalls.ioprio_set01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioprio_set01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioprio_set01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioprio_set02.sh b/testcase/syscalls/ltp.syscalls.ioprio_set02.sh new file mode 100755 index 0000000000000000000000000000000000000000..819edf19f33b483f7bcbcb2e92eb7ff359497c51 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioprio_set02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-348825156 +# @用例名称: ltp.syscalls.ioprio_set02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioprio_set02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioprio_set02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ioprio_set03.sh b/testcase/syscalls/ltp.syscalls.ioprio_set03.sh new file mode 100755 index 0000000000000000000000000000000000000000..93a26f42f9aff1892460f4f311fd741b20f8edbe --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ioprio_set03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-357574891 +# @用例名称: ltp.syscalls.ioprio_set03 +# @用例级别: 1 +# @用例标签: TK5不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ioprio_set03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ioprio_set03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.kcmp01.sh b/testcase/syscalls/ltp.syscalls.kcmp01.sh new file mode 100755 index 0000000000000000000000000000000000000000..890f39653e29dfd7e9e45ef726248220e6e2ed22 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.kcmp01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-556807216 +# @用例名称: ltp.syscalls.kcmp01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.kcmp01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls kcmp01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.kcmp02.sh b/testcase/syscalls/ltp.syscalls.kcmp02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b98fd913087c3d477745261ea6dbef425755642c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.kcmp02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-565373498 +# @用例名称: ltp.syscalls.kcmp02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.kcmp02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls kcmp02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.kcmp03.sh b/testcase/syscalls/ltp.syscalls.kcmp03.sh new file mode 100755 index 0000000000000000000000000000000000000000..e08b20f1c426038f9f3d98b6ef104e30ac4b8740 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.kcmp03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-573903442 +# @用例名称: ltp.syscalls.kcmp03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.kcmp03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls kcmp03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.keyctl01.sh b/testcase/syscalls/ltp.syscalls.keyctl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..fd17aaabd6cc1a5e1330af9de6544c9edd9e40f4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.keyctl01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-486074710 +# @用例名称: ltp.syscalls.keyctl01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.keyctl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls keyctl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.keyctl02.sh b/testcase/syscalls/ltp.syscalls.keyctl02.sh new file mode 100755 index 0000000000000000000000000000000000000000..38681a7008eec44d30ccdf21bb0f4e13a245f121 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.keyctl02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-494639479 +# @用例名称: ltp.syscalls.keyctl02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.keyctl02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls keyctl02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.keyctl03.sh b/testcase/syscalls/ltp.syscalls.keyctl03.sh new file mode 100755 index 0000000000000000000000000000000000000000..83d98870690e575012709ae88f348946a9d51dff --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.keyctl03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-503266835 +# @用例名称: ltp.syscalls.keyctl03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.keyctl03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls keyctl03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.keyctl04.sh b/testcase/syscalls/ltp.syscalls.keyctl04.sh new file mode 100755 index 0000000000000000000000000000000000000000..0fe99fb7155b85be899c0f85272fd5a5512f944e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.keyctl04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-511948212 +# @用例名称: ltp.syscalls.keyctl04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.keyctl04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls keyctl04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.keyctl05.sh b/testcase/syscalls/ltp.syscalls.keyctl05.sh new file mode 100755 index 0000000000000000000000000000000000000000..8c34f7e4ffccc9bb4f5eb5aa76abb5909e50680e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.keyctl05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-520599123 +# @用例名称: ltp.syscalls.keyctl05 +# @用例级别: 1 +# @用例标签: TK5不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.keyctl05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls keyctl05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.keyctl06.sh b/testcase/syscalls/ltp.syscalls.keyctl06.sh new file mode 100755 index 0000000000000000000000000000000000000000..cbee97193756b694b094fa71ad46da3a44baa069 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.keyctl06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-529213564 +# @用例名称: ltp.syscalls.keyctl06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.keyctl06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls keyctl06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.keyctl07.sh b/testcase/syscalls/ltp.syscalls.keyctl07.sh new file mode 100755 index 0000000000000000000000000000000000000000..15516e73fecb1952ab09b1673854d6efaa20d1dd --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.keyctl07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-537918856 +# @用例名称: ltp.syscalls.keyctl07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.keyctl07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls keyctl07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.keyctl08.sh b/testcase/syscalls/ltp.syscalls.keyctl08.sh new file mode 100755 index 0000000000000000000000000000000000000000..77860f42afe2866ec1d20ce29957fa7aafc416d5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.keyctl08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-546375754 +# @用例名称: ltp.syscalls.keyctl08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.keyctl08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls keyctl08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.keyctl09.sh b/testcase/syscalls/ltp.syscalls.keyctl09.sh new file mode 100755 index 0000000000000000000000000000000000000000..372493c433cf7b84eda9a6fe886a5288a15130f6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.keyctl09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141851-883483958 +# @用例名称: ltp.syscalls.keyctl09 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.keyctl09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls keyctl09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.kill02.sh b/testcase/syscalls/ltp.syscalls.kill02.sh new file mode 100755 index 0000000000000000000000000000000000000000..f81101959d7640edf702ad015ca3af116cf5db52 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.kill02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-584448537 +# @用例名称: ltp.syscalls.kill02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.kill02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls kill02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.kill03.sh b/testcase/syscalls/ltp.syscalls.kill03.sh new file mode 100755 index 0000000000000000000000000000000000000000..337187e2e982b9c41bf4da3ad4ec4833ddcabdb0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.kill03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-593331281 +# @用例名称: ltp.syscalls.kill03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.kill03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls kill03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.kill05.sh b/testcase/syscalls/ltp.syscalls.kill05.sh new file mode 100755 index 0000000000000000000000000000000000000000..bb9fbe99dffcc018b7ebf5eeafac050ba789dc34 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.kill05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-601903725 +# @用例名称: ltp.syscalls.kill05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.kill05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls kill05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.kill06.sh b/testcase/syscalls/ltp.syscalls.kill06.sh new file mode 100755 index 0000000000000000000000000000000000000000..fd2f67f36b36293d143a9ef2af0003fd5aa4507a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.kill06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-610449158 +# @用例名称: ltp.syscalls.kill06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.kill06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls kill06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.kill08.sh b/testcase/syscalls/ltp.syscalls.kill08.sh new file mode 100755 index 0000000000000000000000000000000000000000..cb45a6159b323d5f95671eae53ab5c4d27b2dbc6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.kill08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-627995306 +# @用例名称: ltp.syscalls.kill08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.kill08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls kill08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.kill10.sh b/testcase/syscalls/ltp.syscalls.kill10.sh new file mode 100755 index 0000000000000000000000000000000000000000..832709f999110ba002cd228bd7daeabb42c076a0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.kill10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-644963001 +# @用例名称: ltp.syscalls.kill10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.kill10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls kill10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.kill11.sh b/testcase/syscalls/ltp.syscalls.kill11.sh new file mode 100755 index 0000000000000000000000000000000000000000..4f132b65445fa25d606035606e4058fbce48696c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.kill11.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-654043564 +# @用例名称: ltp.syscalls.kill11 +# @用例级别: 4 +# @用例标签: +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.kill11 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls kill11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.kill12.sh b/testcase/syscalls/ltp.syscalls.kill12.sh new file mode 100755 index 0000000000000000000000000000000000000000..00334877e521aa8726d764fd6d742e21a10d12dc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.kill12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-662877678 +# @用例名称: ltp.syscalls.kill12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.kill12 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls kill12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.kill13.sh b/testcase/syscalls/ltp.syscalls.kill13.sh new file mode 100755 index 0000000000000000000000000000000000000000..e80e5991aff385f20ee7a437542395e20a1dac45 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.kill13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-671538867 +# @用例名称: ltp.syscalls.kill13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.kill13 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls kill13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.landlock01.sh b/testcase/syscalls/ltp.syscalls.landlock01.sh new file mode 100755 index 0000000000000000000000000000000000000000..115635b59c24fdcd05f4042f0a6e9142156dff46 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.landlock01.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110839-050216253 +# @用例名称: ltp.syscalls.landlock01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.landlock01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls landlock01 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.landlock02.sh b/testcase/syscalls/ltp.syscalls.landlock02.sh new file mode 100755 index 0000000000000000000000000000000000000000..37b4ddb9ffe14ab782e2433964e510bd326edb21 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.landlock02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110839-137066326 +# @用例名称: ltp.syscalls.landlock02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.landlock02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls landlock02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.landlock03.sh b/testcase/syscalls/ltp.syscalls.landlock03.sh new file mode 100755 index 0000000000000000000000000000000000000000..a41fd42c22dc0731a41545fb2e182424b079c00e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.landlock03.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110839-222447213 +# @用例名称: ltp.syscalls.landlock03 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.landlock03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls landlock03 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.landlock04.sh b/testcase/syscalls/ltp.syscalls.landlock04.sh new file mode 100755 index 0000000000000000000000000000000000000000..3158c918384796c7cf36864a554cb1a8fa7d9902 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.landlock04.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110839-308059133 +# @用例名称: ltp.syscalls.landlock04 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.landlock04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls landlock04 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.landlock05.sh b/testcase/syscalls/ltp.syscalls.landlock05.sh new file mode 100755 index 0000000000000000000000000000000000000000..2608bfe87714babe5664ac357e5ca856acc1cd14 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.landlock05.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110839-391050380 +# @用例名称: ltp.syscalls.landlock05 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.landlock05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls landlock05 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.landlock06.sh b/testcase/syscalls/ltp.syscalls.landlock06.sh new file mode 100755 index 0000000000000000000000000000000000000000..e8ac63cf4e1b52b1add728495c59c37f73165db8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.landlock06.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110839-472104381 +# @用例名称: ltp.syscalls.landlock06 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.landlock06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls landlock06 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.landlock07.sh b/testcase/syscalls/ltp.syscalls.landlock07.sh new file mode 100755 index 0000000000000000000000000000000000000000..5918418f5eeb5292ce4961694ea3808689af36d8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.landlock07.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110839-555480550 +# @用例名称: ltp.syscalls.landlock07 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.landlock07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls landlock07 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.landlock08.sh b/testcase/syscalls/ltp.syscalls.landlock08.sh new file mode 100755 index 0000000000000000000000000000000000000000..6a3a2c59a1639f6739f4f94ad98af94e76a35231 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.landlock08.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110839-636864883 +# @用例名称: ltp.syscalls.landlock08 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.landlock08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls landlock08 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.landlock09.sh b/testcase/syscalls/ltp.syscalls.landlock09.sh new file mode 100755 index 0000000000000000000000000000000000000000..87e5de466d1781b939364bba381fa3c58810517c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.landlock09.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110839-717929043 +# @用例名称: ltp.syscalls.landlock09 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.landlock09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls landlock09 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.landlock10.sh b/testcase/syscalls/ltp.syscalls.landlock10.sh new file mode 100755 index 0000000000000000000000000000000000000000..bde6be15a059e3c4500cf818f68330343143670b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.landlock10.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110839-802267743 +# @用例名称: ltp.syscalls.landlock10 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.landlock10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls landlock10 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lchown01.sh b/testcase/syscalls/ltp.syscalls.lchown01.sh new file mode 100755 index 0000000000000000000000000000000000000000..93ca5484557368eb6254e4d719d8cb0dbd1aa64c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lchown01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-682107466 +# @用例名称: ltp.syscalls.lchown01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lchown01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lchown01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lchown01_16.sh b/testcase/syscalls/ltp.syscalls.lchown01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..2032baef10657c311732552cb37f5b02091f80a3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lchown01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-690620548 +# @用例名称: ltp.syscalls.lchown01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lchown01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lchown01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lchown02.sh b/testcase/syscalls/ltp.syscalls.lchown02.sh new file mode 100755 index 0000000000000000000000000000000000000000..64dfce3da09bc2afdcf7f808434a0b0544495981 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lchown02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-699177022 +# @用例名称: ltp.syscalls.lchown02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lchown02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lchown02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lchown02_16.sh b/testcase/syscalls/ltp.syscalls.lchown02_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..222d92b576f9dc2d0da042a79104034487799599 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lchown02_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-716409182 +# @用例名称: ltp.syscalls.lchown02_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lchown02_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lchown02_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lchown03.sh b/testcase/syscalls/ltp.syscalls.lchown03.sh new file mode 100755 index 0000000000000000000000000000000000000000..9b34b98846acf3c0774d481d063ec2e51b4df0a6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lchown03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-707822301 +# @用例名称: ltp.syscalls.lchown03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lchown03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lchown03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lchown03_16.sh b/testcase/syscalls/ltp.syscalls.lchown03_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..76966f23b20a38668d993daa292a857036fdddab --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lchown03_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-725120856 +# @用例名称: ltp.syscalls.lchown03_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lchown03_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lchown03_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.leapsec01.sh b/testcase/syscalls/ltp.syscalls.leapsec01.sh new file mode 100755 index 0000000000000000000000000000000000000000..828e454b2cba47cc18989d1035655f742137ef5a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.leapsec01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213012-451615502 +# @用例名称: ltp.syscalls.leapsec01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.leapsec01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls leapsec01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lgetxattr01.sh b/testcase/syscalls/ltp.syscalls.lgetxattr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d3c44bede6bcebe82d7b0ea32ad2d86b3b1a0f12 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lgetxattr01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-735620115 +# @用例名称: ltp.syscalls.lgetxattr01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lgetxattr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lgetxattr01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lgetxattr02.sh b/testcase/syscalls/ltp.syscalls.lgetxattr02.sh new file mode 100755 index 0000000000000000000000000000000000000000..7f4f2fb4f1a2c46293bef903bec24da671be7095 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lgetxattr02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-744154838 +# @用例名称: ltp.syscalls.lgetxattr02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lgetxattr02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lgetxattr02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.link02.sh b/testcase/syscalls/ltp.syscalls.link02.sh new file mode 100755 index 0000000000000000000000000000000000000000..f8529f72b4d2d37b9cc947ea475f7c288146e7b6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.link02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-763073265 +# @用例名称: ltp.syscalls.link02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.link02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls link02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.link04.sh b/testcase/syscalls/ltp.syscalls.link04.sh new file mode 100755 index 0000000000000000000000000000000000000000..f48856e11dbac1b9aa5bca03ef518b15dcf3c348 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.link04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-780406724 +# @用例名称: ltp.syscalls.link04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.link04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls link04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.link05.sh b/testcase/syscalls/ltp.syscalls.link05.sh new file mode 100755 index 0000000000000000000000000000000000000000..c976071822633f932a1880b28da7cc509af6ef38 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.link05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-788843534 +# @用例名称: ltp.syscalls.link05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.link05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls link05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.link08.sh b/testcase/syscalls/ltp.syscalls.link08.sh new file mode 100755 index 0000000000000000000000000000000000000000..bb08cbdc68a9eca9774d6458e9461dcfc2d91314 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.link08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-797305380 +# @用例名称: ltp.syscalls.link08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.link08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls link08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.linkat01.sh b/testcase/syscalls/ltp.syscalls.linkat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..54cfcb4a4c6b921601c782a4b5406f61f6fcb669 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.linkat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-808901983 +# @用例名称: ltp.syscalls.linkat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.linkat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls linkat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.linkat02.sh b/testcase/syscalls/ltp.syscalls.linkat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..8940e30f72e21c52e23a5305229e60b6cf6e31d5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.linkat02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-817460301 +# @用例名称: ltp.syscalls.linkat02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.linkat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls linkat02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.listen01.sh b/testcase/syscalls/ltp.syscalls.listen01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0632a8c3a5e6fae4dc3f4338fdad9a95a3b803a4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.listen01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-828108809 +# @用例名称: ltp.syscalls.listen01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.listen01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls listen01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.listmount01.sh b/testcase/syscalls/ltp.syscalls.listmount01.sh new file mode 100755 index 0000000000000000000000000000000000000000..3142fe6426016c667aeaf46dd6da9fd4d3824324 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.listmount01.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110839-883584527 +# @用例名称: ltp.syscalls.listmount01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.listmount01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls listmount01 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.listmount02.sh b/testcase/syscalls/ltp.syscalls.listmount02.sh new file mode 100755 index 0000000000000000000000000000000000000000..0dedf2fac89b7197e1c861be9b9c47bd3ea08ae4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.listmount02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110839-968877214 +# @用例名称: ltp.syscalls.listmount02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.listmount02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls listmount02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.listmount03.sh b/testcase/syscalls/ltp.syscalls.listmount03.sh new file mode 100755 index 0000000000000000000000000000000000000000..5dde47512e75748353de789f5364b84dac413a6b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.listmount03.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110840-054946395 +# @用例名称: ltp.syscalls.listmount03 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.listmount03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls listmount03 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.listmount04.sh b/testcase/syscalls/ltp.syscalls.listmount04.sh new file mode 100755 index 0000000000000000000000000000000000000000..56ad726c7b22ebee0992b7904f5881668e580de3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.listmount04.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110840-140933987 +# @用例名称: ltp.syscalls.listmount04 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.listmount04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls listmount04 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.listxattr01.sh b/testcase/syscalls/ltp.syscalls.listxattr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ef26caf41aa5552faac627ab4f9f95ad800eafc8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.listxattr01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-838764501 +# @用例名称: ltp.syscalls.listxattr01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.listxattr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls listxattr01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.listxattr02.sh b/testcase/syscalls/ltp.syscalls.listxattr02.sh new file mode 100755 index 0000000000000000000000000000000000000000..aeaf23d4183550d00a3b35a43e87e342df9c99da --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.listxattr02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-847322868 +# @用例名称: ltp.syscalls.listxattr02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.listxattr02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls listxattr02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.listxattr03.sh b/testcase/syscalls/ltp.syscalls.listxattr03.sh new file mode 100755 index 0000000000000000000000000000000000000000..994abe0b72858abaee4abd99ef517c96f85312b0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.listxattr03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-857802200 +# @用例名称: ltp.syscalls.listxattr03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.listxattr03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls listxattr03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.llistxattr01.sh b/testcase/syscalls/ltp.syscalls.llistxattr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7b2fd02462e181ab0172344576683de855c7f7c6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.llistxattr01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-868382241 +# @用例名称: ltp.syscalls.llistxattr01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.llistxattr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls llistxattr01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.llistxattr02.sh b/testcase/syscalls/ltp.syscalls.llistxattr02.sh new file mode 100755 index 0000000000000000000000000000000000000000..6caa6dff5a6a76737bf426d055f6fcf77a4cfce7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.llistxattr02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-877021579 +# @用例名称: ltp.syscalls.llistxattr02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.llistxattr02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls llistxattr02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.llistxattr03.sh b/testcase/syscalls/ltp.syscalls.llistxattr03.sh new file mode 100755 index 0000000000000000000000000000000000000000..95d1e6d7b1d6ae921792d3bae4e67ca49c9054de --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.llistxattr03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-885604453 +# @用例名称: ltp.syscalls.llistxattr03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.llistxattr03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls llistxattr03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.llseek01.sh b/testcase/syscalls/ltp.syscalls.llseek01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4a644394cbab3fadd1c48e0d7169c8b7a655d3fc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.llseek01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-896011719 +# @用例名称: ltp.syscalls.llseek01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.llseek01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls llseek01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.llseek02.sh b/testcase/syscalls/ltp.syscalls.llseek02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b0b5b3936c3fc6e5185bda711ad241500fb81b51 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.llseek02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-904564947 +# @用例名称: ltp.syscalls.llseek02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.llseek02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls llseek02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.llseek03.sh b/testcase/syscalls/ltp.syscalls.llseek03.sh new file mode 100755 index 0000000000000000000000000000000000000000..2b9fc0f87fcd41f76da1e75f56269fa9b0d151d2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.llseek03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-913075795 +# @用例名称: ltp.syscalls.llseek03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.llseek03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls llseek03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lremovexattr01.sh b/testcase/syscalls/ltp.syscalls.lremovexattr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f9744e91a8e57b4f6d4189a3bf9f7d57a735570f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lremovexattr01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-923491659 +# @用例名称: ltp.syscalls.lremovexattr01 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lremovexattr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lremovexattr01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lseek01.sh b/testcase/syscalls/ltp.syscalls.lseek01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e50e80d3c247c763ef289ce288d6e39b50ae20d3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lseek01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-933949470 +# @用例名称: ltp.syscalls.lseek01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lseek01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lseek01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lseek02.sh b/testcase/syscalls/ltp.syscalls.lseek02.sh new file mode 100755 index 0000000000000000000000000000000000000000..9c19fcec919c23f566acb4a4fea289551f1b2e16 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lseek02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-942511144 +# @用例名称: ltp.syscalls.lseek02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lseek02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lseek02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lseek07.sh b/testcase/syscalls/ltp.syscalls.lseek07.sh new file mode 100755 index 0000000000000000000000000000000000000000..2601fcc5c95d3fb5709175b8eecb63ec5431e2c9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lseek07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-951061876 +# @用例名称: ltp.syscalls.lseek07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lseek07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lseek07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lseek11.sh b/testcase/syscalls/ltp.syscalls.lseek11.sh new file mode 100755 index 0000000000000000000000000000000000000000..7c8975cdfed90a1e6ec5102cbcc927416898b243 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lseek11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-960555214 +# @用例名称: ltp.syscalls.lseek11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lseek11 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lseek11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lsm_get_self_attr01.sh b/testcase/syscalls/ltp.syscalls.lsm_get_self_attr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e043df074616633e9fe6312b1cf82878103453b8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lsm_get_self_attr01.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110840-227056147 +# @用例名称: ltp.syscalls.lsm_get_self_attr01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lsm_get_self_attr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lsm_get_self_attr01 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lsm_get_self_attr02.sh b/testcase/syscalls/ltp.syscalls.lsm_get_self_attr02.sh new file mode 100755 index 0000000000000000000000000000000000000000..5e9608c3244820f390ca0501fc0ad6eab1b0b650 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lsm_get_self_attr02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110840-309427699 +# @用例名称: ltp.syscalls.lsm_get_self_attr02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lsm_get_self_attr02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lsm_get_self_attr02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lsm_get_self_attr03.sh b/testcase/syscalls/ltp.syscalls.lsm_get_self_attr03.sh new file mode 100755 index 0000000000000000000000000000000000000000..9b5ec87dc2f26c65dcfd7d26ca69f2fb445ce273 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lsm_get_self_attr03.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110840-392590622 +# @用例名称: ltp.syscalls.lsm_get_self_attr03 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lsm_get_self_attr03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lsm_get_self_attr03 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lsm_list_modules01.sh b/testcase/syscalls/ltp.syscalls.lsm_list_modules01.sh new file mode 100755 index 0000000000000000000000000000000000000000..51006eb0a7cae3875457bd2b5ca935ecebdf0c80 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lsm_list_modules01.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110840-477852421 +# @用例名称: ltp.syscalls.lsm_list_modules01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lsm_list_modules01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lsm_list_modules01 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lsm_list_modules02.sh b/testcase/syscalls/ltp.syscalls.lsm_list_modules02.sh new file mode 100755 index 0000000000000000000000000000000000000000..5dcdb2cda237e00085099a7b63f551bf9b78094f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lsm_list_modules02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110840-561021754 +# @用例名称: ltp.syscalls.lsm_list_modules02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lsm_list_modules02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lsm_list_modules02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lsm_set_self_attr01.sh b/testcase/syscalls/ltp.syscalls.lsm_set_self_attr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..fb6c4ef0a1101b0ba1a17ef21aaf3853da8c1c45 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lsm_set_self_attr01.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110840-644965542 +# @用例名称: ltp.syscalls.lsm_set_self_attr01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lsm_set_self_attr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lsm_set_self_attr01 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lstat01.sh b/testcase/syscalls/ltp.syscalls.lstat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..cc36a5cc6caf33a5d767d8e981727c18aaded768 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lstat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-990956529 +# @用例名称: ltp.syscalls.lstat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lstat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lstat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lstat01_64.sh b/testcase/syscalls/ltp.syscalls.lstat01_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..4f1ce2ee635b1e6985495738973296321826df92 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lstat01_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213016-999516319 +# @用例名称: ltp.syscalls.lstat01_64 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lstat01_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lstat01_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lstat02.sh b/testcase/syscalls/ltp.syscalls.lstat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..f69f5f95ab2d0a170eb9b2c0d563588a34c22f88 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lstat02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-008042416 +# @用例名称: ltp.syscalls.lstat02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lstat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lstat02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lstat02_64.sh b/testcase/syscalls/ltp.syscalls.lstat02_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..2091b4581656c243466c6c70dfe94ff451a47224 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lstat02_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-016775981 +# @用例名称: ltp.syscalls.lstat02_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lstat02_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lstat02_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lstat03.sh b/testcase/syscalls/ltp.syscalls.lstat03.sh new file mode 100755 index 0000000000000000000000000000000000000000..a7dc274886d59f8b1a6bf890454f5fd80ab72d0c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lstat03.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110840-728005519 +# @用例名称: ltp.syscalls.lstat03 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lstat03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lstat03 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.lstat03_64.sh b/testcase/syscalls/ltp.syscalls.lstat03_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..6f0bebe2e32666a157a349083243b2c591e43ba8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.lstat03_64.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110840-814018531 +# @用例名称: ltp.syscalls.lstat03_64 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.lstat03_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls lstat03_64 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.madvise01.sh b/testcase/syscalls/ltp.syscalls.madvise01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ba5c9a9a862a4321ef90fe5a22cf515c651ff4d3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.madvise01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-655091980 +# @用例名称: ltp.syscalls.madvise01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.madvise01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls madvise01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.madvise02.sh b/testcase/syscalls/ltp.syscalls.madvise02.sh new file mode 100755 index 0000000000000000000000000000000000000000..9e2492d2dfc79e0cca3ae137c87023a7c41f91ba --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.madvise02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-663973482 +# @用例名称: ltp.syscalls.madvise02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.madvise02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls madvise02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.madvise03.sh b/testcase/syscalls/ltp.syscalls.madvise03.sh new file mode 100755 index 0000000000000000000000000000000000000000..1ca9bba9d6c13b6c86074e0c502cd43010a82628 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.madvise03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141852-405717031 +# @用例名称: ltp.syscalls.madvise03 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.madvise03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls madvise03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.madvise05.sh b/testcase/syscalls/ltp.syscalls.madvise05.sh new file mode 100755 index 0000000000000000000000000000000000000000..b0acbbf67e6a6bf95b3f7e48daa21065f644ec98 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.madvise05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-672635833 +# @用例名称: ltp.syscalls.madvise05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.madvise05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls madvise05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.madvise06.sh b/testcase/syscalls/ltp.syscalls.madvise06.sh new file mode 100755 index 0000000000000000000000000000000000000000..b56ba23189284b21b762e4afe1b735e5b169be38 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.madvise06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-681332920 +# @用例名称: ltp.syscalls.madvise06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.madvise06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls madvise06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.madvise07.sh b/testcase/syscalls/ltp.syscalls.madvise07.sh new file mode 100755 index 0000000000000000000000000000000000000000..d0d25ffb80f918bd11b199f6a4f69053245b7341 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.madvise07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-689819503 +# @用例名称: ltp.syscalls.madvise07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.madvise07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls madvise07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.madvise08.sh b/testcase/syscalls/ltp.syscalls.madvise08.sh new file mode 100755 index 0000000000000000000000000000000000000000..a4a653de2c9cce247fff3cb5b723f40e6a94a042 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.madvise08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-698352322 +# @用例名称: ltp.syscalls.madvise08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.madvise08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls madvise08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.madvise09.sh b/testcase/syscalls/ltp.syscalls.madvise09.sh new file mode 100755 index 0000000000000000000000000000000000000000..db9ffa530a57b9493b131b07e8b28742c8f2f08d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.madvise09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-707244524 +# @用例名称: ltp.syscalls.madvise09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.madvise09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls madvise09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.madvise10.sh b/testcase/syscalls/ltp.syscalls.madvise10.sh new file mode 100755 index 0000000000000000000000000000000000000000..5ebddb5e4cfef790ec1d90cf7fe0a30364d843a9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.madvise10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-715819051 +# @用例名称: ltp.syscalls.madvise10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.madvise10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls madvise10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.madvise11.sh b/testcase/syscalls/ltp.syscalls.madvise11.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c580282b2ca4aa52968f95432e2a5b406141682 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.madvise11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141852-468970498 +# @用例名称: ltp.syscalls.madvise11 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.madvise11 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls madvise11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.madvise12.sh b/testcase/syscalls/ltp.syscalls.madvise12.sh new file mode 100755 index 0000000000000000000000000000000000000000..d7192804ecf18a72f09c5c1e5d5f227fcc94f3e5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.madvise12.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110841-567735743 +# @用例名称: ltp.syscalls.madvise12 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.madvise12 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls madvise12 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mallinfo02.sh b/testcase/syscalls/ltp.syscalls.mallinfo02.sh new file mode 100755 index 0000000000000000000000000000000000000000..1bcc3acba7216a72683645a204939eb69ba661d7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mallinfo02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-027369416 +# @用例名称: ltp.syscalls.mallinfo02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mallinfo02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mallinfo02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mallinfo2_01.sh b/testcase/syscalls/ltp.syscalls.mallinfo2_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..6909334067af85098e79ad63e44794d6bfb198eb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mallinfo2_01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-037986817 +# @用例名称: ltp.syscalls.mallinfo2_01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mallinfo2_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mallinfo2_01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mallopt01.sh b/testcase/syscalls/ltp.syscalls.mallopt01.sh new file mode 100755 index 0000000000000000000000000000000000000000..3282e8731ab6abc5d8a7dbd9f780b5f11016cfc3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mallopt01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-049520032 +# @用例名称: ltp.syscalls.mallopt01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mallopt01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mallopt01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mbind01.sh b/testcase/syscalls/ltp.syscalls.mbind01.sh new file mode 100755 index 0000000000000000000000000000000000000000..90979d7604e2275cfbb422468a0eb083098a17b6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mbind01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-060053345 +# @用例名称: ltp.syscalls.mbind01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mbind01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mbind01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mbind02.sh b/testcase/syscalls/ltp.syscalls.mbind02.sh new file mode 100755 index 0000000000000000000000000000000000000000..2b9eff15ee9db1b98f744446cf0be4439807494b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mbind02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-068904861 +# @用例名称: ltp.syscalls.mbind02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mbind02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mbind02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mbind03.sh b/testcase/syscalls/ltp.syscalls.mbind03.sh new file mode 100755 index 0000000000000000000000000000000000000000..39cefccf0b4b65d18b84d69b5d0bf85b40cc44a9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mbind03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-077573784 +# @用例名称: ltp.syscalls.mbind03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mbind03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mbind03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mbind04.sh b/testcase/syscalls/ltp.syscalls.mbind04.sh new file mode 100755 index 0000000000000000000000000000000000000000..ec92f76f1c11a05ab2367a9869657e1f914aa76c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mbind04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-086182114 +# @用例名称: ltp.syscalls.mbind04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mbind04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mbind04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.membarrier01.sh b/testcase/syscalls/ltp.syscalls.membarrier01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d8d613c92036d965d7ef559505ebaf5b16c98c11 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.membarrier01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-489131705 +# @用例名称: ltp.syscalls.membarrier01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.membarrier01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls membarrier01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.memcmp01.sh b/testcase/syscalls/ltp.syscalls.memcmp01.sh new file mode 100755 index 0000000000000000000000000000000000000000..290d610681bc132bfcc62f038077e94e3bd1ff48 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.memcmp01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-105451929 +# @用例名称: ltp.syscalls.memcmp01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.memcmp01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls memcmp01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.memcpy01.sh b/testcase/syscalls/ltp.syscalls.memcpy01.sh new file mode 100755 index 0000000000000000000000000000000000000000..053551af7758d8c629b981f0d9ccc0831bc0d572 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.memcpy01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-114805093 +# @用例名称: ltp.syscalls.memcpy01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.memcpy01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls memcpy01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.memfd_create01.sh b/testcase/syscalls/ltp.syscalls.memfd_create01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8fa912814946f69402d97444f6b63675d5bc714d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.memfd_create01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-352851015 +# @用例名称: ltp.syscalls.memfd_create01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.memfd_create01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls memfd_create01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.memfd_create02.sh b/testcase/syscalls/ltp.syscalls.memfd_create02.sh new file mode 100755 index 0000000000000000000000000000000000000000..6284e6b7d3cc7079fa392e53d421169e006e64d6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.memfd_create02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-361536710 +# @用例名称: ltp.syscalls.memfd_create02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.memfd_create02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls memfd_create02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.memfd_create03.sh b/testcase/syscalls/ltp.syscalls.memfd_create03.sh new file mode 100755 index 0000000000000000000000000000000000000000..19fa6c55d12da8800242864281e371465ef5e7f0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.memfd_create03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-370266207 +# @用例名称: ltp.syscalls.memfd_create03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.memfd_create03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls memfd_create03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.memfd_create04.sh b/testcase/syscalls/ltp.syscalls.memfd_create04.sh new file mode 100755 index 0000000000000000000000000000000000000000..ed7140693d8cbaf2d7b117c80829155ab64c9e98 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.memfd_create04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-378803956 +# @用例名称: ltp.syscalls.memfd_create04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.memfd_create04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls memfd_create04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.memset01.sh b/testcase/syscalls/ltp.syscalls.memset01.sh new file mode 100755 index 0000000000000000000000000000000000000000..79592405426ce12445a90947922004ba36e2a00d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.memset01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-096779437 +# @用例名称: ltp.syscalls.memset01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.memset01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls memset01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.migrate_pages01.sh b/testcase/syscalls/ltp.syscalls.migrate_pages01.sh new file mode 100755 index 0000000000000000000000000000000000000000..14da8cbdefac3304f46bda498d032b9bc85ec2cc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.migrate_pages01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-125493386 +# @用例名称: ltp.syscalls.migrate_pages01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.migrate_pages01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls migrate_pages01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.migrate_pages02.sh b/testcase/syscalls/ltp.syscalls.migrate_pages02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b6efe817ad2e8b5d43b983c0b6738efc15cd99d8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.migrate_pages02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-134032688 +# @用例名称: ltp.syscalls.migrate_pages02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.migrate_pages02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls migrate_pages02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.migrate_pages03.sh b/testcase/syscalls/ltp.syscalls.migrate_pages03.sh new file mode 100755 index 0000000000000000000000000000000000000000..3eab4ee2aee53101a360d5a70e6f58dc2432a69a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.migrate_pages03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-142565416 +# @用例名称: ltp.syscalls.migrate_pages03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.migrate_pages03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls migrate_pages03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mincore01.sh b/testcase/syscalls/ltp.syscalls.mincore01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e024c86a1167ccc3514dfc00d3b9e675ad4486ca --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mincore01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-618870541 +# @用例名称: ltp.syscalls.mincore01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mincore01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mincore01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mincore02.sh b/testcase/syscalls/ltp.syscalls.mincore02.sh new file mode 100755 index 0000000000000000000000000000000000000000..cb1bfbce715924c00ffb5b1d25d7bb836874de2f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mincore02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-627456240 +# @用例名称: ltp.syscalls.mincore02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mincore02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mincore02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mincore03.sh b/testcase/syscalls/ltp.syscalls.mincore03.sh new file mode 100755 index 0000000000000000000000000000000000000000..119cba46e15550ed68b396f27211aa2a44070d7d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mincore03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-636045093 +# @用例名称: ltp.syscalls.mincore03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mincore03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mincore03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mincore04.sh b/testcase/syscalls/ltp.syscalls.mincore04.sh new file mode 100755 index 0000000000000000000000000000000000000000..d7c68b3179792192b3b03631369c6fab7655384e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mincore04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-644581750 +# @用例名称: ltp.syscalls.mincore04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mincore04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mincore04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mkdir02.sh b/testcase/syscalls/ltp.syscalls.mkdir02.sh new file mode 100755 index 0000000000000000000000000000000000000000..120809fb8ab66894c11a8808ac6633bfe6bba28c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mkdir02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-180954121 +# @用例名称: ltp.syscalls.mkdir02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mkdir02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mkdir02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mkdir03.sh b/testcase/syscalls/ltp.syscalls.mkdir03.sh new file mode 100755 index 0000000000000000000000000000000000000000..367dbc3fe5c9b450492915b42fc17dbba366cbb0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mkdir03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-189567061 +# @用例名称: ltp.syscalls.mkdir03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mkdir03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mkdir03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mkdir04.sh b/testcase/syscalls/ltp.syscalls.mkdir04.sh new file mode 100755 index 0000000000000000000000000000000000000000..26f5043a606e5f1103f5f9a5ed6b86c48c525e6c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mkdir04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-198161054 +# @用例名称: ltp.syscalls.mkdir04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mkdir04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mkdir04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mkdir05.sh b/testcase/syscalls/ltp.syscalls.mkdir05.sh new file mode 100755 index 0000000000000000000000000000000000000000..161e31753b25861da07bf335982be625f83351df --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mkdir05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-206712899 +# @用例名称: ltp.syscalls.mkdir05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mkdir05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mkdir05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mkdir09.sh b/testcase/syscalls/ltp.syscalls.mkdir09.sh new file mode 100755 index 0000000000000000000000000000000000000000..64b2d7fb1d777bf130850b6d7f5b831bb629590b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mkdir09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-223779149 +# @用例名称: ltp.syscalls.mkdir09 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mkdir09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mkdir09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mkdirat01.sh b/testcase/syscalls/ltp.syscalls.mkdirat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..52f4fb97abfd587805fcb601d77aac3eed276bff --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mkdirat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-235352769 +# @用例名称: ltp.syscalls.mkdirat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mkdirat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mkdirat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mkdirat02.sh b/testcase/syscalls/ltp.syscalls.mkdirat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..41264b9ea36764a998b1541194f367863d530466 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mkdirat02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-246826752 +# @用例名称: ltp.syscalls.mkdirat02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mkdirat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mkdirat02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mknod01.sh b/testcase/syscalls/ltp.syscalls.mknod01.sh new file mode 100755 index 0000000000000000000000000000000000000000..789cc8fe1df8c81c4ba6f5ffe7f578d0f8dba0e3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mknod01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-257380123 +# @用例名称: ltp.syscalls.mknod01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mknod01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mknod01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mknod02.sh b/testcase/syscalls/ltp.syscalls.mknod02.sh new file mode 100755 index 0000000000000000000000000000000000000000..bf17a0cee6f431854b04b896f5eaf558d9c27156 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mknod02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-266222071 +# @用例名称: ltp.syscalls.mknod02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mknod02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mknod02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mknod03.sh b/testcase/syscalls/ltp.syscalls.mknod03.sh new file mode 100755 index 0000000000000000000000000000000000000000..a9e55c7a0f3b96287da8dea5d214d4287c18696a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mknod03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-274873932 +# @用例名称: ltp.syscalls.mknod03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mknod03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mknod03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mknod04.sh b/testcase/syscalls/ltp.syscalls.mknod04.sh new file mode 100755 index 0000000000000000000000000000000000000000..33abd6e9a68faf9d8278c8f3756a5844502a7d69 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mknod04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-283923018 +# @用例名称: ltp.syscalls.mknod04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mknod04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mknod04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mknod05.sh b/testcase/syscalls/ltp.syscalls.mknod05.sh new file mode 100755 index 0000000000000000000000000000000000000000..d083ca294f9f84d31e7db790b85f22e39f25d485 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mknod05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-292482838 +# @用例名称: ltp.syscalls.mknod05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mknod05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mknod05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mknod06.sh b/testcase/syscalls/ltp.syscalls.mknod06.sh new file mode 100755 index 0000000000000000000000000000000000000000..0f50c1c4f94175eaf777a715b3be7b7c70d39325 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mknod06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-302178343 +# @用例名称: ltp.syscalls.mknod06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mknod06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mknod06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mknod07.sh b/testcase/syscalls/ltp.syscalls.mknod07.sh new file mode 100755 index 0000000000000000000000000000000000000000..64f49d1cf082f3e840c4a582114b47747555ee7c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mknod07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-310716873 +# @用例名称: ltp.syscalls.mknod07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mknod07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mknod07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mknod08.sh b/testcase/syscalls/ltp.syscalls.mknod08.sh new file mode 100755 index 0000000000000000000000000000000000000000..5baa9ff507f87c495ae540ea1a2d2a9dfcdff508 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mknod08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-319301810 +# @用例名称: ltp.syscalls.mknod08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mknod08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mknod08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mknod09.sh b/testcase/syscalls/ltp.syscalls.mknod09.sh new file mode 100755 index 0000000000000000000000000000000000000000..20a50b783f6735cb9659087e0d3621f8e98f637c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mknod09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-327815524 +# @用例名称: ltp.syscalls.mknod09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mknod09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mknod09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mknodat01.sh b/testcase/syscalls/ltp.syscalls.mknodat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ed7209ee8050dbc683f007d68e817206106fccf3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mknodat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-342524742 +# @用例名称: ltp.syscalls.mknodat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mknodat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mknodat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mknodat02.sh b/testcase/syscalls/ltp.syscalls.mknodat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..704457c6a985c688e857cde4e087fd89124f6df2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mknodat02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-353922542 +# @用例名称: ltp.syscalls.mknodat02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mknodat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mknodat02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mlock01.sh b/testcase/syscalls/ltp.syscalls.mlock01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d5182ca2ea9922c9cb11e5abd698f442d0f4527d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mlock01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-364414379 +# @用例名称: ltp.syscalls.mlock01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mlock01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mlock01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mlock02.sh b/testcase/syscalls/ltp.syscalls.mlock02.sh new file mode 100755 index 0000000000000000000000000000000000000000..1020380fee4eac3b6c8f06f0c0282f45f0b13d87 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mlock02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-376125526 +# @用例名称: ltp.syscalls.mlock02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mlock02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mlock02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mlock03.sh b/testcase/syscalls/ltp.syscalls.mlock03.sh new file mode 100755 index 0000000000000000000000000000000000000000..93d248f4caf6b10ae3bc8b1c090be6be3b9200a9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mlock03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-384599064 +# @用例名称: ltp.syscalls.mlock03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mlock03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mlock03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mlock04.sh b/testcase/syscalls/ltp.syscalls.mlock04.sh new file mode 100755 index 0000000000000000000000000000000000000000..e8d05bfb9f9714683054abe9aea575f4cf5228c5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mlock04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-393075738 +# @用例名称: ltp.syscalls.mlock04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mlock04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mlock04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mlock05.sh b/testcase/syscalls/ltp.syscalls.mlock05.sh new file mode 100755 index 0000000000000000000000000000000000000000..46f8b90be5dcd5dc2f5953ab211d993b7d47e14f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mlock05.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172839-389150903 +# @用例名称: ltp.syscalls.mlock05 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mlock05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mlock05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mlock201.sh b/testcase/syscalls/ltp.syscalls.mlock201.sh new file mode 100755 index 0000000000000000000000000000000000000000..e1d182cd7689ce6a3d8e1dd6ffa823b5a571a498 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mlock201.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-403567083 +# @用例名称: ltp.syscalls.mlock201 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mlock201 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mlock201 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mlock202.sh b/testcase/syscalls/ltp.syscalls.mlock202.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5b6c7039a8c3a1f001cb6dfd505c5e6fd15cb1d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mlock202.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-412342315 +# @用例名称: ltp.syscalls.mlock202 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mlock202 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mlock202 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mlock203.sh b/testcase/syscalls/ltp.syscalls.mlock203.sh new file mode 100755 index 0000000000000000000000000000000000000000..39ecd311751fc4b92d73cc81786e1b9b89697201 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mlock203.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-421154698 +# @用例名称: ltp.syscalls.mlock203 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mlock203 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mlock203 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mlockall01.sh b/testcase/syscalls/ltp.syscalls.mlockall01.sh new file mode 100755 index 0000000000000000000000000000000000000000..34556035b2f9c8b5e8492fed89d53a2089c581e8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mlockall01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-153249843 +# @用例名称: ltp.syscalls.mlockall01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mlockall01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mlockall01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mlockall02.sh b/testcase/syscalls/ltp.syscalls.mlockall02.sh new file mode 100755 index 0000000000000000000000000000000000000000..61c0d8d9cc515165d661c5cd24529067e9c7bd60 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mlockall02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-161866399 +# @用例名称: ltp.syscalls.mlockall02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mlockall02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mlockall02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mlockall03.sh b/testcase/syscalls/ltp.syscalls.mlockall03.sh new file mode 100755 index 0000000000000000000000000000000000000000..6a110431948d1f93717d50d7335432c7f4d92cd8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mlockall03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-170402604 +# @用例名称: ltp.syscalls.mlockall03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mlockall03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mlockall03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap01.sh b/testcase/syscalls/ltp.syscalls.mmap01.sh new file mode 100755 index 0000000000000000000000000000000000000000..2ba484b37d4ed44329c478907c20c5e36434f476 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-440358369 +# @用例名称: ltp.syscalls.mmap01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap02.sh b/testcase/syscalls/ltp.syscalls.mmap02.sh new file mode 100755 index 0000000000000000000000000000000000000000..cc0005577974bcedcbde437c9c39491f29493a9b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-448832338 +# @用例名称: ltp.syscalls.mmap02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap03.sh b/testcase/syscalls/ltp.syscalls.mmap03.sh new file mode 100755 index 0000000000000000000000000000000000000000..5677ee0fd62ad8321307edc75050a652bb8de468 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-457802816 +# @用例名称: ltp.syscalls.mmap03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap04.sh b/testcase/syscalls/ltp.syscalls.mmap04.sh new file mode 100755 index 0000000000000000000000000000000000000000..6fbf8127122dea934b407e07609caca46cfe2f80 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-466424982 +# @用例名称: ltp.syscalls.mmap04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap05.sh b/testcase/syscalls/ltp.syscalls.mmap05.sh new file mode 100755 index 0000000000000000000000000000000000000000..0c30c9766d5cbc12c4e9fc1d23787aa2cb5402a9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-475063579 +# @用例名称: ltp.syscalls.mmap05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap06.sh b/testcase/syscalls/ltp.syscalls.mmap06.sh new file mode 100755 index 0000000000000000000000000000000000000000..da73455de83b7e2374bd546338c3323f6c585731 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-483662091 +# @用例名称: ltp.syscalls.mmap06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap08.sh b/testcase/syscalls/ltp.syscalls.mmap08.sh new file mode 100755 index 0000000000000000000000000000000000000000..d8c3c6c7369ba45da2af5b4d26087687cd600ee9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-500717480 +# @用例名称: ltp.syscalls.mmap08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap09.sh b/testcase/syscalls/ltp.syscalls.mmap09.sh new file mode 100755 index 0000000000000000000000000000000000000000..fbb4a4b9a5853fdc0e0220410d22090b04c78f2a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-509259587 +# @用例名称: ltp.syscalls.mmap09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap12.sh b/testcase/syscalls/ltp.syscalls.mmap12.sh new file mode 100755 index 0000000000000000000000000000000000000000..8b55368692cce2e7c22c44d832ad397b050e791b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-517846548 +# @用例名称: ltp.syscalls.mmap12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap12 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap13.sh b/testcase/syscalls/ltp.syscalls.mmap13.sh new file mode 100755 index 0000000000000000000000000000000000000000..063a8ead007becca1a231609877b4c15a981a7cd --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-526378425 +# @用例名称: ltp.syscalls.mmap13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap13 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap14.sh b/testcase/syscalls/ltp.syscalls.mmap14.sh new file mode 100755 index 0000000000000000000000000000000000000000..142c2c18c556ff2770b6348b0a1bf4122b434d1f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-534916664 +# @用例名称: ltp.syscalls.mmap14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap14 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap15.sh b/testcase/syscalls/ltp.syscalls.mmap15.sh new file mode 100755 index 0000000000000000000000000000000000000000..2f4760197a77122684a6a11e65d84dc21ac77df7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap15.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-545457021 +# @用例名称: ltp.syscalls.mmap15 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap15 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap16.sh b/testcase/syscalls/ltp.syscalls.mmap16.sh new file mode 100755 index 0000000000000000000000000000000000000000..305c59764139afc211a932dfed37bc97d133ee3e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-554009978 +# @用例名称: ltp.syscalls.mmap16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap17.sh b/testcase/syscalls/ltp.syscalls.mmap17.sh new file mode 100755 index 0000000000000000000000000000000000000000..4c399ae34cf4746f1c9886176b943aee55362434 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap17.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-562739956 +# @用例名称: ltp.syscalls.mmap17 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap17 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap17 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap18.sh b/testcase/syscalls/ltp.syscalls.mmap18.sh new file mode 100755 index 0000000000000000000000000000000000000000..54511629b1b263183442ef2446a354db2a29abd4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap18.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-571348577 +# @用例名称: ltp.syscalls.mmap18 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap18 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap18 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap19.sh b/testcase/syscalls/ltp.syscalls.mmap19.sh new file mode 100755 index 0000000000000000000000000000000000000000..c667c3e8fe0e150edb005b9738a8378cc9c1877c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap19.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-579946318 +# @用例名称: ltp.syscalls.mmap19 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap19 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap19 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap20.sh b/testcase/syscalls/ltp.syscalls.mmap20.sh new file mode 100755 index 0000000000000000000000000000000000000000..0b8f8e9f49e844eb38efacefbee787c81be52e49 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap20.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141851-948546007 +# @用例名称: ltp.syscalls.mmap20 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap20 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap20 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap21_01.sh b/testcase/syscalls/ltp.syscalls.mmap21_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e95e7211cf73f7f44eafc00afed9f26ce5e7e5ca --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap21_01.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110840-900185799 +# @用例名称: ltp.syscalls.mmap21_01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap21_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap21_01 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap21_02.sh b/testcase/syscalls/ltp.syscalls.mmap21_02.sh new file mode 100755 index 0000000000000000000000000000000000000000..373785675638a8a47070d6aa2d3ced4a6aff31ec --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap21_02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110840-981547353 +# @用例名称: ltp.syscalls.mmap21_02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap21_02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap21_02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mmap22.sh b/testcase/syscalls/ltp.syscalls.mmap22.sh new file mode 100755 index 0000000000000000000000000000000000000000..a1775fc39e11b78511260d0ed7032f040f83162d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mmap22.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110841-061921718 +# @用例名称: ltp.syscalls.mmap22 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mmap22 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mmap22 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.modify_ldt01.sh b/testcase/syscalls/ltp.syscalls.modify_ldt01.sh new file mode 100755 index 0000000000000000000000000000000000000000..68bf6bc7cba7b4cdb7011ad2bbf00a27ad24dc47 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.modify_ldt01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-590364325 +# @用例名称: ltp.syscalls.modify_ldt01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.modify_ldt01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls modify_ldt01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.modify_ldt02.sh b/testcase/syscalls/ltp.syscalls.modify_ldt02.sh new file mode 100755 index 0000000000000000000000000000000000000000..d577caa1c1b59221052ed3cab3f9231c76b2a8f0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.modify_ldt02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-598844125 +# @用例名称: ltp.syscalls.modify_ldt02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.modify_ldt02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls modify_ldt02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mount01.sh b/testcase/syscalls/ltp.syscalls.mount01.sh new file mode 100755 index 0000000000000000000000000000000000000000..069e09283bd4a816705a35e93f882712193d3b75 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mount01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-617938431 +# @用例名称: ltp.syscalls.mount01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mount01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mount01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mount02.sh b/testcase/syscalls/ltp.syscalls.mount02.sh new file mode 100755 index 0000000000000000000000000000000000000000..32f79d92d0d2596f0661ef99c4393b5817ccaceb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mount02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-626500774 +# @用例名称: ltp.syscalls.mount02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mount02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mount02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mount03.sh b/testcase/syscalls/ltp.syscalls.mount03.sh new file mode 100755 index 0000000000000000000000000000000000000000..0dcf9a88439360fa8dd32b8380b014ff34f719e0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mount03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-634968032 +# @用例名称: ltp.syscalls.mount03 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mount03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mount03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mount04.sh b/testcase/syscalls/ltp.syscalls.mount04.sh new file mode 100755 index 0000000000000000000000000000000000000000..fecdc68a3ba50e4a987b12dd1db619657bfc00c3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mount04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-643479280 +# @用例名称: ltp.syscalls.mount04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mount04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mount04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mount05.sh b/testcase/syscalls/ltp.syscalls.mount05.sh new file mode 100755 index 0000000000000000000000000000000000000000..8bdcfb472206ba93a3e184287a14c7732c5fd83d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mount05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-652046303 +# @用例名称: ltp.syscalls.mount05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mount05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mount05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mount06.sh b/testcase/syscalls/ltp.syscalls.mount06.sh new file mode 100755 index 0000000000000000000000000000000000000000..f44df315178443398df5f5690f1d9790a67e6674 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mount06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-660787843 +# @用例名称: ltp.syscalls.mount06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mount06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mount06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mount07.sh b/testcase/syscalls/ltp.syscalls.mount07.sh new file mode 100755 index 0000000000000000000000000000000000000000..5f5a113004d3ec06232c83e3e3d43799aa10de64 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mount07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141852-016393079 +# @用例名称: ltp.syscalls.mount07 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mount07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mount07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mount_setattr01.sh b/testcase/syscalls/ltp.syscalls.mount_setattr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a2cca62afd24a3defec7bed977185ffc20fc48d2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mount_setattr01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141852-082140522 +# @用例名称: ltp.syscalls.mount_setattr01 +# @用例级别: 3 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mount_setattr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mount_setattr01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.move_mount01.sh b/testcase/syscalls/ltp.syscalls.move_mount01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e102ca6db39faa2ff821d28ebbb0d95a4eb4fe0f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.move_mount01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-671501074 +# @用例名称: ltp.syscalls.move_mount01 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.move_mount01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls move_mount01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.move_mount02.sh b/testcase/syscalls/ltp.syscalls.move_mount02.sh new file mode 100755 index 0000000000000000000000000000000000000000..0357cae6cec56a0a940e143888ec05c7456c0702 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.move_mount02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-680210583 +# @用例名称: ltp.syscalls.move_mount02 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.move_mount02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls move_mount02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.move_mount03.sh b/testcase/syscalls/ltp.syscalls.move_mount03.sh new file mode 100755 index 0000000000000000000000000000000000000000..0137317772297725bb2ac209e0c6480260245ec8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.move_mount03.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110841-143352479 +# @用例名称: ltp.syscalls.move_mount03 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.move_mount03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls move_mount03 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.move_pages01.sh b/testcase/syscalls/ltp.syscalls.move_pages01.sh new file mode 100755 index 0000000000000000000000000000000000000000..718dfb7b6ea91c8c6fd94b0c1e873fed95a6a31c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.move_pages01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-690671531 +# @用例名称: ltp.syscalls.move_pages01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.move_pages01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls move_pages01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.move_pages02.sh b/testcase/syscalls/ltp.syscalls.move_pages02.sh new file mode 100755 index 0000000000000000000000000000000000000000..07a036d45c4d3ad02867626f557b1007c734b5ec --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.move_pages02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-699218477 +# @用例名称: ltp.syscalls.move_pages02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.move_pages02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls move_pages02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.move_pages03.sh b/testcase/syscalls/ltp.syscalls.move_pages03.sh new file mode 100755 index 0000000000000000000000000000000000000000..d6a614041dfae4ed649d58da57bd1237b1c11ebd --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.move_pages03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-707914952 +# @用例名称: ltp.syscalls.move_pages03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.move_pages03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls move_pages03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.move_pages04.sh b/testcase/syscalls/ltp.syscalls.move_pages04.sh new file mode 100755 index 0000000000000000000000000000000000000000..614ccfdbdb9a60c39841739d543f97b34e63f1bf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.move_pages04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-716907291 +# @用例名称: ltp.syscalls.move_pages04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.move_pages04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls move_pages04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.move_pages05.sh b/testcase/syscalls/ltp.syscalls.move_pages05.sh new file mode 100755 index 0000000000000000000000000000000000000000..115382bb1fcc6af9d249e9096927d55e1e24edf7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.move_pages05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-725515281 +# @用例名称: ltp.syscalls.move_pages05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.move_pages05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls move_pages05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.move_pages06.sh b/testcase/syscalls/ltp.syscalls.move_pages06.sh new file mode 100755 index 0000000000000000000000000000000000000000..be53a6fee24132ce74ec2fd5ee59ffa6ae1eb955 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.move_pages06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-734109675 +# @用例名称: ltp.syscalls.move_pages06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.move_pages06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls move_pages06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.move_pages07.sh b/testcase/syscalls/ltp.syscalls.move_pages07.sh new file mode 100755 index 0000000000000000000000000000000000000000..96b0cd179112d42c001661e3bd3b9df9fe300ce2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.move_pages07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-742739587 +# @用例名称: ltp.syscalls.move_pages07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.move_pages07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls move_pages07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.move_pages09.sh b/testcase/syscalls/ltp.syscalls.move_pages09.sh new file mode 100755 index 0000000000000000000000000000000000000000..e0f860d4e4aefed6c2e90939b894f53e5c352e88 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.move_pages09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-751342216 +# @用例名称: ltp.syscalls.move_pages09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.move_pages09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls move_pages09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.move_pages10.sh b/testcase/syscalls/ltp.syscalls.move_pages10.sh new file mode 100755 index 0000000000000000000000000000000000000000..593ec60371cb6b3f23ddd466dbbb635ee566c44e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.move_pages10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-760008145 +# @用例名称: ltp.syscalls.move_pages10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.move_pages10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls move_pages10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.move_pages11.sh b/testcase/syscalls/ltp.syscalls.move_pages11.sh new file mode 100755 index 0000000000000000000000000000000000000000..c29831c3d45d13fa8920a249535a8d2009967fb0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.move_pages11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-772145310 +# @用例名称: ltp.syscalls.move_pages11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.move_pages11 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls move_pages11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.move_pages12.sh b/testcase/syscalls/ltp.syscalls.move_pages12.sh new file mode 100755 index 0000000000000000000000000000000000000000..8ad3445fd917bcbd7f2c37cc7e226171db872aaa --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.move_pages12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-780807581 +# @用例名称: ltp.syscalls.move_pages12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.move_pages12 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls move_pages12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mprotect01.sh b/testcase/syscalls/ltp.syscalls.mprotect01.sh new file mode 100755 index 0000000000000000000000000000000000000000..05efc90b100b71c928d57a36e39a4cc03c7285fb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mprotect01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-791268609 +# @用例名称: ltp.syscalls.mprotect01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mprotect01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mprotect01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mprotect02.sh b/testcase/syscalls/ltp.syscalls.mprotect02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b0ee45fc925571ce8e3cc82e712bfab43540f123 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mprotect02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-799858615 +# @用例名称: ltp.syscalls.mprotect02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mprotect02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mprotect02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mprotect03.sh b/testcase/syscalls/ltp.syscalls.mprotect03.sh new file mode 100755 index 0000000000000000000000000000000000000000..0ec1d94c1030737172cd17c36759bd8826374f5f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mprotect03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-808502332 +# @用例名称: ltp.syscalls.mprotect03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mprotect03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mprotect03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mprotect04.sh b/testcase/syscalls/ltp.syscalls.mprotect04.sh new file mode 100755 index 0000000000000000000000000000000000000000..3f75c7d62a11a3f89989fee8eb9c0f8b07321635 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mprotect04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-817196614 +# @用例名称: ltp.syscalls.mprotect04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mprotect04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mprotect04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mprotect05.sh b/testcase/syscalls/ltp.syscalls.mprotect05.sh new file mode 100755 index 0000000000000000000000000000000000000000..308e13360044d039261cd98ce485f8a4f7185f05 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mprotect05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141852-147974810 +# @用例名称: ltp.syscalls.mprotect05 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mprotect05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mprotect05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mq_notify01.sh b/testcase/syscalls/ltp.syscalls.mq_notify01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8d4905f2e168059e9e7fd0f1d89fc3ef83f1afaa --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mq_notify01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-838412589 +# @用例名称: ltp.syscalls.mq_notify01 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mq_notify01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mq_notify01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mq_notify02.sh b/testcase/syscalls/ltp.syscalls.mq_notify02.sh new file mode 100755 index 0000000000000000000000000000000000000000..159a7e7736af21bd1f9bf87d1341e0b83183968f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mq_notify02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-851056873 +# @用例名称: ltp.syscalls.mq_notify02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mq_notify02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mq_notify02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mq_notify03.sh b/testcase/syscalls/ltp.syscalls.mq_notify03.sh new file mode 100755 index 0000000000000000000000000000000000000000..a0df274b033d824261cfe7989ad77bd76983f9f5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mq_notify03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141852-213956615 +# @用例名称: ltp.syscalls.mq_notify03 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mq_notify03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mq_notify03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mq_open01.sh b/testcase/syscalls/ltp.syscalls.mq_open01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c6e170f2da47509c8e69b5bc44bc635b9252e4fb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mq_open01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-859781561 +# @用例名称: ltp.syscalls.mq_open01 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mq_open01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mq_open01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mq_timedreceive01.sh b/testcase/syscalls/ltp.syscalls.mq_timedreceive01.sh new file mode 100755 index 0000000000000000000000000000000000000000..62724c7f9ee6b424bf0152ae2f9c95fe409568c1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mq_timedreceive01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-868495980 +# @用例名称: ltp.syscalls.mq_timedreceive01 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mq_timedreceive01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mq_timedreceive01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mq_timedsend01.sh b/testcase/syscalls/ltp.syscalls.mq_timedsend01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f3a0578f49e3b603855a6fd08d205c74ba0815e0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mq_timedsend01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-877759898 +# @用例名称: ltp.syscalls.mq_timedsend01 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mq_timedsend01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mq_timedsend01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mq_unlink01.sh b/testcase/syscalls/ltp.syscalls.mq_unlink01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e1fa5b98355a2f246a8a4bb4fc87669522043ca6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mq_unlink01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-886414766 +# @用例名称: ltp.syscalls.mq_unlink01 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mq_unlink01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mq_unlink01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mremap01.sh b/testcase/syscalls/ltp.syscalls.mremap01.sh new file mode 100755 index 0000000000000000000000000000000000000000..25079ad7ffa39958aacac206e24ff8dd9217bd7e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mremap01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-896844294 +# @用例名称: ltp.syscalls.mremap01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mremap01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mremap01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mremap02.sh b/testcase/syscalls/ltp.syscalls.mremap02.sh new file mode 100755 index 0000000000000000000000000000000000000000..9ab81fca98c15649f9a450a185650d186bc8a58d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mremap02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-905356255 +# @用例名称: ltp.syscalls.mremap02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mremap02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mremap02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mremap03.sh b/testcase/syscalls/ltp.syscalls.mremap03.sh new file mode 100755 index 0000000000000000000000000000000000000000..84495f3780491fedcc899b4a3f20c377648f39e5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mremap03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-914030799 +# @用例名称: ltp.syscalls.mremap03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mremap03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mremap03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mremap04.sh b/testcase/syscalls/ltp.syscalls.mremap04.sh new file mode 100755 index 0000000000000000000000000000000000000000..661cd28b4f289a6657a5c62506873f1615043e2c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mremap04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-924181767 +# @用例名称: ltp.syscalls.mremap04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mremap04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mremap04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mremap05.sh b/testcase/syscalls/ltp.syscalls.mremap05.sh new file mode 100755 index 0000000000000000000000000000000000000000..df35e55a344e00310849872a7a727d33e57a678d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mremap05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-934833302 +# @用例名称: ltp.syscalls.mremap05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mremap05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mremap05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mremap06.sh b/testcase/syscalls/ltp.syscalls.mremap06.sh new file mode 100755 index 0000000000000000000000000000000000000000..813725a23eb21830fa9ba385e78af8e0e1ab9b50 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mremap06.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172839-465407648 +# @用例名称: ltp.syscalls.mremap06 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mremap06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mremap06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mseal01.sh b/testcase/syscalls/ltp.syscalls.mseal01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8e93d8088f930e6af56d74a8de0007234b680452 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mseal01.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110841-228902811 +# @用例名称: ltp.syscalls.mseal01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mseal01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mseal01 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.mseal02.sh b/testcase/syscalls/ltp.syscalls.mseal02.sh new file mode 100755 index 0000000000000000000000000000000000000000..4879bf71283a76ccf8cae0e7846688a0e0d5c526 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.mseal02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110841-314451434 +# @用例名称: ltp.syscalls.mseal02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.mseal02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls mseal02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgctl01.sh b/testcase/syscalls/ltp.syscalls.msgctl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f8c14bbd55e010103c49d7555f2516c702ce575a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgctl01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-946049783 +# @用例名称: ltp.syscalls.msgctl01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgctl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgctl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgctl02.sh b/testcase/syscalls/ltp.syscalls.msgctl02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ab8ff4b28a43fdba2eb15b69c28d6abac963561c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgctl02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-954607138 +# @用例名称: ltp.syscalls.msgctl02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgctl02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgctl02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgctl03.sh b/testcase/syscalls/ltp.syscalls.msgctl03.sh new file mode 100755 index 0000000000000000000000000000000000000000..035a1f93f2f75160a92709efc9d1c064ced1a8e4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgctl03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-963129448 +# @用例名称: ltp.syscalls.msgctl03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgctl03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgctl03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgctl04.sh b/testcase/syscalls/ltp.syscalls.msgctl04.sh new file mode 100755 index 0000000000000000000000000000000000000000..0447deaabfb9341fc84ccc8e455b298c8b44eefe --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgctl04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-971717640 +# @用例名称: ltp.syscalls.msgctl04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgctl04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgctl04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgctl05.sh b/testcase/syscalls/ltp.syscalls.msgctl05.sh new file mode 100755 index 0000000000000000000000000000000000000000..0afc4d4272e32ca3674885152c8adf587b85b69c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgctl05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-980363211 +# @用例名称: ltp.syscalls.msgctl05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgctl05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgctl05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgctl06.sh b/testcase/syscalls/ltp.syscalls.msgctl06.sh new file mode 100755 index 0000000000000000000000000000000000000000..8d90d7a62a12c60c0f90c077ebc91a5b09f6fb22 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgctl06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-989074675 +# @用例名称: ltp.syscalls.msgctl06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgctl06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgctl06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgctl12.sh b/testcase/syscalls/ltp.syscalls.msgctl12.sh new file mode 100755 index 0000000000000000000000000000000000000000..6f117431338c854c3ded794e03f0f5c405421acc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgctl12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-032843158 +# @用例名称: ltp.syscalls.msgctl12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgctl12 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgctl12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgget01.sh b/testcase/syscalls/ltp.syscalls.msgget01.sh new file mode 100755 index 0000000000000000000000000000000000000000..17870c97cde65eec0ad9c60ad4e372501fdbc7b4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgget01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-044731347 +# @用例名称: ltp.syscalls.msgget01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgget01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgget01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgget02.sh b/testcase/syscalls/ltp.syscalls.msgget02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b2f3af48a3fa9e7d8dfb9f01f277c0971a3b6ebb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgget02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-056439648 +# @用例名称: ltp.syscalls.msgget02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgget02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgget02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgget03.sh b/testcase/syscalls/ltp.syscalls.msgget03.sh new file mode 100755 index 0000000000000000000000000000000000000000..47d6c0b4c3aeb1e3bd525dff987cd1ccc534d717 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgget03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-065313907 +# @用例名称: ltp.syscalls.msgget03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgget03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgget03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgget04.sh b/testcase/syscalls/ltp.syscalls.msgget04.sh new file mode 100755 index 0000000000000000000000000000000000000000..80e13b27c9e5fb6b3ba88d325eb36c5d7853da2a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgget04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-073917779 +# @用例名称: ltp.syscalls.msgget04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgget04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgget04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgget05.sh b/testcase/syscalls/ltp.syscalls.msgget05.sh new file mode 100755 index 0000000000000000000000000000000000000000..127e288d4a497a06b8311aed0c17d5c53f04c346 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgget05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-082557799 +# @用例名称: ltp.syscalls.msgget05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgget05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgget05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgrcv01.sh b/testcase/syscalls/ltp.syscalls.msgrcv01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7b4ac628821d62466e274f1d0fb65a2e6b19a9eb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgrcv01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-092969594 +# @用例名称: ltp.syscalls.msgrcv01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgrcv01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgrcv01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgrcv02.sh b/testcase/syscalls/ltp.syscalls.msgrcv02.sh new file mode 100755 index 0000000000000000000000000000000000000000..1dd0fef56fe92cbe2d5e717f107904ad36f8778c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgrcv02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-101484300 +# @用例名称: ltp.syscalls.msgrcv02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgrcv02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgrcv02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgrcv03.sh b/testcase/syscalls/ltp.syscalls.msgrcv03.sh new file mode 100755 index 0000000000000000000000000000000000000000..04f97add93e85f5ac5e8943ab204e76f7d4f4915 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgrcv03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-110160607 +# @用例名称: ltp.syscalls.msgrcv03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgrcv03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgrcv03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgrcv05.sh b/testcase/syscalls/ltp.syscalls.msgrcv05.sh new file mode 100755 index 0000000000000000000000000000000000000000..68afd9fcf14e0205a417340364072d8b1783d919 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgrcv05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-118742188 +# @用例名称: ltp.syscalls.msgrcv05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgrcv05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgrcv05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgrcv06.sh b/testcase/syscalls/ltp.syscalls.msgrcv06.sh new file mode 100755 index 0000000000000000000000000000000000000000..3dcdb4a87af1c762b863c0d8b2797f69b11a5ea6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgrcv06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-127205277 +# @用例名称: ltp.syscalls.msgrcv06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgrcv06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgrcv06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgrcv07.sh b/testcase/syscalls/ltp.syscalls.msgrcv07.sh new file mode 100755 index 0000000000000000000000000000000000000000..33eb5cf19088924f2b525c91ad14ef654a845bd4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgrcv07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-135731784 +# @用例名称: ltp.syscalls.msgrcv07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgrcv07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgrcv07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgrcv08.sh b/testcase/syscalls/ltp.syscalls.msgrcv08.sh new file mode 100755 index 0000000000000000000000000000000000000000..8e66db16a52aa3c169a10f307433365c8edc3cf3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgrcv08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-144291103 +# @用例名称: ltp.syscalls.msgrcv08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgrcv08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgrcv08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgsnd01.sh b/testcase/syscalls/ltp.syscalls.msgsnd01.sh new file mode 100755 index 0000000000000000000000000000000000000000..1134d6160a02c94365f30bf169e27490d9f65192 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgsnd01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-154736030 +# @用例名称: ltp.syscalls.msgsnd01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgsnd01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgsnd01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgsnd02.sh b/testcase/syscalls/ltp.syscalls.msgsnd02.sh new file mode 100755 index 0000000000000000000000000000000000000000..adaaab36ea6b5a9e2eb6470f1f33d92bc6498506 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgsnd02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-164112649 +# @用例名称: ltp.syscalls.msgsnd02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgsnd02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgsnd02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgsnd05.sh b/testcase/syscalls/ltp.syscalls.msgsnd05.sh new file mode 100755 index 0000000000000000000000000000000000000000..269e61d2b5cc283b5242b5d467d23a63c1c3dac8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgsnd05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-172614350 +# @用例名称: ltp.syscalls.msgsnd05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgsnd05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgsnd05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgsnd06.sh b/testcase/syscalls/ltp.syscalls.msgsnd06.sh new file mode 100755 index 0000000000000000000000000000000000000000..b16f012b6a9e206eed4d911d3ef64a47a5f01ba3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgsnd06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-181297891 +# @用例名称: ltp.syscalls.msgsnd06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgsnd06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgsnd06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msgstress01.sh b/testcase/syscalls/ltp.syscalls.msgstress01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f9cdf090ecbecbe333468b7aeaea341b398c0529 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msgstress01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-997596103 +# @用例名称: ltp.syscalls.msgstress01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msgstress01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msgstress01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msync01.sh b/testcase/syscalls/ltp.syscalls.msync01.sh new file mode 100755 index 0000000000000000000000000000000000000000..984cee62398f43b5351b2602f328e6a8316346ad --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msync01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-191831014 +# @用例名称: ltp.syscalls.msync01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msync01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msync01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msync02.sh b/testcase/syscalls/ltp.syscalls.msync02.sh new file mode 100755 index 0000000000000000000000000000000000000000..4c0dc60d336e711399c8fbdf7221616fe10d4754 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msync02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-200492484 +# @用例名称: ltp.syscalls.msync02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msync02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msync02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msync03.sh b/testcase/syscalls/ltp.syscalls.msync03.sh new file mode 100755 index 0000000000000000000000000000000000000000..e57b77a93d945d92bd9fc70d0f1e8bf06965aea9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msync03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-209267586 +# @用例名称: ltp.syscalls.msync03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msync03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msync03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.msync04.sh b/testcase/syscalls/ltp.syscalls.msync04.sh new file mode 100755 index 0000000000000000000000000000000000000000..7ac00424a0daaceb6d34bdb33dbc171d182e3e39 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.msync04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-217886357 +# @用例名称: ltp.syscalls.msync04 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.msync04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls msync04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.munlock01.sh b/testcase/syscalls/ltp.syscalls.munlock01.sh new file mode 100755 index 0000000000000000000000000000000000000000..452757a0ecbb77ac485852e88085980f847457fc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.munlock01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-228506423 +# @用例名称: ltp.syscalls.munlock01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.munlock01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls munlock01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.munlock02.sh b/testcase/syscalls/ltp.syscalls.munlock02.sh new file mode 100755 index 0000000000000000000000000000000000000000..fbb6f25796a0b28822c8e7c26abed9f22207345a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.munlock02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-237127447 +# @用例名称: ltp.syscalls.munlock02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.munlock02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls munlock02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.munlockall01.sh b/testcase/syscalls/ltp.syscalls.munlockall01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c75564e41deffa61ab4f9dc8f10070ffea74c130 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.munlockall01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-247675968 +# @用例名称: ltp.syscalls.munlockall01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.munlockall01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls munlockall01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.munmap01.sh b/testcase/syscalls/ltp.syscalls.munmap01.sh new file mode 100755 index 0000000000000000000000000000000000000000..242b46ee7ab75af82eea15afc0f3ba2acda75a1c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.munmap01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-258110697 +# @用例名称: ltp.syscalls.munmap01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.munmap01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls munmap01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.munmap03.sh b/testcase/syscalls/ltp.syscalls.munmap03.sh new file mode 100755 index 0000000000000000000000000000000000000000..dbc0eb136de4bf4e2894162c08a871b15c713a2c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.munmap03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-275450088 +# @用例名称: ltp.syscalls.munmap03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.munmap03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls munmap03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.munmap04.sh b/testcase/syscalls/ltp.syscalls.munmap04.sh new file mode 100755 index 0000000000000000000000000000000000000000..edb710edddced95dc649883b8b80780dd13c4985 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.munmap04.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110841-401041103 +# @用例名称: ltp.syscalls.munmap04 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.munmap04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls munmap04 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.name_to_handle_at01.sh b/testcase/syscalls/ltp.syscalls.name_to_handle_at01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7603a1e7ddd6164910f87422b990b5330f333605 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.name_to_handle_at01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-313150304 +# @用例名称: ltp.syscalls.name_to_handle_at01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.name_to_handle_at01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls name_to_handle_at01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.name_to_handle_at02.sh b/testcase/syscalls/ltp.syscalls.name_to_handle_at02.sh new file mode 100755 index 0000000000000000000000000000000000000000..2018d5371373df6af4f8b121284ed4036c0e38a7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.name_to_handle_at02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-321900490 +# @用例名称: ltp.syscalls.name_to_handle_at02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.name_to_handle_at02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls name_to_handle_at02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.nanosleep01.sh b/testcase/syscalls/ltp.syscalls.nanosleep01.sh new file mode 100755 index 0000000000000000000000000000000000000000..471cb0a289c6955cd3fead60562f7c32a7a0a28d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.nanosleep01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-286003108 +# @用例名称: ltp.syscalls.nanosleep01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.nanosleep01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls nanosleep01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.nanosleep02.sh b/testcase/syscalls/ltp.syscalls.nanosleep02.sh new file mode 100755 index 0000000000000000000000000000000000000000..8b68157e7463395984504453d0416a7a233a92c0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.nanosleep02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-294440679 +# @用例名称: ltp.syscalls.nanosleep02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.nanosleep02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls nanosleep02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.nanosleep04.sh b/testcase/syscalls/ltp.syscalls.nanosleep04.sh new file mode 100755 index 0000000000000000000000000000000000000000..48cf01489fb4da7ad9f32266de228b69bf93dc71 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.nanosleep04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-302863543 +# @用例名称: ltp.syscalls.nanosleep04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.nanosleep04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls nanosleep04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.newuname01.sh b/testcase/syscalls/ltp.syscalls.newuname01.sh new file mode 100755 index 0000000000000000000000000000000000000000..1c71470588a8de49f882c1e405407feed04e3c65 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.newuname01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-726310386 +# @用例名称: ltp.syscalls.newuname01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.newuname01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls newuname01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.nftw01.sh b/testcase/syscalls/ltp.syscalls.nftw01.sh new file mode 100755 index 0000000000000000000000000000000000000000..315a38f86162a9d063c8b8bdf065122191644437 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.nftw01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-332312977 +# @用例名称: ltp.syscalls.nftw01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.nftw01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls nftw01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.nftw6401.sh b/testcase/syscalls/ltp.syscalls.nftw6401.sh new file mode 100755 index 0000000000000000000000000000000000000000..b1d17ee6bb968c00cca847903ad02c46292aadf3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.nftw6401.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-340884930 +# @用例名称: ltp.syscalls.nftw6401 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.nftw6401 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls nftw6401 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.nice01.sh b/testcase/syscalls/ltp.syscalls.nice01.sh new file mode 100755 index 0000000000000000000000000000000000000000..baf1260f55d005674fb948b92bda611bf3819e44 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.nice01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-351412241 +# @用例名称: ltp.syscalls.nice01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.nice01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls nice01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.nice02.sh b/testcase/syscalls/ltp.syscalls.nice02.sh new file mode 100755 index 0000000000000000000000000000000000000000..20eea50b855512e1388786615c6e5f344756a154 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.nice02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-363931732 +# @用例名称: ltp.syscalls.nice02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.nice02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls nice02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.nice03.sh b/testcase/syscalls/ltp.syscalls.nice03.sh new file mode 100755 index 0000000000000000000000000000000000000000..714d8783f6e9476a3da49c555aacfb511de6ce38 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.nice03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-372585888 +# @用例名称: ltp.syscalls.nice03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.nice03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls nice03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.nice04.sh b/testcase/syscalls/ltp.syscalls.nice04.sh new file mode 100755 index 0000000000000000000000000000000000000000..0c79b9bcc7394839e46b466e5ba9d511537d8663 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.nice04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-381114380 +# @用例名称: ltp.syscalls.nice04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.nice04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls nice04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.nice05.sh b/testcase/syscalls/ltp.syscalls.nice05.sh new file mode 100755 index 0000000000000000000000000000000000000000..eb87f1dc082207a05edaf922e434018234871086 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.nice05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141852-277709349 +# @用例名称: ltp.syscalls.nice05 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.nice05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls nice05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open01.sh b/testcase/syscalls/ltp.syscalls.open01.sh new file mode 100755 index 0000000000000000000000000000000000000000..790b225f93be077f08221d591d0b5fdf1ca5872d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-391531926 +# @用例名称: ltp.syscalls.open01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open02.sh b/testcase/syscalls/ltp.syscalls.open02.sh new file mode 100755 index 0000000000000000000000000000000000000000..a40b02cfcc83dd85a04b8b8ba7d27bd22735c30f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-408802838 +# @用例名称: ltp.syscalls.open02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open03.sh b/testcase/syscalls/ltp.syscalls.open03.sh new file mode 100755 index 0000000000000000000000000000000000000000..a4fcd4e162f4b93de8bef1f9b2853df226f898cf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-417367968 +# @用例名称: ltp.syscalls.open03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open04.sh b/testcase/syscalls/ltp.syscalls.open04.sh new file mode 100755 index 0000000000000000000000000000000000000000..fe076c9a83fc1c6f9af6aaa6df8ebacf9a02dce6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-425961932 +# @用例名称: ltp.syscalls.open04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open06.sh b/testcase/syscalls/ltp.syscalls.open06.sh new file mode 100755 index 0000000000000000000000000000000000000000..96fb7031875c089302be3433fe87348f8da68764 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-443261578 +# @用例名称: ltp.syscalls.open06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open07.sh b/testcase/syscalls/ltp.syscalls.open07.sh new file mode 100755 index 0000000000000000000000000000000000000000..e4724dd45b98c2b046e5b5d7e97bb32f899ec59c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-451958856 +# @用例名称: ltp.syscalls.open07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open08.sh b/testcase/syscalls/ltp.syscalls.open08.sh new file mode 100755 index 0000000000000000000000000000000000000000..138dad8c067d7e125e89cd1538ab54cd19d31f22 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-460966704 +# @用例名称: ltp.syscalls.open08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open09.sh b/testcase/syscalls/ltp.syscalls.open09.sh new file mode 100755 index 0000000000000000000000000000000000000000..e53017d4720ad12b5fcb2daca7080aa58f78aa1f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-469784095 +# @用例名称: ltp.syscalls.open09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open10.sh b/testcase/syscalls/ltp.syscalls.open10.sh new file mode 100755 index 0000000000000000000000000000000000000000..ef44b81b199dd35cbe4d8c751b9fa046b1dd40e0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-478493414 +# @用例名称: ltp.syscalls.open10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open11.sh b/testcase/syscalls/ltp.syscalls.open11.sh new file mode 100755 index 0000000000000000000000000000000000000000..6e2638e34ecb9074638677ab2645e0b6aba893bb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-487348567 +# @用例名称: ltp.syscalls.open11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open11 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open12.sh b/testcase/syscalls/ltp.syscalls.open12.sh new file mode 100755 index 0000000000000000000000000000000000000000..41d1107836b5044bdae0536c9e6c254d7c39c498 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-496062996 +# @用例名称: ltp.syscalls.open12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open12 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open13.sh b/testcase/syscalls/ltp.syscalls.open13.sh new file mode 100755 index 0000000000000000000000000000000000000000..0ea6dbe48c9a762a51f18c54110b40f4aca6c829 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-504602458 +# @用例名称: ltp.syscalls.open13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open13 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open14.sh b/testcase/syscalls/ltp.syscalls.open14.sh new file mode 100755 index 0000000000000000000000000000000000000000..e33b00bc41cd4b5c7eaf7bbc9241d81707ce4e21 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-513477017 +# @用例名称: ltp.syscalls.open14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open14 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open15.sh b/testcase/syscalls/ltp.syscalls.open15.sh new file mode 100755 index 0000000000000000000000000000000000000000..c727cf30438a9c35f4939b30deea90e31b0645a4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open15.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110841-485756854 +# @用例名称: ltp.syscalls.open15 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open15 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open15 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open_by_handle_at01.sh b/testcase/syscalls/ltp.syscalls.open_by_handle_at01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ba64cb13755829589a2c40e6dad2914d440a2d3f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open_by_handle_at01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-580674698 +# @用例名称: ltp.syscalls.open_by_handle_at01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open_by_handle_at01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open_by_handle_at01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open_by_handle_at02.sh b/testcase/syscalls/ltp.syscalls.open_by_handle_at02.sh new file mode 100755 index 0000000000000000000000000000000000000000..96ff94cffc46e63ce043d1e5dcb7e527ff154a4c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open_by_handle_at02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-589334154 +# @用例名称: ltp.syscalls.open_by_handle_at02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open_by_handle_at02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open_by_handle_at02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open_tree01.sh b/testcase/syscalls/ltp.syscalls.open_tree01.sh new file mode 100755 index 0000000000000000000000000000000000000000..2426f7ca42358bdd64ddf56b1c1cbd206171112f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open_tree01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-599754415 +# @用例名称: ltp.syscalls.open_tree01 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open_tree01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open_tree01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.open_tree02.sh b/testcase/syscalls/ltp.syscalls.open_tree02.sh new file mode 100755 index 0000000000000000000000000000000000000000..7c913a1cf34b3166eef55f0e1f910c5545f28201 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.open_tree02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-608262608 +# @用例名称: ltp.syscalls.open_tree02 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.open_tree02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls open_tree02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.openat01.sh b/testcase/syscalls/ltp.syscalls.openat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..922938f3e3e62d361bab2f2e2649bd04eb62b68c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.openat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-525066938 +# @用例名称: ltp.syscalls.openat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.openat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls openat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.openat02.sh b/testcase/syscalls/ltp.syscalls.openat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..e45a66f17aad7d99c3b66b510e8a83b4a637539f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.openat02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-533777760 +# @用例名称: ltp.syscalls.openat02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.openat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls openat02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.openat03.sh b/testcase/syscalls/ltp.syscalls.openat03.sh new file mode 100755 index 0000000000000000000000000000000000000000..99bb8a82c822f268812aa9127afcc5c13da54e18 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.openat03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-542482751 +# @用例名称: ltp.syscalls.openat03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.openat03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls openat03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.openat04.sh b/testcase/syscalls/ltp.syscalls.openat04.sh new file mode 100755 index 0000000000000000000000000000000000000000..d42fd4a454dfbd4399311e4cd9ead352567458c8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.openat04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141852-341933978 +# @用例名称: ltp.syscalls.openat04 +# @用例级别: 4 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.openat04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls openat04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.openat201.sh b/testcase/syscalls/ltp.syscalls.openat201.sh new file mode 100755 index 0000000000000000000000000000000000000000..db95a540239a30bf2d8d10c2ccfefc71c52426c6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.openat201.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-553103999 +# @用例名称: ltp.syscalls.openat201 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.openat201 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls openat201 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.openat202.sh b/testcase/syscalls/ltp.syscalls.openat202.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5e622cd665549cd1174c172a198acff8013ce43 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.openat202.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-561703954 +# @用例名称: ltp.syscalls.openat202 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.openat202 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls openat202 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.openat203.sh b/testcase/syscalls/ltp.syscalls.openat203.sh new file mode 100755 index 0000000000000000000000000000000000000000..2b7ff93b1e145f2bf559450df3ec6d9e9859321d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.openat203.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-570225522 +# @用例名称: ltp.syscalls.openat203 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.openat203 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls openat203 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pathconf01.sh b/testcase/syscalls/ltp.syscalls.pathconf01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4420ac7550808d79acbeb535b815f2e51befcdc6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pathconf01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-736847667 +# @用例名称: ltp.syscalls.pathconf01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pathconf01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pathconf01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pathconf02.sh b/testcase/syscalls/ltp.syscalls.pathconf02.sh new file mode 100755 index 0000000000000000000000000000000000000000..7a8519403f1171101ecc1ee778e2807ab36351c0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pathconf02.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172839-538403059 +# @用例名称: ltp.syscalls.pathconf02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pathconf02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pathconf02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pause01.sh b/testcase/syscalls/ltp.syscalls.pause01.sh new file mode 100755 index 0000000000000000000000000000000000000000..6110f39f4027ff1f4be6722adae3c2110d05ed98 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pause01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-747303835 +# @用例名称: ltp.syscalls.pause01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pause01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pause01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pause02.sh b/testcase/syscalls/ltp.syscalls.pause02.sh new file mode 100755 index 0000000000000000000000000000000000000000..718bc3a6031543aef0a81e6f167e0a27a41a64a8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pause02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-755875477 +# @用例名称: ltp.syscalls.pause02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pause02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pause02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.perf_event_open01.sh b/testcase/syscalls/ltp.syscalls.perf_event_open01.sh new file mode 100755 index 0000000000000000000000000000000000000000..293096d664fe4deae0b3005517518d715c264d8c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.perf_event_open01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-228470546 +# @用例名称: ltp.syscalls.perf_event_open01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.perf_event_open01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls perf_event_open01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.perf_event_open02.sh b/testcase/syscalls/ltp.syscalls.perf_event_open02.sh new file mode 100755 index 0000000000000000000000000000000000000000..e1a3ff2c1f08e7afce8106d097b86990d1ac708d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.perf_event_open02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-236990251 +# @用例名称: ltp.syscalls.perf_event_open02 +# @用例级别: 1 +# @用例标签: TK5不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.perf_event_open02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls perf_event_open02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.perf_event_open03.sh b/testcase/syscalls/ltp.syscalls.perf_event_open03.sh new file mode 100755 index 0000000000000000000000000000000000000000..834461461783da8af67c2a186f3d2b331d8e4a9e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.perf_event_open03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-519767069 +# @用例名称: ltp.syscalls.perf_event_open03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.perf_event_open03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls perf_event_open03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.personality01.sh b/testcase/syscalls/ltp.syscalls.personality01.sh new file mode 100755 index 0000000000000000000000000000000000000000..38fbf3454ce33d72b23bfdc6219171fc412a4aca --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.personality01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-775363188 +# @用例名称: ltp.syscalls.personality01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.personality01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls personality01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.personality02.sh b/testcase/syscalls/ltp.syscalls.personality02.sh new file mode 100755 index 0000000000000000000000000000000000000000..cb604fe98de94ffda4a9f81c8d3f244dd3e779a8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.personality02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-783915965 +# @用例名称: ltp.syscalls.personality02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.personality02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls personality02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pidfd_getfd01.sh b/testcase/syscalls/ltp.syscalls.pidfd_getfd01.sh new file mode 100755 index 0000000000000000000000000000000000000000..1af34aeb3892a9f8085ded4ed44b467957710935 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pidfd_getfd01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141852-532864634 +# @用例名称: ltp.syscalls.pidfd_getfd01 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pidfd_getfd01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pidfd_getfd01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pidfd_getfd02.sh b/testcase/syscalls/ltp.syscalls.pidfd_getfd02.sh new file mode 100755 index 0000000000000000000000000000000000000000..f89e8c3877631e57037225a1f0c76fdf672d1ff9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pidfd_getfd02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141852-596139875 +# @用例名称: ltp.syscalls.pidfd_getfd02 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pidfd_getfd02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pidfd_getfd02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pidfd_open01.sh b/testcase/syscalls/ltp.syscalls.pidfd_open01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7844c5c6582f12383dd219c5d865427aa24dac40 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pidfd_open01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-794376041 +# @用例名称: ltp.syscalls.pidfd_open01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pidfd_open01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pidfd_open01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pidfd_open02.sh b/testcase/syscalls/ltp.syscalls.pidfd_open02.sh new file mode 100755 index 0000000000000000000000000000000000000000..110a1664284ecd4eaab3fac81c1e4dbe4d8f6403 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pidfd_open02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-807344211 +# @用例名称: ltp.syscalls.pidfd_open02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pidfd_open02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pidfd_open02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pidfd_open03.sh b/testcase/syscalls/ltp.syscalls.pidfd_open03.sh new file mode 100755 index 0000000000000000000000000000000000000000..a2b5659c2fd6da5c6c595791e4efea9ab254b090 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pidfd_open03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-816009087 +# @用例名称: ltp.syscalls.pidfd_open03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pidfd_open03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pidfd_open03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pidfd_open04.sh b/testcase/syscalls/ltp.syscalls.pidfd_open04.sh new file mode 100755 index 0000000000000000000000000000000000000000..a32da1de36a01508f432e0571c67f59c3718f141 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pidfd_open04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141852-659431579 +# @用例名称: ltp.syscalls.pidfd_open04 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pidfd_open04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pidfd_open04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pidfd_send_signal01.sh b/testcase/syscalls/ltp.syscalls.pidfd_send_signal01.sh new file mode 100755 index 0000000000000000000000000000000000000000..fd71aa1f15bf6b24a7f7be653df589eeb8ab86cf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pidfd_send_signal01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-826381199 +# @用例名称: ltp.syscalls.pidfd_send_signal01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pidfd_send_signal01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pidfd_send_signal01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pidfd_send_signal02.sh b/testcase/syscalls/ltp.syscalls.pidfd_send_signal02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b09a706f634e5dbbf4574bc6763a2a1105156814 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pidfd_send_signal02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-835035325 +# @用例名称: ltp.syscalls.pidfd_send_signal02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pidfd_send_signal02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pidfd_send_signal02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pidfd_send_signal03.sh b/testcase/syscalls/ltp.syscalls.pidfd_send_signal03.sh new file mode 100755 index 0000000000000000000000000000000000000000..dfcf10b5b89b779b76f96e1368cd41fe2e84e6d1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pidfd_send_signal03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-843550401 +# @用例名称: ltp.syscalls.pidfd_send_signal03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pidfd_send_signal03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pidfd_send_signal03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe01.sh b/testcase/syscalls/ltp.syscalls.pipe01.sh new file mode 100755 index 0000000000000000000000000000000000000000..78c4f6e574fa8234f7299f7921f5423754eaf429 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-854106607 +# @用例名称: ltp.syscalls.pipe01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe02.sh b/testcase/syscalls/ltp.syscalls.pipe02.sh new file mode 100755 index 0000000000000000000000000000000000000000..039ab9f8c6ac0e474251cc88e6585ecf5cd198cc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-864819066 +# @用例名称: ltp.syscalls.pipe02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe03.sh b/testcase/syscalls/ltp.syscalls.pipe03.sh new file mode 100755 index 0000000000000000000000000000000000000000..689c1f4b6d827dd39900e4a3ce865a6112dba2ea --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-873399384 +# @用例名称: ltp.syscalls.pipe03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe04.sh b/testcase/syscalls/ltp.syscalls.pipe04.sh new file mode 100755 index 0000000000000000000000000000000000000000..3e8d3de8e40387d83b48559f4585cced3f39a21b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-881935479 +# @用例名称: ltp.syscalls.pipe04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe05.sh b/testcase/syscalls/ltp.syscalls.pipe05.sh new file mode 100755 index 0000000000000000000000000000000000000000..068399763f2eaba073afdc264943a4a73ed72daf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-892807386 +# @用例名称: ltp.syscalls.pipe05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe06.sh b/testcase/syscalls/ltp.syscalls.pipe06.sh new file mode 100755 index 0000000000000000000000000000000000000000..32c41654eb302a1e49cc665ed69c92d1b49a0148 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-901348591 +# @用例名称: ltp.syscalls.pipe06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe07.sh b/testcase/syscalls/ltp.syscalls.pipe07.sh new file mode 100755 index 0000000000000000000000000000000000000000..db6cea7c6af53d03d60eef95e3dcb8d9cdecda9d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-909814756 +# @用例名称: ltp.syscalls.pipe07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe08.sh b/testcase/syscalls/ltp.syscalls.pipe08.sh new file mode 100755 index 0000000000000000000000000000000000000000..09e54b5fd9c9fb4bb7df3cd23db901b9589536ce --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-918341113 +# @用例名称: ltp.syscalls.pipe08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe09.sh b/testcase/syscalls/ltp.syscalls.pipe09.sh new file mode 100755 index 0000000000000000000000000000000000000000..abf7356b8808e335ce82a715b6dcd03d85cd49e8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-926926771 +# @用例名称: ltp.syscalls.pipe09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe10.sh b/testcase/syscalls/ltp.syscalls.pipe10.sh new file mode 100755 index 0000000000000000000000000000000000000000..e14cef9d780bee37d9f55f1be4af78818635292a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-935462015 +# @用例名称: ltp.syscalls.pipe10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe11.sh b/testcase/syscalls/ltp.syscalls.pipe11.sh new file mode 100755 index 0000000000000000000000000000000000000000..f281759f9a7a9ed6b962567795d5448e9078130b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-943991858 +# @用例名称: ltp.syscalls.pipe11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe11 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe12.sh b/testcase/syscalls/ltp.syscalls.pipe12.sh new file mode 100755 index 0000000000000000000000000000000000000000..fc3f8184e94bfdc1cad3481b690bcf78ea8b59b5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-952575393 +# @用例名称: ltp.syscalls.pipe12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe12 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe13.sh b/testcase/syscalls/ltp.syscalls.pipe13.sh new file mode 100755 index 0000000000000000000000000000000000000000..be140a5dc45e07daead8cece4054a4dc2995980b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-961238736 +# @用例名称: ltp.syscalls.pipe13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe13 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe14.sh b/testcase/syscalls/ltp.syscalls.pipe14.sh new file mode 100755 index 0000000000000000000000000000000000000000..da195fb632c655e48462beea4f600b0012de68f6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe14.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172839-611013439 +# @用例名称: ltp.syscalls.pipe14 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe14 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe15.sh b/testcase/syscalls/ltp.syscalls.pipe15.sh new file mode 100755 index 0000000000000000000000000000000000000000..38f41eb7a27df933b942d44105b0cb9f9a769578 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe15.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172839-684823299 +# @用例名称: ltp.syscalls.pipe15 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe15 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe15 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe2_01.sh b/testcase/syscalls/ltp.syscalls.pipe2_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f58dcccdebb2c28900cbedde08f7ed4d9abad088 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe2_01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-971882867 +# @用例名称: ltp.syscalls.pipe2_01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe2_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe2_01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe2_02.sh b/testcase/syscalls/ltp.syscalls.pipe2_02.sh new file mode 100755 index 0000000000000000000000000000000000000000..5d7229c794cec2391a25e3ad61f4835cd1413def --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe2_02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-980535420 +# @用例名称: ltp.syscalls.pipe2_02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe2_02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe2_02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipe2_04.sh b/testcase/syscalls/ltp.syscalls.pipe2_04.sh new file mode 100755 index 0000000000000000000000000000000000000000..20c8a5de17c7302d471471b390894c72553d3a86 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipe2_04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-989019538 +# @用例名称: ltp.syscalls.pipe2_04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipe2_04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipe2_04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipeio_1.sh b/testcase/syscalls/ltp.syscalls.pipeio_1.sh new file mode 100755 index 0000000000000000000000000000000000000000..d3df634b87930a5aa25671109f3fef8286cb6e97 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipeio_1.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110841-653470351 +# @用例名称: ltp.syscalls.pipeio_1 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipeio_1 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipeio_1 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipeio_2.sh b/testcase/syscalls/ltp.syscalls.pipeio_2.sh new file mode 100755 index 0000000000000000000000000000000000000000..fb56e26c39dbe126b3dbb0880bfde0b8e262ee80 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipeio_2.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110841-739058382 +# @用例名称: ltp.syscalls.pipeio_2 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipeio_2 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipeio_2 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipeio_3.sh b/testcase/syscalls/ltp.syscalls.pipeio_3.sh new file mode 100755 index 0000000000000000000000000000000000000000..45d925d6905db27f54a68b5931bfcc0ec68bd64a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipeio_3.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110841-821235698 +# @用例名称: ltp.syscalls.pipeio_3 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipeio_3 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipeio_3 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipeio_4.sh b/testcase/syscalls/ltp.syscalls.pipeio_4.sh new file mode 100755 index 0000000000000000000000000000000000000000..4db4554b9a1e801b860135720aebdae66dec12f7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipeio_4.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110841-908127100 +# @用例名称: ltp.syscalls.pipeio_4 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipeio_4 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipeio_4 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipeio_5.sh b/testcase/syscalls/ltp.syscalls.pipeio_5.sh new file mode 100755 index 0000000000000000000000000000000000000000..670a3c231dd0083da17e5f85bbb0f137e1b3bfe9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipeio_5.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110841-989914465 +# @用例名称: ltp.syscalls.pipeio_5 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipeio_5 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipeio_5 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipeio_6.sh b/testcase/syscalls/ltp.syscalls.pipeio_6.sh new file mode 100755 index 0000000000000000000000000000000000000000..1e30ab837f09a1867cffaf0827ea7b9344839380 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipeio_6.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110842-077242068 +# @用例名称: ltp.syscalls.pipeio_6 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipeio_6 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipeio_6 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipeio_7.sh b/testcase/syscalls/ltp.syscalls.pipeio_7.sh new file mode 100755 index 0000000000000000000000000000000000000000..60dbc3516e7e8c68db0b52ec15612a931345adc2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipeio_7.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110842-161888750 +# @用例名称: ltp.syscalls.pipeio_7 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipeio_7 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipeio_7 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pipeio_8.sh b/testcase/syscalls/ltp.syscalls.pipeio_8.sh new file mode 100755 index 0000000000000000000000000000000000000000..8cd3b6eb9624705404663b4971fe1e829994dad7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pipeio_8.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110842-245065543 +# @用例名称: ltp.syscalls.pipeio_8 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pipeio_8 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pipeio_8 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pivot_root01.sh b/testcase/syscalls/ltp.syscalls.pivot_root01.sh new file mode 100755 index 0000000000000000000000000000000000000000..40e7756b6b13671fe57c68a110050858f6b94357 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pivot_root01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213018-999446002 +# @用例名称: ltp.syscalls.pivot_root01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pivot_root01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pivot_root01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pkey01.sh b/testcase/syscalls/ltp.syscalls.pkey01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ba04061f9fa7740e7bde12aabc3c0e3f3a022f24 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pkey01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213017-827890277 +# @用例名称: ltp.syscalls.pkey01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pkey01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pkey01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.poll01.sh b/testcase/syscalls/ltp.syscalls.poll01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a7a3865ed3b490dddd78a4baaaa1f549db91969f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.poll01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-009907931 +# @用例名称: ltp.syscalls.poll01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.poll01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls poll01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.poll02.sh b/testcase/syscalls/ltp.syscalls.poll02.sh new file mode 100755 index 0000000000000000000000000000000000000000..32bc8b2e4c003fa0d58d7876778a5737efb0f2c4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.poll02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-018453364 +# @用例名称: ltp.syscalls.poll02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.poll02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls poll02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.posix_fadvise01.sh b/testcase/syscalls/ltp.syscalls.posix_fadvise01.sh new file mode 100755 index 0000000000000000000000000000000000000000..1cfc8164e498d367a2c88283b66fa45c8c88c38b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.posix_fadvise01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-364798280 +# @用例名称: ltp.syscalls.posix_fadvise01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.posix_fadvise01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls posix_fadvise01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.posix_fadvise01_64.sh b/testcase/syscalls/ltp.syscalls.posix_fadvise01_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..3017cc0951885677608727aa474bc7c56fb30e68 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.posix_fadvise01_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-373538126 +# @用例名称: ltp.syscalls.posix_fadvise01_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.posix_fadvise01_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls posix_fadvise01_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.posix_fadvise02.sh b/testcase/syscalls/ltp.syscalls.posix_fadvise02.sh new file mode 100755 index 0000000000000000000000000000000000000000..bb5abd1dab913b65c91233c131f12bb773682d72 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.posix_fadvise02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-382526328 +# @用例名称: ltp.syscalls.posix_fadvise02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.posix_fadvise02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls posix_fadvise02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.posix_fadvise02_64.sh b/testcase/syscalls/ltp.syscalls.posix_fadvise02_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..b1f5e391c3e904c6ec46b50df00436d70e360bb2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.posix_fadvise02_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-391002291 +# @用例名称: ltp.syscalls.posix_fadvise02_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.posix_fadvise02_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls posix_fadvise02_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.posix_fadvise03.sh b/testcase/syscalls/ltp.syscalls.posix_fadvise03.sh new file mode 100755 index 0000000000000000000000000000000000000000..fb1b16598d5654dacbc43cd25eb6acbc8a2582ce --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.posix_fadvise03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-399487020 +# @用例名称: ltp.syscalls.posix_fadvise03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.posix_fadvise03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls posix_fadvise03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.posix_fadvise03_64.sh b/testcase/syscalls/ltp.syscalls.posix_fadvise03_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..735f7abb7292fe14ef455ac8d08d25067b294621 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.posix_fadvise03_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-408208682 +# @用例名称: ltp.syscalls.posix_fadvise03_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.posix_fadvise03_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls posix_fadvise03_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.posix_fadvise04.sh b/testcase/syscalls/ltp.syscalls.posix_fadvise04.sh new file mode 100755 index 0000000000000000000000000000000000000000..0548f0a2ffe9bca604e0083f016bce880da1cd0f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.posix_fadvise04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-417000296 +# @用例名称: ltp.syscalls.posix_fadvise04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.posix_fadvise04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls posix_fadvise04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.posix_fadvise04_64.sh b/testcase/syscalls/ltp.syscalls.posix_fadvise04_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..8178a7953c7b8c474116bc66b6c91d624051cfc1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.posix_fadvise04_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213013-425804634 +# @用例名称: ltp.syscalls.posix_fadvise04_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.posix_fadvise04_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls posix_fadvise04_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ppoll01.sh b/testcase/syscalls/ltp.syscalls.ppoll01.sh new file mode 100755 index 0000000000000000000000000000000000000000..acaf3637223b8421ea6102b2a63acda62712a0a3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ppoll01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-029090741 +# @用例名称: ltp.syscalls.ppoll01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ppoll01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ppoll01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.prctl01.sh b/testcase/syscalls/ltp.syscalls.prctl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7029a4acb28e8d9fb69d71d5759b7a2782db6d4c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.prctl01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-039442174 +# @用例名称: ltp.syscalls.prctl01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.prctl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls prctl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.prctl02.sh b/testcase/syscalls/ltp.syscalls.prctl02.sh new file mode 100755 index 0000000000000000000000000000000000000000..7e0bafa9395232b548d6e5098b0f73c59d187b92 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.prctl02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-048519563 +# @用例名称: ltp.syscalls.prctl02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.prctl02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls prctl02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.prctl03.sh b/testcase/syscalls/ltp.syscalls.prctl03.sh new file mode 100755 index 0000000000000000000000000000000000000000..04265d42e1043184e60a7300c541233fdfb19033 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.prctl03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-057165273 +# @用例名称: ltp.syscalls.prctl03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.prctl03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls prctl03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.prctl05.sh b/testcase/syscalls/ltp.syscalls.prctl05.sh new file mode 100755 index 0000000000000000000000000000000000000000..c2e92d05a072d8fcf4ebbfc9e41cb9eed7f64f83 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.prctl05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-074532747 +# @用例名称: ltp.syscalls.prctl05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.prctl05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls prctl05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.prctl06.sh b/testcase/syscalls/ltp.syscalls.prctl06.sh new file mode 100755 index 0000000000000000000000000000000000000000..bd39711868dde7b66b61e12d45598931b050f8a8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.prctl06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-083105431 +# @用例名称: ltp.syscalls.prctl06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.prctl06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls prctl06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.prctl07.sh b/testcase/syscalls/ltp.syscalls.prctl07.sh new file mode 100755 index 0000000000000000000000000000000000000000..86a3e2b9617efd526ec4a5d5240983cf9b7768a4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.prctl07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-091617791 +# @用例名称: ltp.syscalls.prctl07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.prctl07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls prctl07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.prctl08.sh b/testcase/syscalls/ltp.syscalls.prctl08.sh new file mode 100755 index 0000000000000000000000000000000000000000..e9f071ac6675a22feb857caee71d36bbbbca4f18 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.prctl08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-100237203 +# @用例名称: ltp.syscalls.prctl08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.prctl08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls prctl08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.prctl09.sh b/testcase/syscalls/ltp.syscalls.prctl09.sh new file mode 100755 index 0000000000000000000000000000000000000000..4e3a81923b7d33671ac1a6200b6929bc47280185 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.prctl09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-108958334 +# @用例名称: ltp.syscalls.prctl09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.prctl09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls prctl09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.prctl10.sh b/testcase/syscalls/ltp.syscalls.prctl10.sh new file mode 100755 index 0000000000000000000000000000000000000000..646945ffbdcd88a6a17226088e2e3ff05c02a63c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.prctl10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141852-724450153 +# @用例名称: ltp.syscalls.prctl10 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.prctl10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls prctl10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pread01.sh b/testcase/syscalls/ltp.syscalls.pread01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ee30822cceb612a020a9069a09938df56960e6f7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pread01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-120438941 +# @用例名称: ltp.syscalls.pread01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pread01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pread01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pread01_64.sh b/testcase/syscalls/ltp.syscalls.pread01_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..3ccc78c3b8b8e160bd797fab6e24bc1f0c6c56d7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pread01_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-129095000 +# @用例名称: ltp.syscalls.pread01_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pread01_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pread01_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pread02.sh b/testcase/syscalls/ltp.syscalls.pread02.sh new file mode 100755 index 0000000000000000000000000000000000000000..0e1f3c6d3afa9a9bbf706e2fdf1c071fb95c88a3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pread02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-137460746 +# @用例名称: ltp.syscalls.pread02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pread02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pread02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pread02_64.sh b/testcase/syscalls/ltp.syscalls.pread02_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..dc88a19b4b2248b0d44f1865d13877a9aedbcce9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pread02_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-146037478 +# @用例名称: ltp.syscalls.pread02_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pread02_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pread02_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.preadv01.sh b/testcase/syscalls/ltp.syscalls.preadv01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0ffb17b30c8cb475a02729025f849c3b609823e2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.preadv01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-156408588 +# @用例名称: ltp.syscalls.preadv01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.preadv01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls preadv01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.preadv01_64.sh b/testcase/syscalls/ltp.syscalls.preadv01_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..81d56b7f051453e15cc19fe2ed3648e05c16ddc0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.preadv01_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-165500523 +# @用例名称: ltp.syscalls.preadv01_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.preadv01_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls preadv01_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.preadv02.sh b/testcase/syscalls/ltp.syscalls.preadv02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ad7fd767c1bde0fde4712eb0b7ca98a8b0d5c344 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.preadv02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-174079499 +# @用例名称: ltp.syscalls.preadv02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.preadv02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls preadv02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.preadv02_64.sh b/testcase/syscalls/ltp.syscalls.preadv02_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..f32982be580f4a90f092028ac5856a43cd40325c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.preadv02_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-182712236 +# @用例名称: ltp.syscalls.preadv02_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.preadv02_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls preadv02_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.preadv03.sh b/testcase/syscalls/ltp.syscalls.preadv03.sh new file mode 100755 index 0000000000000000000000000000000000000000..0126eba9ea904bcd4e034ef645a77eb8cad9d068 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.preadv03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-191252297 +# @用例名称: ltp.syscalls.preadv03 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.preadv03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls preadv03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.preadv03_64.sh b/testcase/syscalls/ltp.syscalls.preadv03_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..828d823491fdd300ff7c4fe59048109c7d4d522e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.preadv03_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-199844638 +# @用例名称: ltp.syscalls.preadv03_64 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.preadv03_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls preadv03_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.preadv201.sh b/testcase/syscalls/ltp.syscalls.preadv201.sh new file mode 100755 index 0000000000000000000000000000000000000000..ec10024497b8536319f94dc2389145cba25ecfaf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.preadv201.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-210365659 +# @用例名称: ltp.syscalls.preadv201 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.preadv201 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls preadv201 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.preadv201_64.sh b/testcase/syscalls/ltp.syscalls.preadv201_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..443a9c228b07247d9ad9c93d59ccfadb419d1a53 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.preadv201_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-218933494 +# @用例名称: ltp.syscalls.preadv201_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.preadv201_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls preadv201_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.preadv202.sh b/testcase/syscalls/ltp.syscalls.preadv202.sh new file mode 100755 index 0000000000000000000000000000000000000000..22315f15a710e6082754d9db7ca02bc30ca11db6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.preadv202.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-227918589 +# @用例名称: ltp.syscalls.preadv202 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.preadv202 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls preadv202 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.preadv202_64.sh b/testcase/syscalls/ltp.syscalls.preadv202_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..25ecffdeaf82e9dedad36e68cd1d83feb32217b7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.preadv202_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-236536929 +# @用例名称: ltp.syscalls.preadv202_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.preadv202_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls preadv202_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.preadv203.sh b/testcase/syscalls/ltp.syscalls.preadv203.sh new file mode 100755 index 0000000000000000000000000000000000000000..455e937463ea9540b09a879987067c8e783b6ae8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.preadv203.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-245090586 +# @用例名称: ltp.syscalls.preadv203 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.preadv203 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls preadv203 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.preadv203_64.sh b/testcase/syscalls/ltp.syscalls.preadv203_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..2ac44cdc47834caaf0899e14c00709307353f001 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.preadv203_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-253795047 +# @用例名称: ltp.syscalls.preadv203_64 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.preadv203_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls preadv203_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.process_madvise01.sh b/testcase/syscalls/ltp.syscalls.process_madvise01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0169a6ee3fdc12be32ea5d09f32cfad2c6c426fe --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.process_madvise01.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172839-761439631 +# @用例名称: ltp.syscalls.process_madvise01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.process_madvise01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls process_madvise01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.process_vm_readv01.sh b/testcase/syscalls/ltp.syscalls.process_vm_readv01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e4469bc2fb9753dceaec470659c981ba7eb1bcb5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.process_vm_readv01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-274842187 +# @用例名称: ltp.syscalls.process_vm_readv01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.process_vm_readv01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls process_vm_readv01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.process_vm_readv02.sh b/testcase/syscalls/ltp.syscalls.process_vm_readv02.sh new file mode 100755 index 0000000000000000000000000000000000000000..6328157b4b230c6f9030de1601f6c4b0bdf30fa8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.process_vm_readv02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-283450066 +# @用例名称: ltp.syscalls.process_vm_readv02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.process_vm_readv02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls process_vm_readv02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.process_vm_readv03.sh b/testcase/syscalls/ltp.syscalls.process_vm_readv03.sh new file mode 100755 index 0000000000000000000000000000000000000000..f59197f6d12261b9cadbfdd7fcf5667f79d73e84 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.process_vm_readv03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-291905871 +# @用例名称: ltp.syscalls.process_vm_readv03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.process_vm_readv03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls process_vm_readv03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.process_vm_writev01.sh b/testcase/syscalls/ltp.syscalls.process_vm_writev01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a9c80d7dc24fc341cd4416f06141db1cfb8ef633 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.process_vm_writev01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-300418793 +# @用例名称: ltp.syscalls.process_vm_writev01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.process_vm_writev01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls process_vm_writev01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.process_vm_writev02.sh b/testcase/syscalls/ltp.syscalls.process_vm_writev02.sh new file mode 100755 index 0000000000000000000000000000000000000000..19f5ef6f69fec54e4985a9f2b313871f332d8d9c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.process_vm_writev02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-309118676 +# @用例名称: ltp.syscalls.process_vm_writev02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.process_vm_writev02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls process_vm_writev02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.profil01.sh b/testcase/syscalls/ltp.syscalls.profil01.sh new file mode 100755 index 0000000000000000000000000000000000000000..634d67c23a1d90b62100242b6181e6dc520147aa --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.profil01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-264384395 +# @用例名称: ltp.syscalls.profil01 +# @用例级别: 1 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.profil01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls profil01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.prot_hsymlinks.sh b/testcase/syscalls/ltp.syscalls.prot_hsymlinks.sh new file mode 100755 index 0000000000000000000000000000000000000000..bcbbe2fad84096802390a7c4938fb4c072db6866 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.prot_hsymlinks.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-319614118 +# @用例名称: ltp.syscalls.prot_hsymlinks +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.prot_hsymlinks + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls prot_hsymlinks + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pselect01.sh b/testcase/syscalls/ltp.syscalls.pselect01.sh new file mode 100755 index 0000000000000000000000000000000000000000..34bee6996d6d5b7de8b938c49ec34a9eb5a19186 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pselect01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-338934737 +# @用例名称: ltp.syscalls.pselect01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pselect01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pselect01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pselect01_64.sh b/testcase/syscalls/ltp.syscalls.pselect01_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..14a32c10cf3b52ac7b83e3c04d6d76e07f2f4d98 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pselect01_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-347540582 +# @用例名称: ltp.syscalls.pselect01_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pselect01_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pselect01_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pselect02.sh b/testcase/syscalls/ltp.syscalls.pselect02.sh new file mode 100755 index 0000000000000000000000000000000000000000..dbb679594381a2f39360c553c6f1ccf4e045fee8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pselect02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-356131310 +# @用例名称: ltp.syscalls.pselect02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pselect02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pselect02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pselect02_64.sh b/testcase/syscalls/ltp.syscalls.pselect02_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..6a594ace974238a75c3eee26775a9a8bc95db374 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pselect02_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-364786799 +# @用例名称: ltp.syscalls.pselect02_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pselect02_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pselect02_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pselect03.sh b/testcase/syscalls/ltp.syscalls.pselect03.sh new file mode 100755 index 0000000000000000000000000000000000000000..3c5e20253d840fcc1e72ded7bad142f7c4ec8fa2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pselect03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-373420257 +# @用例名称: ltp.syscalls.pselect03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pselect03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pselect03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pselect03_64.sh b/testcase/syscalls/ltp.syscalls.pselect03_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..08010c24547e0fcfcbe93d16a781919277601ed3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pselect03_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-382062911 +# @用例名称: ltp.syscalls.pselect03_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pselect03_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pselect03_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ptrace01.sh b/testcase/syscalls/ltp.syscalls.ptrace01.sh new file mode 100755 index 0000000000000000000000000000000000000000..195b2f8d20b4a70445dc26ecd3728bb44201eed8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ptrace01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-392595222 +# @用例名称: ltp.syscalls.ptrace01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ptrace01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ptrace01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ptrace02.sh b/testcase/syscalls/ltp.syscalls.ptrace02.sh new file mode 100755 index 0000000000000000000000000000000000000000..d13f73168715485fbac60be861d831660d8f7322 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ptrace02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-402117754 +# @用例名称: ltp.syscalls.ptrace02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ptrace02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ptrace02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ptrace03.sh b/testcase/syscalls/ltp.syscalls.ptrace03.sh new file mode 100755 index 0000000000000000000000000000000000000000..9962b9768de525f355e2a9d860366b16477eeb14 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ptrace03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-410828816 +# @用例名称: ltp.syscalls.ptrace03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ptrace03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ptrace03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ptrace04.sh b/testcase/syscalls/ltp.syscalls.ptrace04.sh new file mode 100755 index 0000000000000000000000000000000000000000..93020b027dc00b08c12544a0fdcee193e81eaf38 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ptrace04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-419587238 +# @用例名称: ltp.syscalls.ptrace04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ptrace04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ptrace04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ptrace05.sh b/testcase/syscalls/ltp.syscalls.ptrace05.sh new file mode 100755 index 0000000000000000000000000000000000000000..eb31fb637ce30ad87a0cee66e5a6bc59edeeeabf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ptrace05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-428152839 +# @用例名称: ltp.syscalls.ptrace05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ptrace05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ptrace05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ptrace06.sh b/testcase/syscalls/ltp.syscalls.ptrace06.sh new file mode 100755 index 0000000000000000000000000000000000000000..ab105f25249aa9a9c6b413a69b15442421d5754a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ptrace06.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172839-833921597 +# @用例名称: ltp.syscalls.ptrace06 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ptrace06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ptrace06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ptrace07.sh b/testcase/syscalls/ltp.syscalls.ptrace07.sh new file mode 100755 index 0000000000000000000000000000000000000000..9b892e15cc0def6486d3ee6e2d569c5ae92bfcf4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ptrace07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-438797551 +# @用例名称: ltp.syscalls.ptrace07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ptrace07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ptrace07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ptrace08.sh b/testcase/syscalls/ltp.syscalls.ptrace08.sh new file mode 100755 index 0000000000000000000000000000000000000000..c663589ecb73993c64cf516b894c83fe78220225 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ptrace08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-447385923 +# @用例名称: ltp.syscalls.ptrace08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ptrace08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ptrace08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ptrace09.sh b/testcase/syscalls/ltp.syscalls.ptrace09.sh new file mode 100755 index 0000000000000000000000000000000000000000..1f90ebddb14d693b8099cd7dad12020aeb9e64c0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ptrace09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-455969007 +# @用例名称: ltp.syscalls.ptrace09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ptrace09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ptrace09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ptrace10.sh b/testcase/syscalls/ltp.syscalls.ptrace10.sh new file mode 100755 index 0000000000000000000000000000000000000000..d2f7c12ddfd627b3916a86fdc308a6335021ddf6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ptrace10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-464917264 +# @用例名称: ltp.syscalls.ptrace10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ptrace10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ptrace10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ptrace11.sh b/testcase/syscalls/ltp.syscalls.ptrace11.sh new file mode 100755 index 0000000000000000000000000000000000000000..101b76f092f314e8f2501d94ac72db709a0aeb5d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ptrace11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-473575538 +# @用例名称: ltp.syscalls.ptrace11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ptrace11 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ptrace11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwrite01.sh b/testcase/syscalls/ltp.syscalls.pwrite01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0a64a720e99fa513ac784e4b9b12e749ed433055 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwrite01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-484116976 +# @用例名称: ltp.syscalls.pwrite01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwrite01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwrite01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwrite01_64.sh b/testcase/syscalls/ltp.syscalls.pwrite01_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..ab37663959217feacf5a86c73cc0cd6a91d5ae29 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwrite01_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-520413385 +# @用例名称: ltp.syscalls.pwrite01_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwrite01_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwrite01_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwrite02.sh b/testcase/syscalls/ltp.syscalls.pwrite02.sh new file mode 100755 index 0000000000000000000000000000000000000000..87c69184119e515564098a9bd2ab21c14112037a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwrite02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-492762446 +# @用例名称: ltp.syscalls.pwrite02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwrite02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwrite02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwrite02_64.sh b/testcase/syscalls/ltp.syscalls.pwrite02_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..0fe0f09461adc70628b463604ffcd9ad312a3adf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwrite02_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-529062522 +# @用例名称: ltp.syscalls.pwrite02_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwrite02_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwrite02_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwrite03.sh b/testcase/syscalls/ltp.syscalls.pwrite03.sh new file mode 100755 index 0000000000000000000000000000000000000000..90aedd18035a63acb69a9dcafcad53a8ab78fc74 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwrite03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-501312999 +# @用例名称: ltp.syscalls.pwrite03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwrite03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwrite03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwrite03_64.sh b/testcase/syscalls/ltp.syscalls.pwrite03_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..376e77b032b81d064f633a0b229280a8f16f60bf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwrite03_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-537674800 +# @用例名称: ltp.syscalls.pwrite03_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwrite03_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwrite03_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwrite04.sh b/testcase/syscalls/ltp.syscalls.pwrite04.sh new file mode 100755 index 0000000000000000000000000000000000000000..4d92fc5f18684741616090800cca51e51f0df303 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwrite04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-509879111 +# @用例名称: ltp.syscalls.pwrite04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwrite04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwrite04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwrite04_64.sh b/testcase/syscalls/ltp.syscalls.pwrite04_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..e9a8852bcdf2ae2c10d8a34acd35d64d104a5faa --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwrite04_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-546238076 +# @用例名称: ltp.syscalls.pwrite04_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwrite04_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwrite04_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwritev01.sh b/testcase/syscalls/ltp.syscalls.pwritev01.sh new file mode 100755 index 0000000000000000000000000000000000000000..71271cd618cafd3dd156314de0c62a18214d0baf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwritev01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-556947980 +# @用例名称: ltp.syscalls.pwritev01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwritev01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwritev01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwritev01_64.sh b/testcase/syscalls/ltp.syscalls.pwritev01_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..ff7da93374b50bdb3a4c54bbba6c61ee65b938dd --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwritev01_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-565478686 +# @用例名称: ltp.syscalls.pwritev01_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwritev01_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwritev01_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwritev02.sh b/testcase/syscalls/ltp.syscalls.pwritev02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ecf8429c9ec8b40fb9edf69898c8440e12ab08d0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwritev02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-574394702 +# @用例名称: ltp.syscalls.pwritev02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwritev02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwritev02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwritev02_64.sh b/testcase/syscalls/ltp.syscalls.pwritev02_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..516478f88fd06119394a08921f8c41a8e717dad5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwritev02_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-583073985 +# @用例名称: ltp.syscalls.pwritev02_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwritev02_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwritev02_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwritev03.sh b/testcase/syscalls/ltp.syscalls.pwritev03.sh new file mode 100755 index 0000000000000000000000000000000000000000..10b2d0a6b6e3d7395b3b97ca7a1cc98e1519ab50 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwritev03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-591645757 +# @用例名称: ltp.syscalls.pwritev03 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwritev03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwritev03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwritev03_64.sh b/testcase/syscalls/ltp.syscalls.pwritev03_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..3d3b6200fa109c3c249cf2042e713220a820eec7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwritev03_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-600222268 +# @用例名称: ltp.syscalls.pwritev03_64 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwritev03_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwritev03_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwritev201.sh b/testcase/syscalls/ltp.syscalls.pwritev201.sh new file mode 100755 index 0000000000000000000000000000000000000000..1dad3903587be08710853439402428f3f7fead53 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwritev201.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-610854175 +# @用例名称: ltp.syscalls.pwritev201 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwritev201 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwritev201 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwritev201_64.sh b/testcase/syscalls/ltp.syscalls.pwritev201_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..13d5d52667d873076f7131250bd39dae27d06430 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwritev201_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-619504505 +# @用例名称: ltp.syscalls.pwritev201_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwritev201_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwritev201_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwritev202.sh b/testcase/syscalls/ltp.syscalls.pwritev202.sh new file mode 100755 index 0000000000000000000000000000000000000000..167b71508f6a8c2f76a6194f3c1bae97c1bf26bb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwritev202.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-628035401 +# @用例名称: ltp.syscalls.pwritev202 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwritev202 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwritev202 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.pwritev202_64.sh b/testcase/syscalls/ltp.syscalls.pwritev202_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..aadac8caeff139d972bdd9b530ece395d6ab2294 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.pwritev202_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-636887066 +# @用例名称: ltp.syscalls.pwritev202_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.pwritev202_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls pwritev202_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.quotactl01.sh b/testcase/syscalls/ltp.syscalls.quotactl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9a2e4db84517cf2f283c2dfffd44cc139465ac15 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.quotactl01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-655383613 +# @用例名称: ltp.syscalls.quotactl01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.quotactl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls quotactl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.quotactl02.sh b/testcase/syscalls/ltp.syscalls.quotactl02.sh new file mode 100755 index 0000000000000000000000000000000000000000..fe8e37a4ccdc593c1e5a8e0e42a82f199cc19c0e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.quotactl02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-664013193 +# @用例名称: ltp.syscalls.quotactl02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.quotactl02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls quotactl02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.quotactl03.sh b/testcase/syscalls/ltp.syscalls.quotactl03.sh new file mode 100755 index 0000000000000000000000000000000000000000..4a2501bc3c51469b525f5390a0a944ad5221b137 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.quotactl03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-673629430 +# @用例名称: ltp.syscalls.quotactl03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.quotactl03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls quotactl03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.quotactl04.sh b/testcase/syscalls/ltp.syscalls.quotactl04.sh new file mode 100755 index 0000000000000000000000000000000000000000..991f7e1ab60a927fb6ec4f9759554b898ff26f7f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.quotactl04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-682137042 +# @用例名称: ltp.syscalls.quotactl04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.quotactl04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls quotactl04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.quotactl05.sh b/testcase/syscalls/ltp.syscalls.quotactl05.sh new file mode 100755 index 0000000000000000000000000000000000000000..2679ae2ddf17bb66fecb084882156cef8f3e168f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.quotactl05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-690724654 +# @用例名称: ltp.syscalls.quotactl05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.quotactl05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls quotactl05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.quotactl06.sh b/testcase/syscalls/ltp.syscalls.quotactl06.sh new file mode 100755 index 0000000000000000000000000000000000000000..edc0f80cde41f1cc0fdc0a29aed93ee9a1965052 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.quotactl06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-699366226 +# @用例名称: ltp.syscalls.quotactl06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.quotactl06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls quotactl06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.quotactl07.sh b/testcase/syscalls/ltp.syscalls.quotactl07.sh new file mode 100755 index 0000000000000000000000000000000000000000..c5e1a2b57e263a8d66f69c94d55140a5d6fc8e20 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.quotactl07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-708022196 +# @用例名称: ltp.syscalls.quotactl07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.quotactl07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls quotactl07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.quotactl08.sh b/testcase/syscalls/ltp.syscalls.quotactl08.sh new file mode 100755 index 0000000000000000000000000000000000000000..e96651fe63093ecad51682209364e673dd698fb3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.quotactl08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-716638071 +# @用例名称: ltp.syscalls.quotactl08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.quotactl08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls quotactl08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.quotactl09.sh b/testcase/syscalls/ltp.syscalls.quotactl09.sh new file mode 100755 index 0000000000000000000000000000000000000000..9c83a4087de76f7f65141d5256947ed00d650554 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.quotactl09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-725170249 +# @用例名称: ltp.syscalls.quotactl09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.quotactl09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls quotactl09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.read01.sh b/testcase/syscalls/ltp.syscalls.read01.sh new file mode 100755 index 0000000000000000000000000000000000000000..3d3754bd75af9c91617ffaddb8bb4ac8d9125c2f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.read01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-735768434 +# @用例名称: ltp.syscalls.read01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.read01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls read01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.read02.sh b/testcase/syscalls/ltp.syscalls.read02.sh new file mode 100755 index 0000000000000000000000000000000000000000..3e018cde8c1fd3fc4ca56704548f07000646aa3a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.read02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-744266668 +# @用例名称: ltp.syscalls.read02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.read02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls read02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.read03.sh b/testcase/syscalls/ltp.syscalls.read03.sh new file mode 100755 index 0000000000000000000000000000000000000000..af8b2de6c23ea0406b1cbc612b38f1fca5b4c5f8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.read03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-752853649 +# @用例名称: ltp.syscalls.read03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.read03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls read03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.read04.sh b/testcase/syscalls/ltp.syscalls.read04.sh new file mode 100755 index 0000000000000000000000000000000000000000..8fe5c076b5b5090073e875c5821e8e9bd53fab87 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.read04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-761617471 +# @用例名称: ltp.syscalls.read04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.read04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls read04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.readahead01.sh b/testcase/syscalls/ltp.syscalls.readahead01.sh new file mode 100755 index 0000000000000000000000000000000000000000..16b26aa9aed08d0d413df54b8a51e6c053eb747a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.readahead01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-772977149 +# @用例名称: ltp.syscalls.readahead01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.readahead01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls readahead01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.readahead02.sh b/testcase/syscalls/ltp.syscalls.readahead02.sh new file mode 100755 index 0000000000000000000000000000000000000000..05e6f0e1ae07029c0dc4d6c28e94ef709b4a0c48 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.readahead02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-782294116 +# @用例名称: ltp.syscalls.readahead02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.readahead02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls readahead02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.readdir01.sh b/testcase/syscalls/ltp.syscalls.readdir01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7c8f5c51469adbcb2c1eeddade336893d311b88c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.readdir01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-793974096 +# @用例名称: ltp.syscalls.readdir01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.readdir01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls readdir01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.readdir21.sh b/testcase/syscalls/ltp.syscalls.readdir21.sh new file mode 100755 index 0000000000000000000000000000000000000000..dcfab50fbd023020e378857f3f562882d1206029 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.readdir21.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-803548445 +# @用例名称: ltp.syscalls.readdir21 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.readdir21 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls readdir21 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.readlink01.sh b/testcase/syscalls/ltp.syscalls.readlink01.sh new file mode 100755 index 0000000000000000000000000000000000000000..75c19542cf94ff98409ce3d68ff8bae41ff057c1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.readlink01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-824646149 +# @用例名称: ltp.syscalls.readlink01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.readlink01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls readlink01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.readlink03.sh b/testcase/syscalls/ltp.syscalls.readlink03.sh new file mode 100755 index 0000000000000000000000000000000000000000..32bfe5165bb9baa832ccab2b35045df5991d77e0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.readlink03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-834205981 +# @用例名称: ltp.syscalls.readlink03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.readlink03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls readlink03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.readlinkat01.sh b/testcase/syscalls/ltp.syscalls.readlinkat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..46e0dc92b7ff6f99a0bc99e49ffddc5e36dda8ad --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.readlinkat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-847731603 +# @用例名称: ltp.syscalls.readlinkat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.readlinkat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls readlinkat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.readlinkat02.sh b/testcase/syscalls/ltp.syscalls.readlinkat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..e59243f6c7b02c2bd466b3990ee06a59e2c2b560 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.readlinkat02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-856484344 +# @用例名称: ltp.syscalls.readlinkat02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.readlinkat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls readlinkat02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.readv01.sh b/testcase/syscalls/ltp.syscalls.readv01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a4dfa0d0f8a5715dd83f7ba1a41fd0cc5ffe29e0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.readv01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-867203946 +# @用例名称: ltp.syscalls.readv01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.readv01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls readv01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.readv02.sh b/testcase/syscalls/ltp.syscalls.readv02.sh new file mode 100755 index 0000000000000000000000000000000000000000..e9193a6191122dfb9bf25d4292b849fbeb64d031 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.readv02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-877144961 +# @用例名称: ltp.syscalls.readv02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.readv02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls readv02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.realpath01.sh b/testcase/syscalls/ltp.syscalls.realpath01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8e980105c9084296842a156639e1fcffc75b5a24 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.realpath01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-888039970 +# @用例名称: ltp.syscalls.realpath01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.realpath01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls realpath01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.reboot01.sh b/testcase/syscalls/ltp.syscalls.reboot01.sh new file mode 100755 index 0000000000000000000000000000000000000000..57cf9c18ffaa446835dde1d05e4f5b10549039ca --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.reboot01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-898788507 +# @用例名称: ltp.syscalls.reboot01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.reboot01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls reboot01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.reboot02.sh b/testcase/syscalls/ltp.syscalls.reboot02.sh new file mode 100755 index 0000000000000000000000000000000000000000..9a09770cb398a0ac009a0fc16737cada6424ef31 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.reboot02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-907400394 +# @用例名称: ltp.syscalls.reboot02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.reboot02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls reboot02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.recv01.sh b/testcase/syscalls/ltp.syscalls.recv01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8abc4d894704144079108e5f85248f1155f95ac1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.recv01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-918651060 +# @用例名称: ltp.syscalls.recv01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.recv01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls recv01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.recvfrom01.sh b/testcase/syscalls/ltp.syscalls.recvfrom01.sh new file mode 100755 index 0000000000000000000000000000000000000000..926c6c1c155025caf67f9da475d240eb7d0e0b04 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.recvfrom01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-929402371 +# @用例名称: ltp.syscalls.recvfrom01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.recvfrom01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls recvfrom01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.recvmmsg01.sh b/testcase/syscalls/ltp.syscalls.recvmmsg01.sh new file mode 100755 index 0000000000000000000000000000000000000000..058a896fd567a42d7eaffdae01380de55f903426 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.recvmmsg01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-967808408 +# @用例名称: ltp.syscalls.recvmmsg01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.recvmmsg01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls recvmmsg01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.recvmsg01.sh b/testcase/syscalls/ltp.syscalls.recvmsg01.sh new file mode 100755 index 0000000000000000000000000000000000000000..5f5f9b295e629658f895aee9e05559756bf67e63 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.recvmsg01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-939931697 +# @用例名称: ltp.syscalls.recvmsg01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.recvmsg01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls recvmsg01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.recvmsg02.sh b/testcase/syscalls/ltp.syscalls.recvmsg02.sh new file mode 100755 index 0000000000000000000000000000000000000000..cb91a88176466d117bc3385f5bc36a1fb4545e10 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.recvmsg02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-948467431 +# @用例名称: ltp.syscalls.recvmsg02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.recvmsg02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls recvmsg02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.recvmsg03.sh b/testcase/syscalls/ltp.syscalls.recvmsg03.sh new file mode 100755 index 0000000000000000000000000000000000000000..2eb9de0fd2d80787fcc2f2534efdb78b6d5e9171 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.recvmsg03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-957220363 +# @用例名称: ltp.syscalls.recvmsg03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.recvmsg03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls recvmsg03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.remap_file_pages01.sh b/testcase/syscalls/ltp.syscalls.remap_file_pages01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4c5a72850397a9e5ce1bbf1e8e2b86f02174a0de --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.remap_file_pages01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-978431679 +# @用例名称: ltp.syscalls.remap_file_pages01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.remap_file_pages01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls remap_file_pages01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.remap_file_pages02.sh b/testcase/syscalls/ltp.syscalls.remap_file_pages02.sh new file mode 100755 index 0000000000000000000000000000000000000000..e293d4658e62b4486ac0c501979d44a1310d8f4a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.remap_file_pages02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-986933871 +# @用例名称: ltp.syscalls.remap_file_pages02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.remap_file_pages02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls remap_file_pages02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.removexattr01.sh b/testcase/syscalls/ltp.syscalls.removexattr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4ab56732720c3fb39962e56a9bbe0dbec95d1065 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.removexattr01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213019-997474418 +# @用例名称: ltp.syscalls.removexattr01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.removexattr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls removexattr01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.removexattr02.sh b/testcase/syscalls/ltp.syscalls.removexattr02.sh new file mode 100755 index 0000000000000000000000000000000000000000..3a0fe34c27e267914c950cf24030da58f58f4cc5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.removexattr02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-006002899 +# @用例名称: ltp.syscalls.removexattr02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.removexattr02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls removexattr02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rename01.sh b/testcase/syscalls/ltp.syscalls.rename01.sh new file mode 100755 index 0000000000000000000000000000000000000000..825ea10579a560f8a54b28395eeae75a9c976d9d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rename01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-016571278 +# @用例名称: ltp.syscalls.rename01 +# @用例级别: 0 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rename01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rename01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rename03.sh b/testcase/syscalls/ltp.syscalls.rename03.sh new file mode 100755 index 0000000000000000000000000000000000000000..f395d18ead2fc4f58057ade2e50f9c151af248f3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rename03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-045199636 +# @用例名称: ltp.syscalls.rename03 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rename03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rename03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rename04.sh b/testcase/syscalls/ltp.syscalls.rename04.sh new file mode 100755 index 0000000000000000000000000000000000000000..baf1240c628a9e5b05c7198fada8f9678f73dd29 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rename04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-053785265 +# @用例名称: ltp.syscalls.rename04 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rename04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rename04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rename05.sh b/testcase/syscalls/ltp.syscalls.rename05.sh new file mode 100755 index 0000000000000000000000000000000000000000..0fb68b56c410ac42eba5ea8b1b583c2e6466243e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rename05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-062491248 +# @用例名称: ltp.syscalls.rename05 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rename05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rename05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rename06.sh b/testcase/syscalls/ltp.syscalls.rename06.sh new file mode 100755 index 0000000000000000000000000000000000000000..16a9797274ed795dd9319c7b3fb6b4149a6eb618 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rename06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-072799840 +# @用例名称: ltp.syscalls.rename06 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rename06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rename06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rename07.sh b/testcase/syscalls/ltp.syscalls.rename07.sh new file mode 100755 index 0000000000000000000000000000000000000000..15020ed903bb8944d74c74d1ad8793105290d777 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rename07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-082167111 +# @用例名称: ltp.syscalls.rename07 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rename07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rename07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rename08.sh b/testcase/syscalls/ltp.syscalls.rename08.sh new file mode 100755 index 0000000000000000000000000000000000000000..12c9c32aa12eb5a67718b6fd8150781aab08fe45 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rename08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-091149020 +# @用例名称: ltp.syscalls.rename08 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rename08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rename08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rename09.sh b/testcase/syscalls/ltp.syscalls.rename09.sh new file mode 100755 index 0000000000000000000000000000000000000000..a12f2bcc5a75cfc42372dafcf923b2406b59a6ae --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rename09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-099644660 +# @用例名称: ltp.syscalls.rename09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rename09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rename09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rename10.sh b/testcase/syscalls/ltp.syscalls.rename10.sh new file mode 100755 index 0000000000000000000000000000000000000000..c5563da75ea688f3c1922226e0b043b715706824 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rename10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-108272157 +# @用例名称: ltp.syscalls.rename10 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rename10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rename10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rename11.sh b/testcase/syscalls/ltp.syscalls.rename11.sh new file mode 100755 index 0000000000000000000000000000000000000000..6bf96443d6f0f36fe588589ef5e798793bc698da --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rename11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-116853337 +# @用例名称: ltp.syscalls.rename11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rename11 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rename11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rename12.sh b/testcase/syscalls/ltp.syscalls.rename12.sh new file mode 100755 index 0000000000000000000000000000000000000000..4e32d7b36b659ae3c00ffbafc7fbc0117e5a0fd7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rename12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-125385164 +# @用例名称: ltp.syscalls.rename12 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rename12 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rename12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rename13.sh b/testcase/syscalls/ltp.syscalls.rename13.sh new file mode 100755 index 0000000000000000000000000000000000000000..70d0c71da9f477c9c778d0e986e6368520807189 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rename13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-133845979 +# @用例名称: ltp.syscalls.rename13 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rename13 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rename13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rename14.sh b/testcase/syscalls/ltp.syscalls.rename14.sh new file mode 100755 index 0000000000000000000000000000000000000000..c941cb7a17e1d1869bf842d3ad1fc164bb4c3491 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rename14.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-142587779 +# @用例名称: ltp.syscalls.rename14 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rename14 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rename14 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rename15.sh b/testcase/syscalls/ltp.syscalls.rename15.sh new file mode 100755 index 0000000000000000000000000000000000000000..374a39c4d7c1631b6483cbc5957faebae66f2b13 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rename15.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110842-330189284 +# @用例名称: ltp.syscalls.rename15 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rename15 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rename15 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.renameat01.sh b/testcase/syscalls/ltp.syscalls.renameat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..58bf786083f46770a3d906fcce10eda49097e4a0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.renameat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-154100776 +# @用例名称: ltp.syscalls.renameat01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.renameat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls renameat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.renameat201.sh b/testcase/syscalls/ltp.syscalls.renameat201.sh new file mode 100755 index 0000000000000000000000000000000000000000..cc07ed2da75c3eb9d2507f7de3ad8599b76745f0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.renameat201.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-164829564 +# @用例名称: ltp.syscalls.renameat201 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.renameat201 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls renameat201 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.renameat202.sh b/testcase/syscalls/ltp.syscalls.renameat202.sh new file mode 100755 index 0000000000000000000000000000000000000000..e68e3596a81dc1223a35eb6dee513d2fbc23b8d2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.renameat202.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-173582055 +# @用例名称: ltp.syscalls.renameat202 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.renameat202 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls renameat202 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.request_key01.sh b/testcase/syscalls/ltp.syscalls.request_key01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0b9eadd78758d078827c7d2cc3a260b2b79e4ee2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.request_key01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-184231505 +# @用例名称: ltp.syscalls.request_key01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.request_key01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls request_key01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.request_key02.sh b/testcase/syscalls/ltp.syscalls.request_key02.sh new file mode 100755 index 0000000000000000000000000000000000000000..5eb5d0aa59dc033f3f2ed3e0236fc12d07cfd2c4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.request_key02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-192791154 +# @用例名称: ltp.syscalls.request_key02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.request_key02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls request_key02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.request_key03.sh b/testcase/syscalls/ltp.syscalls.request_key03.sh new file mode 100755 index 0000000000000000000000000000000000000000..a79bf9b90c21acc8bc84de6d5d16a2400696e411 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.request_key03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-201485757 +# @用例名称: ltp.syscalls.request_key03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.request_key03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls request_key03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.request_key04.sh b/testcase/syscalls/ltp.syscalls.request_key04.sh new file mode 100755 index 0000000000000000000000000000000000000000..92a8e5a394579ff47ff9864524b6281ec4982781 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.request_key04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-210182072 +# @用例名称: ltp.syscalls.request_key04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.request_key04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls request_key04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.request_key05.sh b/testcase/syscalls/ltp.syscalls.request_key05.sh new file mode 100755 index 0000000000000000000000000000000000000000..b516355f59a6191e19f3c055b2f37e6e8c68b717 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.request_key05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-218868549 +# @用例名称: ltp.syscalls.request_key05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.request_key05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls request_key05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.request_key06.sh b/testcase/syscalls/ltp.syscalls.request_key06.sh new file mode 100755 index 0000000000000000000000000000000000000000..c4cbe8043822df1286aaa4068981f785d431c1bc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.request_key06.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110842-412038597 +# @用例名称: ltp.syscalls.request_key06 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.request_key06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls request_key06 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rmdir01.sh b/testcase/syscalls/ltp.syscalls.rmdir01.sh new file mode 100755 index 0000000000000000000000000000000000000000..11925d8043186a6616364bfeaa90ab3e2ecbed8c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rmdir01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-229469218 +# @用例名称: ltp.syscalls.rmdir01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rmdir01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rmdir01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rmdir02.sh b/testcase/syscalls/ltp.syscalls.rmdir02.sh new file mode 100755 index 0000000000000000000000000000000000000000..6b687577a7e800b69475eef2d0eec15ab9be8e99 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rmdir02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-237981759 +# @用例名称: ltp.syscalls.rmdir02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rmdir02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rmdir02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rmdir03.sh b/testcase/syscalls/ltp.syscalls.rmdir03.sh new file mode 100755 index 0000000000000000000000000000000000000000..05e8bf3f709c4dba0b0f43ef30c944f5d54ca900 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rmdir03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-246556207 +# @用例名称: ltp.syscalls.rmdir03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rmdir03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rmdir03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rt_sigaction01.sh b/testcase/syscalls/ltp.syscalls.rt_sigaction01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0fa34c28d151a525fc6a5d2f69472db1912fa381 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rt_sigaction01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-265722085 +# @用例名称: ltp.syscalls.rt_sigaction01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rt_sigaction01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rt_sigaction01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rt_sigaction02.sh b/testcase/syscalls/ltp.syscalls.rt_sigaction02.sh new file mode 100755 index 0000000000000000000000000000000000000000..7a287329c26ff50dd9fad89a265985c9dc534b57 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rt_sigaction02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-274264663 +# @用例名称: ltp.syscalls.rt_sigaction02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rt_sigaction02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rt_sigaction02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rt_sigaction03.sh b/testcase/syscalls/ltp.syscalls.rt_sigaction03.sh new file mode 100755 index 0000000000000000000000000000000000000000..246e57b30f2823247c85ba8b820753dfa7e3e7c1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rt_sigaction03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-282796531 +# @用例名称: ltp.syscalls.rt_sigaction03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rt_sigaction03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rt_sigaction03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rt_sigprocmask01.sh b/testcase/syscalls/ltp.syscalls.rt_sigprocmask01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e471d990de71db95b86a4f2451124e39010eff73 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rt_sigprocmask01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-291407015 +# @用例名称: ltp.syscalls.rt_sigprocmask01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rt_sigprocmask01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rt_sigprocmask01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rt_sigprocmask02.sh b/testcase/syscalls/ltp.syscalls.rt_sigprocmask02.sh new file mode 100755 index 0000000000000000000000000000000000000000..d2899e8a0fa677a1d1973a16277d12caa09477fc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rt_sigprocmask02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-299843414 +# @用例名称: ltp.syscalls.rt_sigprocmask02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rt_sigprocmask02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rt_sigprocmask02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rt_sigqueueinfo01.sh b/testcase/syscalls/ltp.syscalls.rt_sigqueueinfo01.sh new file mode 100755 index 0000000000000000000000000000000000000000..95d29247a4ec2cea7a95210814d2afff8abac063 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rt_sigqueueinfo01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-308320158 +# @用例名称: ltp.syscalls.rt_sigqueueinfo01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rt_sigqueueinfo01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rt_sigqueueinfo01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rt_sigqueueinfo02.sh b/testcase/syscalls/ltp.syscalls.rt_sigqueueinfo02.sh new file mode 100755 index 0000000000000000000000000000000000000000..6fb41f348289481e61288008cd951fabcb8f54b3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rt_sigqueueinfo02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110842-493859851 +# @用例名称: ltp.syscalls.rt_sigqueueinfo02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rt_sigqueueinfo02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rt_sigqueueinfo02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rt_sigsuspend01.sh b/testcase/syscalls/ltp.syscalls.rt_sigsuspend01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d7b8bd1471b7717c067d3ea550042e2015d8a89e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rt_sigsuspend01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-316835415 +# @用例名称: ltp.syscalls.rt_sigsuspend01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rt_sigsuspend01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rt_sigsuspend01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rt_sigtimedwait01.sh b/testcase/syscalls/ltp.syscalls.rt_sigtimedwait01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a43a01ec686ef50b799f357ea716e81b21610de1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rt_sigtimedwait01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-325224925 +# @用例名称: ltp.syscalls.rt_sigtimedwait01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rt_sigtimedwait01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rt_sigtimedwait01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.rt_tgsigqueueinfo01.sh b/testcase/syscalls/ltp.syscalls.rt_tgsigqueueinfo01.sh new file mode 100755 index 0000000000000000000000000000000000000000..30e25fc37c216f8867dbb3d74102fa0b9fec6d47 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.rt_tgsigqueueinfo01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-333778454 +# @用例名称: ltp.syscalls.rt_tgsigqueueinfo01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.rt_tgsigqueueinfo01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls rt_tgsigqueueinfo01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sbrk01.sh b/testcase/syscalls/ltp.syscalls.sbrk01.sh new file mode 100755 index 0000000000000000000000000000000000000000..b793bd410fe6f2ff77d0f142b08b1154783a6121 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sbrk01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-344763001 +# @用例名称: ltp.syscalls.sbrk01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sbrk01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sbrk01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sbrk02.sh b/testcase/syscalls/ltp.syscalls.sbrk02.sh new file mode 100755 index 0000000000000000000000000000000000000000..4319b1e748aff967a70559af89a53369e6361b80 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sbrk02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-353388153 +# @用例名称: ltp.syscalls.sbrk02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sbrk02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sbrk02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sbrk03.sh b/testcase/syscalls/ltp.syscalls.sbrk03.sh new file mode 100755 index 0000000000000000000000000000000000000000..11799a3175881f107f68b96300149643c903c771 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sbrk03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-362386494 +# @用例名称: ltp.syscalls.sbrk03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sbrk03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sbrk03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_get_priority_max01.sh b/testcase/syscalls/ltp.syscalls.sched_get_priority_max01.sh new file mode 100755 index 0000000000000000000000000000000000000000..11696fd20c130f532ad353c22f8fbc7cfe76ad65 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_get_priority_max01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-373298716 +# @用例名称: ltp.syscalls.sched_get_priority_max01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_get_priority_max01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_get_priority_max01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_get_priority_max02.sh b/testcase/syscalls/ltp.syscalls.sched_get_priority_max02.sh new file mode 100755 index 0000000000000000000000000000000000000000..859d5afbb9f364585a1dc81d52e7b775402ed971 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_get_priority_max02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-382029104 +# @用例名称: ltp.syscalls.sched_get_priority_max02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_get_priority_max02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_get_priority_max02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_get_priority_min01.sh b/testcase/syscalls/ltp.syscalls.sched_get_priority_min01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a45b66e86be49e962821329d361e297318f029b2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_get_priority_min01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-392643920 +# @用例名称: ltp.syscalls.sched_get_priority_min01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_get_priority_min01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_get_priority_min01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_get_priority_min02.sh b/testcase/syscalls/ltp.syscalls.sched_get_priority_min02.sh new file mode 100755 index 0000000000000000000000000000000000000000..45a6b54bde87f0d473d8e031bb9cad353529eec8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_get_priority_min02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-401201566 +# @用例名称: ltp.syscalls.sched_get_priority_min02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_get_priority_min02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_get_priority_min02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_getaffinity01.sh b/testcase/syscalls/ltp.syscalls.sched_getaffinity01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d697784edb757e64ed54664385de70b34d8f11c3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_getaffinity01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-572154165 +# @用例名称: ltp.syscalls.sched_getaffinity01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_getaffinity01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_getaffinity01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_getattr01.sh b/testcase/syscalls/ltp.syscalls.sched_getattr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..766b2b73b31d4d2b553e6cf22ebddd221ca02819 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_getattr01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-591572727 +# @用例名称: ltp.syscalls.sched_getattr01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_getattr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_getattr01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_getattr02.sh b/testcase/syscalls/ltp.syscalls.sched_getattr02.sh new file mode 100755 index 0000000000000000000000000000000000000000..8c40c4316f202f9a5d89d5f7a93165c7067fe648 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_getattr02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-600218268 +# @用例名称: ltp.syscalls.sched_getattr02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_getattr02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_getattr02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_getparam01.sh b/testcase/syscalls/ltp.syscalls.sched_getparam01.sh new file mode 100755 index 0000000000000000000000000000000000000000..eb0f301e17bfb4c6708aaf29b3755fcf9bd2845b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_getparam01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-411835729 +# @用例名称: ltp.syscalls.sched_getparam01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_getparam01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_getparam01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_getparam03.sh b/testcase/syscalls/ltp.syscalls.sched_getparam03.sh new file mode 100755 index 0000000000000000000000000000000000000000..ec4b5ecc8d660416794dcd120a22604893c9b51f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_getparam03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-420534839 +# @用例名称: ltp.syscalls.sched_getparam03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_getparam03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_getparam03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_getscheduler01.sh b/testcase/syscalls/ltp.syscalls.sched_getscheduler01.sh new file mode 100755 index 0000000000000000000000000000000000000000..687bc512a8e25fc4762764e8a3697bb49cffcb81 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_getscheduler01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-505602142 +# @用例名称: ltp.syscalls.sched_getscheduler01 +# @用例级别: 1 +# @用例标签: TK5不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_getscheduler01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_getscheduler01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_getscheduler02.sh b/testcase/syscalls/ltp.syscalls.sched_getscheduler02.sh new file mode 100755 index 0000000000000000000000000000000000000000..5ac14181a93150c0d477f17d1f47e31dc05f25b0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_getscheduler02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-514516807 +# @用例名称: ltp.syscalls.sched_getscheduler02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_getscheduler02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_getscheduler02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_rr_get_interval01.sh b/testcase/syscalls/ltp.syscalls.sched_rr_get_interval01.sh new file mode 100755 index 0000000000000000000000000000000000000000..fa706fc8ddf660ba902212e564c0abcc421bea11 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_rr_get_interval01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-431154554 +# @用例名称: ltp.syscalls.sched_rr_get_interval01 +# @用例级别: 1 +# @用例标签: TK5不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_rr_get_interval01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_rr_get_interval01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_rr_get_interval02.sh b/testcase/syscalls/ltp.syscalls.sched_rr_get_interval02.sh new file mode 100755 index 0000000000000000000000000000000000000000..2fb281ec0a60a8706fa22afb9152ba81b8f418e3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_rr_get_interval02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-439744329 +# @用例名称: ltp.syscalls.sched_rr_get_interval02 +# @用例级别: 1 +# @用例标签: TK5不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_rr_get_interval02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_rr_get_interval02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_rr_get_interval03.sh b/testcase/syscalls/ltp.syscalls.sched_rr_get_interval03.sh new file mode 100755 index 0000000000000000000000000000000000000000..568e618303d3d5365d43530ad82c467be2ffc365 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_rr_get_interval03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-448295593 +# @用例名称: ltp.syscalls.sched_rr_get_interval03 +# @用例级别: 1 +# @用例标签: TK5不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_rr_get_interval03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_rr_get_interval03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_setaffinity01.sh b/testcase/syscalls/ltp.syscalls.sched_setaffinity01.sh new file mode 100755 index 0000000000000000000000000000000000000000..b8a579f8e80d1917dd32d90523fd7b3fc66b8d7e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_setaffinity01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-563375155 +# @用例名称: ltp.syscalls.sched_setaffinity01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_setaffinity01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_setaffinity01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_setattr01.sh b/testcase/syscalls/ltp.syscalls.sched_setattr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..766769ebf0485af3b147b4f80f8674eb3b9aa4e6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_setattr01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-582961201 +# @用例名称: ltp.syscalls.sched_setattr01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_setattr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_setattr01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_setparam01.sh b/testcase/syscalls/ltp.syscalls.sched_setparam01.sh new file mode 100755 index 0000000000000000000000000000000000000000..86a7d02981c212126658b5829ccf04611ff8a076 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_setparam01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-459367134 +# @用例名称: ltp.syscalls.sched_setparam01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_setparam01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_setparam01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_setparam02.sh b/testcase/syscalls/ltp.syscalls.sched_setparam02.sh new file mode 100755 index 0000000000000000000000000000000000000000..3da2d75d9d642512c02e9d246aac7ce7e3cdb3d5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_setparam02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-467948364 +# @用例名称: ltp.syscalls.sched_setparam02 +# @用例级别: 1 +# @用例标签: TK5不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_setparam02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_setparam02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_setparam03.sh b/testcase/syscalls/ltp.syscalls.sched_setparam03.sh new file mode 100755 index 0000000000000000000000000000000000000000..9318b18b18db175f6e978a02bc0ff8afc29307a0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_setparam03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-477934763 +# @用例名称: ltp.syscalls.sched_setparam03 +# @用例级别: 1 +# @用例标签: TK5不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_setparam03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_setparam03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_setparam04.sh b/testcase/syscalls/ltp.syscalls.sched_setparam04.sh new file mode 100755 index 0000000000000000000000000000000000000000..6075f403e620a6cc960aac9c81bb67f2fd9760bd --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_setparam04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-486528015 +# @用例名称: ltp.syscalls.sched_setparam04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_setparam04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_setparam04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_setparam05.sh b/testcase/syscalls/ltp.syscalls.sched_setparam05.sh new file mode 100755 index 0000000000000000000000000000000000000000..e3672b64b378f7ae233e5db2a5ddefb884078366 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_setparam05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-495162906 +# @用例名称: ltp.syscalls.sched_setparam05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_setparam05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_setparam05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_setscheduler01.sh b/testcase/syscalls/ltp.syscalls.sched_setscheduler01.sh new file mode 100755 index 0000000000000000000000000000000000000000..206fcc4da1770c25b2bd2c48e1fb1888396fdfb0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_setscheduler01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-525007570 +# @用例名称: ltp.syscalls.sched_setscheduler01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_setscheduler01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_setscheduler01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_setscheduler02.sh b/testcase/syscalls/ltp.syscalls.sched_setscheduler02.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d1d77ee69726cd4ec81d284fe4be4687c164824 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_setscheduler02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-533684529 +# @用例名称: ltp.syscalls.sched_setscheduler02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_setscheduler02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_setscheduler02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_setscheduler03.sh b/testcase/syscalls/ltp.syscalls.sched_setscheduler03.sh new file mode 100755 index 0000000000000000000000000000000000000000..c627648deeb981d98459ccec39e9bf9049f234ba --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_setscheduler03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-542212699 +# @用例名称: ltp.syscalls.sched_setscheduler03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_setscheduler03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_setscheduler03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_setscheduler04.sh b/testcase/syscalls/ltp.syscalls.sched_setscheduler04.sh new file mode 100755 index 0000000000000000000000000000000000000000..b180d9094d063c1d3890712f342bbab1abc9d157 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_setscheduler04.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172839-906510502 +# @用例名称: ltp.syscalls.sched_setscheduler04 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_setscheduler04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_setscheduler04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sched_yield01.sh b/testcase/syscalls/ltp.syscalls.sched_yield01.sh new file mode 100755 index 0000000000000000000000000000000000000000..876f48571e7ccf3809d1695b9dab0f0837428cc6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sched_yield01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-552797038 +# @用例名称: ltp.syscalls.sched_yield01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sched_yield01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sched_yield01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.seccomp01.sh b/testcase/syscalls/ltp.syscalls.seccomp01.sh new file mode 100755 index 0000000000000000000000000000000000000000..2fda543c5e58bc1b2a5de96f939bb5ed90f3816a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.seccomp01.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110842-578230239 +# @用例名称: ltp.syscalls.seccomp01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.seccomp01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls seccomp01 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.select01.sh b/testcase/syscalls/ltp.syscalls.select01.sh new file mode 100755 index 0000000000000000000000000000000000000000..b55720ec9e74aa6731a94d4484deffcd1eb1e9ab --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.select01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-611010886 +# @用例名称: ltp.syscalls.select01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.select01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls select01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.select02.sh b/testcase/syscalls/ltp.syscalls.select02.sh new file mode 100755 index 0000000000000000000000000000000000000000..054eafaa5ac712f5e879095906f0ccf41eff340b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.select02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-619607684 +# @用例名称: ltp.syscalls.select02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.select02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls select02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.select03.sh b/testcase/syscalls/ltp.syscalls.select03.sh new file mode 100755 index 0000000000000000000000000000000000000000..901b55bdb756c58d117c94b1c857ebbfbe3ad8a8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.select03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-628129914 +# @用例名称: ltp.syscalls.select03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.select03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls select03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.select04.sh b/testcase/syscalls/ltp.syscalls.select04.sh new file mode 100755 index 0000000000000000000000000000000000000000..ed515e0ece45d15df3de733153dc66f30a322321 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.select04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-636696887 +# @用例名称: ltp.syscalls.select04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.select04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls select04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.semctl01.sh b/testcase/syscalls/ltp.syscalls.semctl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0a470ff6f75691b8e0b5e0851da93741fb58873a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.semctl01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-647143428 +# @用例名称: ltp.syscalls.semctl01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.semctl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls semctl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.semctl02.sh b/testcase/syscalls/ltp.syscalls.semctl02.sh new file mode 100755 index 0000000000000000000000000000000000000000..a3ed3f9d58ddb8a77f87f8a715dc4e4cec3a3baf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.semctl02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-655672570 +# @用例名称: ltp.syscalls.semctl02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.semctl02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls semctl02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.semctl03.sh b/testcase/syscalls/ltp.syscalls.semctl03.sh new file mode 100755 index 0000000000000000000000000000000000000000..6d1b9ebf9a920882ca9f9de1c66fbf7aa8abea31 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.semctl03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-664488710 +# @用例名称: ltp.syscalls.semctl03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.semctl03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls semctl03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.semctl04.sh b/testcase/syscalls/ltp.syscalls.semctl04.sh new file mode 100755 index 0000000000000000000000000000000000000000..8dec1432c9de76a04275dcdae34a16c8b76ccc7a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.semctl04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-673051736 +# @用例名称: ltp.syscalls.semctl04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.semctl04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls semctl04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.semctl05.sh b/testcase/syscalls/ltp.syscalls.semctl05.sh new file mode 100755 index 0000000000000000000000000000000000000000..447e8caef75175420f400248cfaf95a34eea507b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.semctl05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-681574657 +# @用例名称: ltp.syscalls.semctl05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.semctl05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls semctl05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.semctl06.sh b/testcase/syscalls/ltp.syscalls.semctl06.sh new file mode 100755 index 0000000000000000000000000000000000000000..0d09ce76e812459b25701da85d033bff424ee9fa --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.semctl06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-690124968 +# @用例名称: ltp.syscalls.semctl06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.semctl06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls semctl06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.semctl07.sh b/testcase/syscalls/ltp.syscalls.semctl07.sh new file mode 100755 index 0000000000000000000000000000000000000000..f823e82581008062cf088cccf0f530d773b24d7b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.semctl07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-698607383 +# @用例名称: ltp.syscalls.semctl07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.semctl07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls semctl07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.semctl08.sh b/testcase/syscalls/ltp.syscalls.semctl08.sh new file mode 100755 index 0000000000000000000000000000000000000000..12899bf7e7d7c59fd22a038d4aaf3deed7bbb7f3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.semctl08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-707135463 +# @用例名称: ltp.syscalls.semctl08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.semctl08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls semctl08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.semctl09.sh b/testcase/syscalls/ltp.syscalls.semctl09.sh new file mode 100755 index 0000000000000000000000000000000000000000..42704dc40b86647f44dc0b7c6a12503e6c41dbf3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.semctl09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-715637575 +# @用例名称: ltp.syscalls.semctl09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.semctl09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls semctl09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.semget01.sh b/testcase/syscalls/ltp.syscalls.semget01.sh new file mode 100755 index 0000000000000000000000000000000000000000..89c8c43a4836761b5eabdba2cbd70751709c638a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.semget01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-726117790 +# @用例名称: ltp.syscalls.semget01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.semget01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls semget01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.semget02.sh b/testcase/syscalls/ltp.syscalls.semget02.sh new file mode 100755 index 0000000000000000000000000000000000000000..a88c83574dbd4d335df3bca3f803394f31397b11 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.semget02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-735337194 +# @用例名称: ltp.syscalls.semget02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.semget02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls semget02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.semget05.sh b/testcase/syscalls/ltp.syscalls.semget05.sh new file mode 100755 index 0000000000000000000000000000000000000000..bdcd81b9334323e86a2615af8422cbbda0c62895 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.semget05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-752587518 +# @用例名称: ltp.syscalls.semget05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.semget05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls semget05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.semop01.sh b/testcase/syscalls/ltp.syscalls.semop01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d0b1f55cfe71e62aeee157b57de2de7d0efb37ef --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.semop01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-771881777 +# @用例名称: ltp.syscalls.semop01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.semop01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls semop01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.semop02.sh b/testcase/syscalls/ltp.syscalls.semop02.sh new file mode 100755 index 0000000000000000000000000000000000000000..dc95be8d7164004ab6cb2cb7e859eebaad31ba7f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.semop02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-780642383 +# @用例名称: ltp.syscalls.semop02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.semop02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls semop02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.semop03.sh b/testcase/syscalls/ltp.syscalls.semop03.sh new file mode 100755 index 0000000000000000000000000000000000000000..e0b8e1e13c1b241d76bb6a01bb6dbc5ff13a4b40 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.semop03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-789256634 +# @用例名称: ltp.syscalls.semop03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.semop03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls semop03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.semop04.sh b/testcase/syscalls/ltp.syscalls.semop04.sh new file mode 100755 index 0000000000000000000000000000000000000000..22f1ec723eea4a815661c2bab0147a499240327d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.semop04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141852-917521475 +# @用例名称: ltp.syscalls.semop04 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.semop04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls semop04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.semop05.sh b/testcase/syscalls/ltp.syscalls.semop05.sh new file mode 100755 index 0000000000000000000000000000000000000000..84ba84b203040d0a717e50c763bbc81e11ac7c68 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.semop05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141852-980941192 +# @用例名称: ltp.syscalls.semop05 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.semop05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls semop05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.send01.sh b/testcase/syscalls/ltp.syscalls.send01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ab738ed4f9ed0e401875cf892f052d998e9077c5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.send01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-799660565 +# @用例名称: ltp.syscalls.send01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.send01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls send01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.send02.sh b/testcase/syscalls/ltp.syscalls.send02.sh new file mode 100755 index 0000000000000000000000000000000000000000..fef09082e441148999e2a7ded1e16b0d51cb0250 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.send02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-808197923 +# @用例名称: ltp.syscalls.send02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.send02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls send02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendfile02.sh b/testcase/syscalls/ltp.syscalls.sendfile02.sh new file mode 100755 index 0000000000000000000000000000000000000000..c3cfd98ab67406d6fc6defc72b98a20dfbfc5575 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendfile02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-818686803 +# @用例名称: ltp.syscalls.sendfile02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendfile02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendfile02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendfile02_64.sh b/testcase/syscalls/ltp.syscalls.sendfile02_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..955d7922c8538cae8ca439cc37ee4d83c1cd46fe --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendfile02_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-827346529 +# @用例名称: ltp.syscalls.sendfile02_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendfile02_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendfile02_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendfile03.sh b/testcase/syscalls/ltp.syscalls.sendfile03.sh new file mode 100755 index 0000000000000000000000000000000000000000..2da56b7ab30e5071aa5f2f35afa83c2dbdf01a23 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendfile03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-835990116 +# @用例名称: ltp.syscalls.sendfile03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendfile03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendfile03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendfile03_64.sh b/testcase/syscalls/ltp.syscalls.sendfile03_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..b99ee001f45c468d00e31103bfc760dd07a0889f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendfile03_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-844624926 +# @用例名称: ltp.syscalls.sendfile03_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendfile03_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendfile03_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendfile04.sh b/testcase/syscalls/ltp.syscalls.sendfile04.sh new file mode 100755 index 0000000000000000000000000000000000000000..4ef5a1acd51512848e4188aa526ae31b18a92038 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendfile04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-853184676 +# @用例名称: ltp.syscalls.sendfile04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendfile04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendfile04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendfile04_64.sh b/testcase/syscalls/ltp.syscalls.sendfile04_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..8979ce27ed71e4c5b9ed5e9c3b7184e5e4108355 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendfile04_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-861680065 +# @用例名称: ltp.syscalls.sendfile04_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendfile04_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendfile04_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendfile05.sh b/testcase/syscalls/ltp.syscalls.sendfile05.sh new file mode 100755 index 0000000000000000000000000000000000000000..84735ce5feac4c05a213715148d611dbf93a19a6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendfile05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-870315265 +# @用例名称: ltp.syscalls.sendfile05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendfile05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendfile05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendfile05_64.sh b/testcase/syscalls/ltp.syscalls.sendfile05_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..7e0bd5bb319df4537219889765407d2c02376680 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendfile05_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-878839529 +# @用例名称: ltp.syscalls.sendfile05_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendfile05_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendfile05_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendfile06.sh b/testcase/syscalls/ltp.syscalls.sendfile06.sh new file mode 100755 index 0000000000000000000000000000000000000000..bed0fde04dcb4003844fe880d7350b5b0af90be2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendfile06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-887355496 +# @用例名称: ltp.syscalls.sendfile06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendfile06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendfile06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendfile06_64.sh b/testcase/syscalls/ltp.syscalls.sendfile06_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..77cf55e3c03c709be07c5a3f0a8ebe49319da759 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendfile06_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-895920035 +# @用例名称: ltp.syscalls.sendfile06_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendfile06_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendfile06_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendfile07.sh b/testcase/syscalls/ltp.syscalls.sendfile07.sh new file mode 100755 index 0000000000000000000000000000000000000000..59fc16550a0a51e08da4dc0a86bc3b41a124ac5e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendfile07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-904518306 +# @用例名称: ltp.syscalls.sendfile07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendfile07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendfile07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendfile07_64.sh b/testcase/syscalls/ltp.syscalls.sendfile07_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..9be9b94cb5f1169202b99d3be17e517dc3ea703e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendfile07_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-917534497 +# @用例名称: ltp.syscalls.sendfile07_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendfile07_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendfile07_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendfile08.sh b/testcase/syscalls/ltp.syscalls.sendfile08.sh new file mode 100755 index 0000000000000000000000000000000000000000..e5b2e4ce6ef779f3dcfa284a186a6a1d784f618e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendfile08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-927135445 +# @用例名称: ltp.syscalls.sendfile08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendfile08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendfile08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendfile08_64.sh b/testcase/syscalls/ltp.syscalls.sendfile08_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..3418fc4ace7e4af763ed97d8d65932d1d5c90125 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendfile08_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-935661873 +# @用例名称: ltp.syscalls.sendfile08_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendfile08_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendfile08_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendfile09.sh b/testcase/syscalls/ltp.syscalls.sendfile09.sh new file mode 100755 index 0000000000000000000000000000000000000000..08a5d18a8730743ee334698b4c34ea3632e2464e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendfile09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-944265784 +# @用例名称: ltp.syscalls.sendfile09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendfile09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendfile09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendfile09_64.sh b/testcase/syscalls/ltp.syscalls.sendfile09_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..7f5ea6173eb48449f23f6159a3aa35140af5d365 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendfile09_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-952823070 +# @用例名称: ltp.syscalls.sendfile09_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendfile09_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendfile09_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendmmsg01.sh b/testcase/syscalls/ltp.syscalls.sendmmsg01.sh new file mode 100755 index 0000000000000000000000000000000000000000..496590f4d3ddd00aa9fe4274c9bba1b1a9f0d6bb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendmmsg01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-994866744 +# @用例名称: ltp.syscalls.sendmmsg01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendmmsg01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendmmsg01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendmmsg02.sh b/testcase/syscalls/ltp.syscalls.sendmmsg02.sh new file mode 100755 index 0000000000000000000000000000000000000000..2e1fe2a6b47c64074fad2a72c275ad2dfc419d8a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendmmsg02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-003410554 +# @用例名称: ltp.syscalls.sendmmsg02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendmmsg02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendmmsg02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendmsg01.sh b/testcase/syscalls/ltp.syscalls.sendmsg01.sh new file mode 100755 index 0000000000000000000000000000000000000000..3f77d7042337477148e11ca06548b68b31b1bd19 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendmsg01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-965460701 +# @用例名称: ltp.syscalls.sendmsg01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendmsg01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendmsg01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendmsg02.sh b/testcase/syscalls/ltp.syscalls.sendmsg02.sh new file mode 100755 index 0000000000000000000000000000000000000000..be8a342bcbbf2f66eb239cc276e1235d8e61cacb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendmsg02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-974137299 +# @用例名称: ltp.syscalls.sendmsg02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendmsg02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendmsg02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendmsg03.sh b/testcase/syscalls/ltp.syscalls.sendmsg03.sh new file mode 100755 index 0000000000000000000000000000000000000000..76152e0b782d39929f3a7cadf983fdb0bb016c8b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendmsg03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213020-984198128 +# @用例名称: ltp.syscalls.sendmsg03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendmsg03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendmsg03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendto01.sh b/testcase/syscalls/ltp.syscalls.sendto01.sh new file mode 100755 index 0000000000000000000000000000000000000000..95e1dcd5b49768cdcd621b54399451888ba326e9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendto01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-013822941 +# @用例名称: ltp.syscalls.sendto01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendto01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendto01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendto02.sh b/testcase/syscalls/ltp.syscalls.sendto02.sh new file mode 100755 index 0000000000000000000000000000000000000000..991de4ce0182babbcc894390e6dac61d3d7b31c6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendto02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-022441430 +# @用例名称: ltp.syscalls.sendto02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendto02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendto02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sendto03.sh b/testcase/syscalls/ltp.syscalls.sendto03.sh new file mode 100755 index 0000000000000000000000000000000000000000..ae095101f6d8281eac2d551a59f31a2e7dcd9e8c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sendto03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-030910330 +# @用例名称: ltp.syscalls.sendto03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sendto03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sendto03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.set_mempolicy01.sh b/testcase/syscalls/ltp.syscalls.set_mempolicy01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8d0f51767917ff41923dce36b00d7d28f1b27600 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.set_mempolicy01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-041450145 +# @用例名称: ltp.syscalls.set_mempolicy01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.set_mempolicy01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls set_mempolicy01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.set_mempolicy02.sh b/testcase/syscalls/ltp.syscalls.set_mempolicy02.sh new file mode 100755 index 0000000000000000000000000000000000000000..490dde85b441e0081de82237b35fea6e6368ef05 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.set_mempolicy02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-050000487 +# @用例名称: ltp.syscalls.set_mempolicy02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.set_mempolicy02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls set_mempolicy02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.set_mempolicy03.sh b/testcase/syscalls/ltp.syscalls.set_mempolicy03.sh new file mode 100755 index 0000000000000000000000000000000000000000..7ae46325072b626fcab9715ec803edfecd4e9ae6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.set_mempolicy03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-058755112 +# @用例名称: ltp.syscalls.set_mempolicy03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.set_mempolicy03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls set_mempolicy03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.set_mempolicy04.sh b/testcase/syscalls/ltp.syscalls.set_mempolicy04.sh new file mode 100755 index 0000000000000000000000000000000000000000..9a6877638b40dab100f5360f2325d0574a695166 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.set_mempolicy04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-067423776 +# @用例名称: ltp.syscalls.set_mempolicy04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.set_mempolicy04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls set_mempolicy04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.set_robust_list01.sh b/testcase/syscalls/ltp.syscalls.set_robust_list01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9f127e28aba2e94a47cb240049570a5ddcc7018b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.set_robust_list01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-078712182 +# @用例名称: ltp.syscalls.set_robust_list01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.set_robust_list01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls set_robust_list01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.set_thread_area01.sh b/testcase/syscalls/ltp.syscalls.set_thread_area01.sh new file mode 100755 index 0000000000000000000000000000000000000000..3047225104ece039f50fed1dcae81aac3c675981 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.set_thread_area01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-087303811 +# @用例名称: ltp.syscalls.set_thread_area01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.set_thread_area01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls set_thread_area01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.set_thread_area02.sh b/testcase/syscalls/ltp.syscalls.set_thread_area02.sh new file mode 100755 index 0000000000000000000000000000000000000000..a4422ae568cc1fe7418ddbf8862cf70794c76d97 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.set_thread_area02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110842-662467810 +# @用例名称: ltp.syscalls.set_thread_area02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.set_thread_area02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls set_thread_area02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.set_tid_address01.sh b/testcase/syscalls/ltp.syscalls.set_tid_address01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7fd713b576269ea959e1500832d2b1ab0b76fe77 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.set_tid_address01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-095861837 +# @用例名称: ltp.syscalls.set_tid_address01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.set_tid_address01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls set_tid_address01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setdomainname01.sh b/testcase/syscalls/ltp.syscalls.setdomainname01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9121b16a951b1bdb14d0f3bd532214f833ee27bf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setdomainname01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-106505047 +# @用例名称: ltp.syscalls.setdomainname01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setdomainname01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setdomainname01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setdomainname02.sh b/testcase/syscalls/ltp.syscalls.setdomainname02.sh new file mode 100755 index 0000000000000000000000000000000000000000..50142dd085fe7ab2610bb020904508d563915759 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setdomainname02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-115185762 +# @用例名称: ltp.syscalls.setdomainname02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setdomainname02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setdomainname02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setdomainname03.sh b/testcase/syscalls/ltp.syscalls.setdomainname03.sh new file mode 100755 index 0000000000000000000000000000000000000000..1810ddbfcd814a0a6d1aab63137ea2d9b2250243 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setdomainname03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-123763977 +# @用例名称: ltp.syscalls.setdomainname03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setdomainname03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setdomainname03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setegid01.sh b/testcase/syscalls/ltp.syscalls.setegid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8fb84fa89c2b238fbd055c3b5183b4be9a668905 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setegid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-316850840 +# @用例名称: ltp.syscalls.setegid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setegid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setegid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setegid02.sh b/testcase/syscalls/ltp.syscalls.setegid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..c4cae3f0c6bb1a373cf2a13508aec46a07016a20 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setegid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-325415799 +# @用例名称: ltp.syscalls.setegid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setegid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setegid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setfsgid01.sh b/testcase/syscalls/ltp.syscalls.setfsgid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..5ea2d84228b5d9f19fa7809358897d046414fe5a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setfsgid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-134175331 +# @用例名称: ltp.syscalls.setfsgid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setfsgid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setfsgid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setfsgid01_16.sh b/testcase/syscalls/ltp.syscalls.setfsgid01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..626048bafe1f8f30259a692f1d9d7e32c528997f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setfsgid01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-142773193 +# @用例名称: ltp.syscalls.setfsgid01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setfsgid01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setfsgid01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setfsgid02.sh b/testcase/syscalls/ltp.syscalls.setfsgid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ef3551625565826e7d78b1aca2a1bfb55b1a86d8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setfsgid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-151311943 +# @用例名称: ltp.syscalls.setfsgid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setfsgid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setfsgid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setfsgid02_16.sh b/testcase/syscalls/ltp.syscalls.setfsgid02_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..708a681a9d52c78d3637ec1c30e8353dd5e33cf7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setfsgid02_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-159766015 +# @用例名称: ltp.syscalls.setfsgid02_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setfsgid02_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setfsgid02_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setfsgid03.sh b/testcase/syscalls/ltp.syscalls.setfsgid03.sh new file mode 100755 index 0000000000000000000000000000000000000000..18e5195533d19e60f6a7739ff58eff163927dd7f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setfsgid03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-168408629 +# @用例名称: ltp.syscalls.setfsgid03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setfsgid03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setfsgid03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setfsgid03_16.sh b/testcase/syscalls/ltp.syscalls.setfsgid03_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..1c0f19d5c4582b15cba51c6176d4341c5b8fb4ba --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setfsgid03_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-177066102 +# @用例名称: ltp.syscalls.setfsgid03_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setfsgid03_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setfsgid03_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setfsuid01.sh b/testcase/syscalls/ltp.syscalls.setfsuid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7ea6c4612d0f69da6651173cf6aaa13b1adb9cd1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setfsuid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-187728266 +# @用例名称: ltp.syscalls.setfsuid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setfsuid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setfsuid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setfsuid01_16.sh b/testcase/syscalls/ltp.syscalls.setfsuid01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..c2d81b3cc2c2e023e3f902fd8b2ef939d25e2552 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setfsuid01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-196421906 +# @用例名称: ltp.syscalls.setfsuid01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setfsuid01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setfsuid01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setfsuid02.sh b/testcase/syscalls/ltp.syscalls.setfsuid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..83d0300c6019c6423f37a49eae5af85481e08919 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setfsuid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-204982638 +# @用例名称: ltp.syscalls.setfsuid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setfsuid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setfsuid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setfsuid02_16.sh b/testcase/syscalls/ltp.syscalls.setfsuid02_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..08160042ff8726071c51026a9b2ce70e650163f5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setfsuid02_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-213524013 +# @用例名称: ltp.syscalls.setfsuid02_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setfsuid02_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setfsuid02_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setfsuid03.sh b/testcase/syscalls/ltp.syscalls.setfsuid03.sh new file mode 100755 index 0000000000000000000000000000000000000000..fe59447826436ad49e04a58afcb56d540c78cc4b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setfsuid03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-222064387 +# @用例名称: ltp.syscalls.setfsuid03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setfsuid03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setfsuid03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setfsuid03_16.sh b/testcase/syscalls/ltp.syscalls.setfsuid03_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..a845a7ec44e3eeba78ff0afd6eadd2b7f667471e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setfsuid03_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-231843518 +# @用例名称: ltp.syscalls.setfsuid03_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setfsuid03_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setfsuid03_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setfsuid04.sh b/testcase/syscalls/ltp.syscalls.setfsuid04.sh new file mode 100755 index 0000000000000000000000000000000000000000..92cfa2915c618ccd85a3eafd791aee39540de992 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setfsuid04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-240418457 +# @用例名称: ltp.syscalls.setfsuid04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setfsuid04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setfsuid04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setfsuid04_16.sh b/testcase/syscalls/ltp.syscalls.setfsuid04_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..c87d963e6e6b7ddc1b168b0fb83c4915102e5f89 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setfsuid04_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-248963388 +# @用例名称: ltp.syscalls.setfsuid04_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setfsuid04_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setfsuid04_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setgid01.sh b/testcase/syscalls/ltp.syscalls.setgid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..11aa5289971a98c4036947972cf96e7f58096cb4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setgid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-259647814 +# @用例名称: ltp.syscalls.setgid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setgid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setgid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setgid01_16.sh b/testcase/syscalls/ltp.syscalls.setgid01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..c57f3ec9f9724c1ad7bd284152fd613beae59abc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setgid01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-268200421 +# @用例名称: ltp.syscalls.setgid01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setgid01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setgid01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setgid02.sh b/testcase/syscalls/ltp.syscalls.setgid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..cd5a5e0db51798f315c24a548b4bd4498b2e0f0b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setgid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-276775518 +# @用例名称: ltp.syscalls.setgid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setgid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setgid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setgid02_16.sh b/testcase/syscalls/ltp.syscalls.setgid02_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..0299770b3b3dbc46d8f00a5b5cbd5a7ea25c35f1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setgid02_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-285302948 +# @用例名称: ltp.syscalls.setgid02_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setgid02_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setgid02_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setgid03.sh b/testcase/syscalls/ltp.syscalls.setgid03.sh new file mode 100755 index 0000000000000000000000000000000000000000..d4e91f69829614d5fb1318bd12d1954db9999cc3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setgid03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-293729358 +# @用例名称: ltp.syscalls.setgid03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setgid03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setgid03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setgid03_16.sh b/testcase/syscalls/ltp.syscalls.setgid03_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..5fd68c4f5807a1ea4ba708931cbe523c41bf7fa9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setgid03_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-302179513 +# @用例名称: ltp.syscalls.setgid03_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setgid03_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setgid03_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setgroups01.sh b/testcase/syscalls/ltp.syscalls.setgroups01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4efef220d4ff68adabc4cfbbfa0517161217b440 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setgroups01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-353439726 +# @用例名称: ltp.syscalls.setgroups01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setgroups01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setgroups01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setgroups01_16.sh b/testcase/syscalls/ltp.syscalls.setgroups01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..96ddf731a476aab4d670c9307c943331344448fc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setgroups01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-364115496 +# @用例名称: ltp.syscalls.setgroups01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setgroups01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setgroups01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setgroups02.sh b/testcase/syscalls/ltp.syscalls.setgroups02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b5d865287cbe1f5f31c032a8e33fc9eb648334be --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setgroups02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-376253523 +# @用例名称: ltp.syscalls.setgroups02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setgroups02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setgroups02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setgroups02_16.sh b/testcase/syscalls/ltp.syscalls.setgroups02_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..4da6a78a11487134fb71e52718f8b762da88b71f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setgroups02_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-384864397 +# @用例名称: ltp.syscalls.setgroups02_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setgroups02_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setgroups02_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setgroups03.sh b/testcase/syscalls/ltp.syscalls.setgroups03.sh new file mode 100755 index 0000000000000000000000000000000000000000..e9f98e20e675994bfa1c95cc1d40d7695a7f4922 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setgroups03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-393380165 +# @用例名称: ltp.syscalls.setgroups03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setgroups03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setgroups03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setgroups03_16.sh b/testcase/syscalls/ltp.syscalls.setgroups03_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..614db5e3e2af8fb018436b70c1d3ed54dfd99ed2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setgroups03_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-401968458 +# @用例名称: ltp.syscalls.setgroups03_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setgroups03_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setgroups03_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sethostname01.sh b/testcase/syscalls/ltp.syscalls.sethostname01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7c43c5edc12c7b72620c461a202bd6730f897ecf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sethostname01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-429809593 +# @用例名称: ltp.syscalls.sethostname01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sethostname01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sethostname01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sethostname02.sh b/testcase/syscalls/ltp.syscalls.sethostname02.sh new file mode 100755 index 0000000000000000000000000000000000000000..c85adf97a4ff3bfebe397a18bcd07cf4312c0fe6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sethostname02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-438882944 +# @用例名称: ltp.syscalls.sethostname02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sethostname02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sethostname02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sethostname03.sh b/testcase/syscalls/ltp.syscalls.sethostname03.sh new file mode 100755 index 0000000000000000000000000000000000000000..b1a60fb3c2a3de43cafdc5ab48463f2d9c283881 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sethostname03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-447528003 +# @用例名称: ltp.syscalls.sethostname03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sethostname03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sethostname03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setitimer01.sh b/testcase/syscalls/ltp.syscalls.setitimer01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d0be22f93447b4017c80e915ca53d8c2f62add7a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setitimer01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-458003007 +# @用例名称: ltp.syscalls.setitimer01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setitimer01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setitimer01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setitimer02.sh b/testcase/syscalls/ltp.syscalls.setitimer02.sh new file mode 100755 index 0000000000000000000000000000000000000000..cd580b7afabce2bffa92e5f3efa3ef4e708754c1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setitimer02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-466568037 +# @用例名称: ltp.syscalls.setitimer02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setitimer02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setitimer02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setns01.sh b/testcase/syscalls/ltp.syscalls.setns01.sh new file mode 100755 index 0000000000000000000000000000000000000000..5a88d729903c2f484c4bb6adf774470cdf1fbfa8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setns01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-485616606 +# @用例名称: ltp.syscalls.setns01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setns01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setns01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setns02.sh b/testcase/syscalls/ltp.syscalls.setns02.sh new file mode 100755 index 0000000000000000000000000000000000000000..4796dc82c286d1ad0909873a0365a769fae7c5e2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setns02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-494233773 +# @用例名称: ltp.syscalls.setns02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setns02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setns02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setpgid01.sh b/testcase/syscalls/ltp.syscalls.setpgid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..358a4257463faf3944be224ecd51c53d5a4983d0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setpgid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-504716993 +# @用例名称: ltp.syscalls.setpgid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setpgid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setpgid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setpgid02.sh b/testcase/syscalls/ltp.syscalls.setpgid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5710757813b3ad9c9fe199c250132afed9c6509 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setpgid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-513197464 +# @用例名称: ltp.syscalls.setpgid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setpgid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setpgid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setpgid03.sh b/testcase/syscalls/ltp.syscalls.setpgid03.sh new file mode 100755 index 0000000000000000000000000000000000000000..755635574f9548cb5877d85ebd474163717dea06 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setpgid03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-521777461 +# @用例名称: ltp.syscalls.setpgid03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setpgid03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setpgid03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setpgrp01.sh b/testcase/syscalls/ltp.syscalls.setpgrp01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9efc4066aab1e73755c9ec10322ab156b2489fa6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setpgrp01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-532262244 +# @用例名称: ltp.syscalls.setpgrp01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setpgrp01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setpgrp01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setpgrp02.sh b/testcase/syscalls/ltp.syscalls.setpgrp02.sh new file mode 100755 index 0000000000000000000000000000000000000000..25289f6713f6f5ebf7c57854f0e3fcc8407d5006 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setpgrp02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-540812466 +# @用例名称: ltp.syscalls.setpgrp02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setpgrp02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setpgrp02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setpriority01.sh b/testcase/syscalls/ltp.syscalls.setpriority01.sh new file mode 100755 index 0000000000000000000000000000000000000000..eb5c6c1b838c21905a386db4a586cdd8467db571 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setpriority01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-551395361 +# @用例名称: ltp.syscalls.setpriority01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setpriority01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setpriority01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setpriority02.sh b/testcase/syscalls/ltp.syscalls.setpriority02.sh new file mode 100755 index 0000000000000000000000000000000000000000..192fda0dd900cd16ebb69fe9a22b2367bc259342 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setpriority02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-560133715 +# @用例名称: ltp.syscalls.setpriority02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setpriority02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setpriority02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setregid01.sh b/testcase/syscalls/ltp.syscalls.setregid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9e49937880d810f27438476267932c36d0b1b7f3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setregid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-570878645 +# @用例名称: ltp.syscalls.setregid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setregid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setregid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setregid01_16.sh b/testcase/syscalls/ltp.syscalls.setregid01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..92213452fe9aee9240ffca063dd4feb87fc11c5c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setregid01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-579762160 +# @用例名称: ltp.syscalls.setregid01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setregid01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setregid01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setregid02.sh b/testcase/syscalls/ltp.syscalls.setregid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..75c452076239d239fc139756fddf882c9bf1ebeb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setregid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-588339964 +# @用例名称: ltp.syscalls.setregid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setregid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setregid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setregid02_16.sh b/testcase/syscalls/ltp.syscalls.setregid02_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..7b35f5cca8f06775cfd3a4fc427a010aaca8aa8f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setregid02_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-597136737 +# @用例名称: ltp.syscalls.setregid02_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setregid02_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setregid02_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setregid03.sh b/testcase/syscalls/ltp.syscalls.setregid03.sh new file mode 100755 index 0000000000000000000000000000000000000000..55bb5912b279386483f6c0c2759d0c27bf4c394e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setregid03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-605733736 +# @用例名称: ltp.syscalls.setregid03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setregid03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setregid03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setregid03_16.sh b/testcase/syscalls/ltp.syscalls.setregid03_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..8d8f1baa02727e0dc29a48e363f4a1d964a3b994 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setregid03_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-614315928 +# @用例名称: ltp.syscalls.setregid03_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setregid03_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setregid03_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setregid04.sh b/testcase/syscalls/ltp.syscalls.setregid04.sh new file mode 100755 index 0000000000000000000000000000000000000000..f7ac9f7f9ac24c8f6727970a28e0e047f265d757 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setregid04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-622820925 +# @用例名称: ltp.syscalls.setregid04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setregid04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setregid04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setregid04_16.sh b/testcase/syscalls/ltp.syscalls.setregid04_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..04a3438f06dac00a8594afbae3f5477e83e1cea6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setregid04_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-631497503 +# @用例名称: ltp.syscalls.setregid04_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setregid04_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setregid04_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresgid01.sh b/testcase/syscalls/ltp.syscalls.setresgid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..6d413141307f227e7b2504c1954ddaec5d46a884 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresgid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-642153226 +# @用例名称: ltp.syscalls.setresgid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresgid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresgid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresgid01_16.sh b/testcase/syscalls/ltp.syscalls.setresgid01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..a67f31095516256ca2ea559dd2e8f92e40666aef --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresgid01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-650840574 +# @用例名称: ltp.syscalls.setresgid01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresgid01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresgid01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresgid02.sh b/testcase/syscalls/ltp.syscalls.setresgid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..16b7ab863715f34ba3d316173794e20383b8ba98 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresgid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-659375507 +# @用例名称: ltp.syscalls.setresgid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresgid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresgid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresgid02_16.sh b/testcase/syscalls/ltp.syscalls.setresgid02_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..4b91e5dfb4651d8d548430e4b87ea2dbec49c884 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresgid02_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-668015146 +# @用例名称: ltp.syscalls.setresgid02_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresgid02_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresgid02_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresgid03.sh b/testcase/syscalls/ltp.syscalls.setresgid03.sh new file mode 100755 index 0000000000000000000000000000000000000000..e739f23066bacb90b3e26a52b2853d04efc5ccee --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresgid03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-676847717 +# @用例名称: ltp.syscalls.setresgid03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresgid03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresgid03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresgid03_16.sh b/testcase/syscalls/ltp.syscalls.setresgid03_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..937e02c61d1e875fa148553a11745e21f24143e5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresgid03_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-685496382 +# @用例名称: ltp.syscalls.setresgid03_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresgid03_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresgid03_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresgid04.sh b/testcase/syscalls/ltp.syscalls.setresgid04.sh new file mode 100755 index 0000000000000000000000000000000000000000..972fe445423967ddae56f6bea0cf6ff05998b95b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresgid04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-694108671 +# @用例名称: ltp.syscalls.setresgid04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresgid04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresgid04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresgid04_16.sh b/testcase/syscalls/ltp.syscalls.setresgid04_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..068c405a9a3f9b1c11182f4664f496d0cbc4b39a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresgid04_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-702621292 +# @用例名称: ltp.syscalls.setresgid04_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresgid04_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresgid04_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresuid01.sh b/testcase/syscalls/ltp.syscalls.setresuid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..98c8d8107e4df501dd92ae4f1a8dd40a29a59bc8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresuid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-713208326 +# @用例名称: ltp.syscalls.setresuid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresuid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresuid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresuid01_16.sh b/testcase/syscalls/ltp.syscalls.setresuid01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..3a43ea1beb8bbe6a8bf5b9164cf742295c3fa6a4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresuid01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-721882359 +# @用例名称: ltp.syscalls.setresuid01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresuid01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresuid01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresuid02.sh b/testcase/syscalls/ltp.syscalls.setresuid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..875bf97d890b1993c61d7e60a16322c01a072eaa --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresuid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-731845375 +# @用例名称: ltp.syscalls.setresuid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresuid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresuid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresuid02_16.sh b/testcase/syscalls/ltp.syscalls.setresuid02_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..74c0474814a4def73724c9ce89a6fb56f474da1f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresuid02_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-740467962 +# @用例名称: ltp.syscalls.setresuid02_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresuid02_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresuid02_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresuid03.sh b/testcase/syscalls/ltp.syscalls.setresuid03.sh new file mode 100755 index 0000000000000000000000000000000000000000..6db95b163dbd1306a0c6e29180fbb3141b148018 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresuid03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-749027131 +# @用例名称: ltp.syscalls.setresuid03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresuid03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresuid03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresuid03_16.sh b/testcase/syscalls/ltp.syscalls.setresuid03_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..5164286bda9c819619d0570b349a8ecc460c3b04 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresuid03_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-757517521 +# @用例名称: ltp.syscalls.setresuid03_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresuid03_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresuid03_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresuid04.sh b/testcase/syscalls/ltp.syscalls.setresuid04.sh new file mode 100755 index 0000000000000000000000000000000000000000..83f8ad4701bfc10a2405dd16bde527859f568ea0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresuid04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-765977774 +# @用例名称: ltp.syscalls.setresuid04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresuid04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresuid04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresuid04_16.sh b/testcase/syscalls/ltp.syscalls.setresuid04_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..5a0d7a84344a44a6d423b86b7247aa6aacc0f2c6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresuid04_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-774852052 +# @用例名称: ltp.syscalls.setresuid04_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresuid04_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresuid04_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresuid05.sh b/testcase/syscalls/ltp.syscalls.setresuid05.sh new file mode 100755 index 0000000000000000000000000000000000000000..b0577b8d60586368d7a0f94d62a0a668bf918759 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresuid05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-783640039 +# @用例名称: ltp.syscalls.setresuid05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresuid05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresuid05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setresuid05_16.sh b/testcase/syscalls/ltp.syscalls.setresuid05_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..dabc91eccfedd1202f0bcc96f1aebb20c118389f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setresuid05_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-792268898 +# @用例名称: ltp.syscalls.setresuid05_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setresuid05_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setresuid05_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setreuid01.sh b/testcase/syscalls/ltp.syscalls.setreuid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4f0271bedb11fbd087a8a76fdb655a5a0558747b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setreuid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-802875809 +# @用例名称: ltp.syscalls.setreuid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setreuid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setreuid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setreuid01_16.sh b/testcase/syscalls/ltp.syscalls.setreuid01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..d07b9029438b10d86a461da5f54101c1c6403dbb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setreuid01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-811515168 +# @用例名称: ltp.syscalls.setreuid01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setreuid01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setreuid01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setreuid02.sh b/testcase/syscalls/ltp.syscalls.setreuid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..eb48ed08bb281708be1620ac153e0336d4f92aeb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setreuid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-820336267 +# @用例名称: ltp.syscalls.setreuid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setreuid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setreuid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setreuid02_16.sh b/testcase/syscalls/ltp.syscalls.setreuid02_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..171e922044df18fe73af32734e93a1a87762f91c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setreuid02_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-828777094 +# @用例名称: ltp.syscalls.setreuid02_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setreuid02_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setreuid02_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setreuid03.sh b/testcase/syscalls/ltp.syscalls.setreuid03.sh new file mode 100755 index 0000000000000000000000000000000000000000..47ed9826689c25ee309456121020e3aecf5cefcc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setreuid03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-837425308 +# @用例名称: ltp.syscalls.setreuid03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setreuid03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setreuid03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setreuid03_16.sh b/testcase/syscalls/ltp.syscalls.setreuid03_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..2452bd6ebbaf4e787260592e4c617095ec69d763 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setreuid03_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-847848346 +# @用例名称: ltp.syscalls.setreuid03_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setreuid03_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setreuid03_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setreuid04.sh b/testcase/syscalls/ltp.syscalls.setreuid04.sh new file mode 100755 index 0000000000000000000000000000000000000000..b12a227c23c46344bd2f93e074b41657f2ee23dc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setreuid04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-859431564 +# @用例名称: ltp.syscalls.setreuid04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setreuid04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setreuid04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setreuid04_16.sh b/testcase/syscalls/ltp.syscalls.setreuid04_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..c860e0aa9b0094aac7cdcc602a95e5d42825208b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setreuid04_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-868315600 +# @用例名称: ltp.syscalls.setreuid04_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setreuid04_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setreuid04_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setreuid05.sh b/testcase/syscalls/ltp.syscalls.setreuid05.sh new file mode 100755 index 0000000000000000000000000000000000000000..66863ce2b577496694c7c4e131d606c67c3481c1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setreuid05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-876944219 +# @用例名称: ltp.syscalls.setreuid05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setreuid05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setreuid05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setreuid05_16.sh b/testcase/syscalls/ltp.syscalls.setreuid05_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5af481557ad5a4ac43109aa4e9a9229cfce794b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setreuid05_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-885579339 +# @用例名称: ltp.syscalls.setreuid05_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setreuid05_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setreuid05_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setreuid06.sh b/testcase/syscalls/ltp.syscalls.setreuid06.sh new file mode 100755 index 0000000000000000000000000000000000000000..6e7981534edf8f2bf6667c29fabd0732d1ae00cc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setreuid06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-894116306 +# @用例名称: ltp.syscalls.setreuid06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setreuid06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setreuid06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setreuid06_16.sh b/testcase/syscalls/ltp.syscalls.setreuid06_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..74bb42329462d77867cddb5dbb51dface03ddd4d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setreuid06_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-902723905 +# @用例名称: ltp.syscalls.setreuid06_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setreuid06_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setreuid06_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setreuid07.sh b/testcase/syscalls/ltp.syscalls.setreuid07.sh new file mode 100755 index 0000000000000000000000000000000000000000..8e53b51c0a74675565003736a8006172c7ea2eab --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setreuid07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-911388531 +# @用例名称: ltp.syscalls.setreuid07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setreuid07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setreuid07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setreuid07_16.sh b/testcase/syscalls/ltp.syscalls.setreuid07_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..136918a809aee1bb5cbe5d73003f5ede37be8655 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setreuid07_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-920026657 +# @用例名称: ltp.syscalls.setreuid07_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setreuid07_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setreuid07_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setrlimit01.sh b/testcase/syscalls/ltp.syscalls.setrlimit01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f7634ed70130d85b37b3935aab6c5b8dd56e9a16 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setrlimit01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-930590087 +# @用例名称: ltp.syscalls.setrlimit01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setrlimit01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setrlimit01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setrlimit02.sh b/testcase/syscalls/ltp.syscalls.setrlimit02.sh new file mode 100755 index 0000000000000000000000000000000000000000..7bae3c05faf7acffc0407a7e1e445e7703cd359b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setrlimit02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-939141541 +# @用例名称: ltp.syscalls.setrlimit02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setrlimit02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setrlimit02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setrlimit03.sh b/testcase/syscalls/ltp.syscalls.setrlimit03.sh new file mode 100755 index 0000000000000000000000000000000000000000..f8333082efc13ad96a768796a84c402899c59784 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setrlimit03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-947737108 +# @用例名称: ltp.syscalls.setrlimit03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setrlimit03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setrlimit03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setrlimit04.sh b/testcase/syscalls/ltp.syscalls.setrlimit04.sh new file mode 100755 index 0000000000000000000000000000000000000000..a190cb27ee08ab94e25581c93fc8b657d1875b72 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setrlimit04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-956270858 +# @用例名称: ltp.syscalls.setrlimit04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setrlimit04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setrlimit04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setrlimit05.sh b/testcase/syscalls/ltp.syscalls.setrlimit05.sh new file mode 100755 index 0000000000000000000000000000000000000000..52127047044cb67634f1e47b59f44791c99b0f12 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setrlimit05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-965108288 +# @用例名称: ltp.syscalls.setrlimit05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setrlimit05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setrlimit05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setrlimit06.sh b/testcase/syscalls/ltp.syscalls.setrlimit06.sh new file mode 100755 index 0000000000000000000000000000000000000000..dc21c8d4d8692d75ea8173cacf56a26329ca497a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setrlimit06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-974448368 +# @用例名称: ltp.syscalls.setrlimit06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setrlimit06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setrlimit06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setsid01.sh b/testcase/syscalls/ltp.syscalls.setsid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..b9c2e4eebd1ff42f8fc9bb7af9963384ec1fd213 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setsid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-984962005 +# @用例名称: ltp.syscalls.setsid01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setsid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setsid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setsockopt01.sh b/testcase/syscalls/ltp.syscalls.setsockopt01.sh new file mode 100755 index 0000000000000000000000000000000000000000..956598a972171122967f85517d7543542880199a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setsockopt01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-995607007 +# @用例名称: ltp.syscalls.setsockopt01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setsockopt01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setsockopt01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setsockopt02.sh b/testcase/syscalls/ltp.syscalls.setsockopt02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b5a9cef123c2cda46db5f9437e36bbb45d003173 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setsockopt02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-004171886 +# @用例名称: ltp.syscalls.setsockopt02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setsockopt02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setsockopt02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setsockopt03.sh b/testcase/syscalls/ltp.syscalls.setsockopt03.sh new file mode 100755 index 0000000000000000000000000000000000000000..64e8fbdd21f7863f3ce18c97ede106389d9f1b5c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setsockopt03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-013030194 +# @用例名称: ltp.syscalls.setsockopt03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setsockopt03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setsockopt03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setsockopt04.sh b/testcase/syscalls/ltp.syscalls.setsockopt04.sh new file mode 100755 index 0000000000000000000000000000000000000000..50a15f8a9a731eb61ef7be41cfa9f9638001a708 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setsockopt04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-022024638 +# @用例名称: ltp.syscalls.setsockopt04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setsockopt04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setsockopt04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setsockopt05.sh b/testcase/syscalls/ltp.syscalls.setsockopt05.sh new file mode 100755 index 0000000000000000000000000000000000000000..76b7953ebb91acaf279499bbfe107204b4b43838 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setsockopt05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-030622058 +# @用例名称: ltp.syscalls.setsockopt05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setsockopt05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setsockopt05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setsockopt06.sh b/testcase/syscalls/ltp.syscalls.setsockopt06.sh new file mode 100755 index 0000000000000000000000000000000000000000..7dae9c1db409ac95c99da8e540a8479f3eb6ae6e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setsockopt06.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-039202285 +# @用例名称: ltp.syscalls.setsockopt06 +# @用例级别: 3 +# @用例标签: +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setsockopt06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setsockopt06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setsockopt07.sh b/testcase/syscalls/ltp.syscalls.setsockopt07.sh new file mode 100755 index 0000000000000000000000000000000000000000..0b76f863715927df12c8bbd313a1a75ef433d76f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setsockopt07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-047847125 +# @用例名称: ltp.syscalls.setsockopt07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setsockopt07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setsockopt07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setsockopt08.sh b/testcase/syscalls/ltp.syscalls.setsockopt08.sh new file mode 100755 index 0000000000000000000000000000000000000000..2f9682ea11fbf873504ed275ecb482d9d2a1e5ef --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setsockopt08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-056349888 +# @用例名称: ltp.syscalls.setsockopt08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setsockopt08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setsockopt08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setsockopt09.sh b/testcase/syscalls/ltp.syscalls.setsockopt09.sh new file mode 100755 index 0000000000000000000000000000000000000000..1874ed8e7499ad990ebce29afeaaefa977e86dca --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setsockopt09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141853-044661755 +# @用例名称: ltp.syscalls.setsockopt09 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setsockopt09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setsockopt09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setsockopt10.sh b/testcase/syscalls/ltp.syscalls.setsockopt10.sh new file mode 100755 index 0000000000000000000000000000000000000000..9dc111e257c955454a2944618c578501bbe1ca67 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setsockopt10.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172839-979415234 +# @用例名称: ltp.syscalls.setsockopt10 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setsockopt10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setsockopt10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.settimeofday01.sh b/testcase/syscalls/ltp.syscalls.settimeofday01.sh new file mode 100755 index 0000000000000000000000000000000000000000..5ddecf669e550bead3d1d24f80b78cb778fed6f6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.settimeofday01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-067216955 +# @用例名称: ltp.syscalls.settimeofday01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.settimeofday01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls settimeofday01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.settimeofday02.sh b/testcase/syscalls/ltp.syscalls.settimeofday02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ecdbbd0bc92ca8546f825daf86a6d61a38609ebd --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.settimeofday02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-076002026 +# @用例名称: ltp.syscalls.settimeofday02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.settimeofday02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls settimeofday02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setuid01.sh b/testcase/syscalls/ltp.syscalls.setuid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..777d48d0a8717668ef753a29741b2a54b7f3fde9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setuid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-086530681 +# @用例名称: ltp.syscalls.setuid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setuid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setuid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setuid01_16.sh b/testcase/syscalls/ltp.syscalls.setuid01_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..5d6df4997831a9cfe41d4573c401f9cbc31f6025 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setuid01_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-095107703 +# @用例名称: ltp.syscalls.setuid01_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setuid01_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setuid01_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setuid03.sh b/testcase/syscalls/ltp.syscalls.setuid03.sh new file mode 100755 index 0000000000000000000000000000000000000000..a4b9d96aedb22cfa3acd86b0f5e84b879aec1a7a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setuid03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-103653056 +# @用例名称: ltp.syscalls.setuid03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setuid03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setuid03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setuid03_16.sh b/testcase/syscalls/ltp.syscalls.setuid03_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..d3ec34ea069b64e8b66a4dfc9b72d0287c74bb81 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setuid03_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-112263039 +# @用例名称: ltp.syscalls.setuid03_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setuid03_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setuid03_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setuid04.sh b/testcase/syscalls/ltp.syscalls.setuid04.sh new file mode 100755 index 0000000000000000000000000000000000000000..d0529327e02058a827049304056010fd9f5806e7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setuid04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-120946120 +# @用例名称: ltp.syscalls.setuid04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setuid04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setuid04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setuid04_16.sh b/testcase/syscalls/ltp.syscalls.setuid04_16.sh new file mode 100755 index 0000000000000000000000000000000000000000..273c500cab8fafa30094bcfdc2e12ecc455389ac --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setuid04_16.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-129453261 +# @用例名称: ltp.syscalls.setuid04_16 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setuid04_16 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setuid04_16 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setxattr01.sh b/testcase/syscalls/ltp.syscalls.setxattr01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4c185d40e7711ea0bd173d8534bb61ec73ee2a55 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setxattr01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-140006572 +# @用例名称: ltp.syscalls.setxattr01 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setxattr01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setxattr01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setxattr02.sh b/testcase/syscalls/ltp.syscalls.setxattr02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ae0341fd43fedb5cd88e352ab6971c383eee9a9e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setxattr02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-148662601 +# @用例名称: ltp.syscalls.setxattr02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setxattr02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setxattr02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.setxattr03.sh b/testcase/syscalls/ltp.syscalls.setxattr03.sh new file mode 100755 index 0000000000000000000000000000000000000000..e7f8e51a48312e12c11c1efa511df7c289796703 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.setxattr03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-157200390 +# @用例名称: ltp.syscalls.setxattr03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.setxattr03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls setxattr03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sgetmask01.sh b/testcase/syscalls/ltp.syscalls.sgetmask01.sh new file mode 100755 index 0000000000000000000000000000000000000000..b1b98595aeba4efe0ed78d680f78383a90f4488f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sgetmask01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213021-340098879 +# @用例名称: ltp.syscalls.sgetmask01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sgetmask01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sgetmask01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmat01.sh b/testcase/syscalls/ltp.syscalls.shmat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7b0a10901840bae1f67e12aaa5da46fdbc026a1d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-167804566 +# @用例名称: ltp.syscalls.shmat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmat02.sh b/testcase/syscalls/ltp.syscalls.shmat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..673169ed19d78db73c71c180ef589f809860e1c2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmat02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-176700524 +# @用例名称: ltp.syscalls.shmat02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmat02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmat03.sh b/testcase/syscalls/ltp.syscalls.shmat03.sh new file mode 100755 index 0000000000000000000000000000000000000000..0d7c17f430dc57c562c748809bd97be3f6639184 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmat03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-185291573 +# @用例名称: ltp.syscalls.shmat03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmat03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmat03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmat04.sh b/testcase/syscalls/ltp.syscalls.shmat04.sh new file mode 100755 index 0000000000000000000000000000000000000000..fe65a304da4d8656595e4f141a90e240362056e9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmat04.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172840-053152448 +# @用例名称: ltp.syscalls.shmat04 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmat04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmat04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmctl01.sh b/testcase/syscalls/ltp.syscalls.shmctl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..badd959d344e4db1e3ca11940b2b8233382e9ab0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmctl01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-195940111 +# @用例名称: ltp.syscalls.shmctl01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmctl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmctl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmctl02.sh b/testcase/syscalls/ltp.syscalls.shmctl02.sh new file mode 100755 index 0000000000000000000000000000000000000000..f3e4b9d01d1c3760ebfa84d5be65574d86ee8577 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmctl02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-204900762 +# @用例名称: ltp.syscalls.shmctl02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmctl02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmctl02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmctl03.sh b/testcase/syscalls/ltp.syscalls.shmctl03.sh new file mode 100755 index 0000000000000000000000000000000000000000..3ad58210d04d87e29b1de1d3e5a766a95d894c12 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmctl03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-214014808 +# @用例名称: ltp.syscalls.shmctl03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmctl03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmctl03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmctl04.sh b/testcase/syscalls/ltp.syscalls.shmctl04.sh new file mode 100755 index 0000000000000000000000000000000000000000..b6448cc02ef22e0cc96730d75295ed3954703446 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmctl04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-222908403 +# @用例名称: ltp.syscalls.shmctl04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmctl04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmctl04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmctl05.sh b/testcase/syscalls/ltp.syscalls.shmctl05.sh new file mode 100755 index 0000000000000000000000000000000000000000..26700d1e4157be84153bebd6f74cd2ef824b15bf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmctl05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-231664440 +# @用例名称: ltp.syscalls.shmctl05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmctl05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmctl05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmctl06.sh b/testcase/syscalls/ltp.syscalls.shmctl06.sh new file mode 100755 index 0000000000000000000000000000000000000000..3a4a42fc3ac6ffee75dd246b5dbf090406761d1a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmctl06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-240601426 +# @用例名称: ltp.syscalls.shmctl06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmctl06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmctl06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmctl07.sh b/testcase/syscalls/ltp.syscalls.shmctl07.sh new file mode 100755 index 0000000000000000000000000000000000000000..28b1549b9c13259046ed14a11197ce1f7b08a4d2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmctl07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-249428115 +# @用例名称: ltp.syscalls.shmctl07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmctl07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmctl07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmctl08.sh b/testcase/syscalls/ltp.syscalls.shmctl08.sh new file mode 100755 index 0000000000000000000000000000000000000000..aeb270ac008fd820c0b2e018c44626748dcf4484 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmctl08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-258050582 +# @用例名称: ltp.syscalls.shmctl08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmctl08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmctl08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmdt01.sh b/testcase/syscalls/ltp.syscalls.shmdt01.sh new file mode 100755 index 0000000000000000000000000000000000000000..26f7f43628863d212b9ec22ea42f9dd8debd3292 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmdt01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-268962634 +# @用例名称: ltp.syscalls.shmdt01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmdt01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmdt01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmdt02.sh b/testcase/syscalls/ltp.syscalls.shmdt02.sh new file mode 100755 index 0000000000000000000000000000000000000000..553930350e904872ba0a3a71e2c1e7141bd31ecc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmdt02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-277915820 +# @用例名称: ltp.syscalls.shmdt02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmdt02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmdt02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmget02.sh b/testcase/syscalls/ltp.syscalls.shmget02.sh new file mode 100755 index 0000000000000000000000000000000000000000..003bbeab2ce5477ab8a734c2742bcbc6a462d478 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmget02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-288596799 +# @用例名称: ltp.syscalls.shmget02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmget02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmget02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmget03.sh b/testcase/syscalls/ltp.syscalls.shmget03.sh new file mode 100755 index 0000000000000000000000000000000000000000..02a8a7b0da8745ef4702b6ff3134de51b789aa08 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmget03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-297101676 +# @用例名称: ltp.syscalls.shmget03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmget03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmget03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmget04.sh b/testcase/syscalls/ltp.syscalls.shmget04.sh new file mode 100755 index 0000000000000000000000000000000000000000..7c82ddf295253d911768509879a881aefca77c5c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmget04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-305661045 +# @用例名称: ltp.syscalls.shmget04 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmget04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmget04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmget05.sh b/testcase/syscalls/ltp.syscalls.shmget05.sh new file mode 100755 index 0000000000000000000000000000000000000000..963f56e68c5c7a3f157aa30e419314ff68b32560 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmget05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-314371026 +# @用例名称: ltp.syscalls.shmget05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmget05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmget05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shmget06.sh b/testcase/syscalls/ltp.syscalls.shmget06.sh new file mode 100755 index 0000000000000000000000000000000000000000..741315bdf305f8888c94d87a3924aac191a96a84 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shmget06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-322924634 +# @用例名称: ltp.syscalls.shmget06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shmget06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shmget06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shutdown01.sh b/testcase/syscalls/ltp.syscalls.shutdown01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4e28cce89da0782f44bdfc71f5e3c96f3b40a151 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shutdown01.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110842-745449068 +# @用例名称: ltp.syscalls.shutdown01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shutdown01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shutdown01 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.shutdown02.sh b/testcase/syscalls/ltp.syscalls.shutdown02.sh new file mode 100755 index 0000000000000000000000000000000000000000..1b7a19a022e9e190de365ae619d665f0f509eeed --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.shutdown02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110842-829200769 +# @用例名称: ltp.syscalls.shutdown02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.shutdown02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls shutdown02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sigaction01.sh b/testcase/syscalls/ltp.syscalls.sigaction01.sh new file mode 100755 index 0000000000000000000000000000000000000000..979e1cae0e33f6d0e42ad47904fe4678732a13e7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sigaction01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-333463568 +# @用例名称: ltp.syscalls.sigaction01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sigaction01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sigaction01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sigaction02.sh b/testcase/syscalls/ltp.syscalls.sigaction02.sh new file mode 100755 index 0000000000000000000000000000000000000000..f62bfa6bfaa2cacbee6b6a8fb59e6bf6e68ebdf5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sigaction02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-342170603 +# @用例名称: ltp.syscalls.sigaction02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sigaction02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sigaction02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sigaltstack01.sh b/testcase/syscalls/ltp.syscalls.sigaltstack01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ba2a653ca230c10151e18b581cff0db7d95950f5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sigaltstack01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-356945725 +# @用例名称: ltp.syscalls.sigaltstack01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sigaltstack01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sigaltstack01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sigaltstack02.sh b/testcase/syscalls/ltp.syscalls.sigaltstack02.sh new file mode 100755 index 0000000000000000000000000000000000000000..1a4d289684d2343ba7a392cc72c17329a006b798 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sigaltstack02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-365792892 +# @用例名称: ltp.syscalls.sigaltstack02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sigaltstack02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sigaltstack02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sighold02.sh b/testcase/syscalls/ltp.syscalls.sighold02.sh new file mode 100755 index 0000000000000000000000000000000000000000..cc8c30774f98478e7ad4c4e425af2a04fba3f72d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sighold02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-379131376 +# @用例名称: ltp.syscalls.sighold02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sighold02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sighold02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.signal01.sh b/testcase/syscalls/ltp.syscalls.signal01.sh new file mode 100755 index 0000000000000000000000000000000000000000..79002047d33a08673957cf1a31485e27ba5eb87d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.signal01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-390187868 +# @用例名称: ltp.syscalls.signal01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.signal01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls signal01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.signal02.sh b/testcase/syscalls/ltp.syscalls.signal02.sh new file mode 100755 index 0000000000000000000000000000000000000000..75258d82f91e180aa7338ddcbce842251c436837 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.signal02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-401685395 +# @用例名称: ltp.syscalls.signal02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.signal02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls signal02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.signal03.sh b/testcase/syscalls/ltp.syscalls.signal03.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d4ec52d0dc9798804f75a14740c6a58c6edbfd0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.signal03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-410250605 +# @用例名称: ltp.syscalls.signal03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.signal03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls signal03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.signal04.sh b/testcase/syscalls/ltp.syscalls.signal04.sh new file mode 100755 index 0000000000000000000000000000000000000000..590d46720cd87cddf5b3dcfa33254c4e79f569d1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.signal04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-418898289 +# @用例名称: ltp.syscalls.signal04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.signal04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls signal04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.signal05.sh b/testcase/syscalls/ltp.syscalls.signal05.sh new file mode 100755 index 0000000000000000000000000000000000000000..9812d3862e8cafd200050635fb8125b82271c65d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.signal05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-429938861 +# @用例名称: ltp.syscalls.signal05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.signal05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls signal05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.signal06.sh b/testcase/syscalls/ltp.syscalls.signal06.sh new file mode 100755 index 0000000000000000000000000000000000000000..b0308688d5e40d27b0d0f077a7f3548dbc41c0ec --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.signal06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-438452254 +# @用例名称: ltp.syscalls.signal06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.signal06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls signal06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.signalfd01.sh b/testcase/syscalls/ltp.syscalls.signalfd01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e536ef4111ef8ff209eda34677fbce1d85a200df --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.signalfd01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-448913734 +# @用例名称: ltp.syscalls.signalfd01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.signalfd01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls signalfd01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.signalfd02.sh b/testcase/syscalls/ltp.syscalls.signalfd02.sh new file mode 100755 index 0000000000000000000000000000000000000000..8704c93dc4b5ed2464b63ded36bb05739a74b46a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.signalfd02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110842-914237362 +# @用例名称: ltp.syscalls.signalfd02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.signalfd02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls signalfd02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.signalfd4_01.sh b/testcase/syscalls/ltp.syscalls.signalfd4_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..19b1d6f0163941ceeec48c5e4e2d86feb6759329 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.signalfd4_01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-459470912 +# @用例名称: ltp.syscalls.signalfd4_01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.signalfd4_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls signalfd4_01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.signalfd4_02.sh b/testcase/syscalls/ltp.syscalls.signalfd4_02.sh new file mode 100755 index 0000000000000000000000000000000000000000..fa4c8c0486eaad56eee1292d51b9fc1ba8f08e1c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.signalfd4_02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-468203555 +# @用例名称: ltp.syscalls.signalfd4_02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.signalfd4_02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls signalfd4_02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sigpending02.sh b/testcase/syscalls/ltp.syscalls.sigpending02.sh new file mode 100755 index 0000000000000000000000000000000000000000..41430e05ceae25a619cb0f451b110f6277f92a93 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sigpending02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-478771292 +# @用例名称: ltp.syscalls.sigpending02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sigpending02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sigpending02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sigprocmask01.sh b/testcase/syscalls/ltp.syscalls.sigprocmask01.sh new file mode 100755 index 0000000000000000000000000000000000000000..bddff93f0d4597ea22bbd6470d01de27321ab53d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sigprocmask01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-489467680 +# @用例名称: ltp.syscalls.sigprocmask01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sigprocmask01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sigprocmask01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sigrelse01.sh b/testcase/syscalls/ltp.syscalls.sigrelse01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9e82ed689bfd3f2b3c846abbc24b65e4429fd0d3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sigrelse01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-500137890 +# @用例名称: ltp.syscalls.sigrelse01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sigrelse01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sigrelse01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sigsuspend01.sh b/testcase/syscalls/ltp.syscalls.sigsuspend01.sh new file mode 100755 index 0000000000000000000000000000000000000000..02facf4dc3e6aacc821be003600e1b85972e65e7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sigsuspend01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-510898779 +# @用例名称: ltp.syscalls.sigsuspend01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sigsuspend01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sigsuspend01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sigsuspend02.sh b/testcase/syscalls/ltp.syscalls.sigsuspend02.sh new file mode 100755 index 0000000000000000000000000000000000000000..95d1f6bcb1562a435c14755bf15a284b738f2ba9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sigsuspend02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110843-000035578 +# @用例名称: ltp.syscalls.sigsuspend02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sigsuspend02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sigsuspend02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sigtimedwait01.sh b/testcase/syscalls/ltp.syscalls.sigtimedwait01.sh new file mode 100755 index 0000000000000000000000000000000000000000..cce6a313a7f4155b03a7997cf80e49efd4b72877 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sigtimedwait01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-521448132 +# @用例名称: ltp.syscalls.sigtimedwait01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sigtimedwait01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sigtimedwait01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sigwait01.sh b/testcase/syscalls/ltp.syscalls.sigwait01.sh new file mode 100755 index 0000000000000000000000000000000000000000..6dfb400e7be03efa94ec977bea21905fc2b78fd6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sigwait01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-532059231 +# @用例名称: ltp.syscalls.sigwait01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sigwait01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sigwait01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sigwaitinfo01.sh b/testcase/syscalls/ltp.syscalls.sigwaitinfo01.sh new file mode 100755 index 0000000000000000000000000000000000000000..573765bf07fb595a9c7c8b9121c2b15990557d78 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sigwaitinfo01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-540612989 +# @用例名称: ltp.syscalls.sigwaitinfo01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sigwaitinfo01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sigwaitinfo01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.socket01.sh b/testcase/syscalls/ltp.syscalls.socket01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8a407196fcb3281016634dd3745bcc6598f10f2f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.socket01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-551117017 +# @用例名称: ltp.syscalls.socket01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.socket01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls socket01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.socket02.sh b/testcase/syscalls/ltp.syscalls.socket02.sh new file mode 100755 index 0000000000000000000000000000000000000000..5576789e45b4183b5c3a8bf1caf2a2dd474d01d1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.socket02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-559677208 +# @用例名称: ltp.syscalls.socket02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.socket02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls socket02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.socketcall01.sh b/testcase/syscalls/ltp.syscalls.socketcall01.sh new file mode 100755 index 0000000000000000000000000000000000000000..3430b5c92e5ccdd9919fc4c3e8eafd7c966843f7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.socketcall01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-570068335 +# @用例名称: ltp.syscalls.socketcall01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.socketcall01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls socketcall01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.socketcall02.sh b/testcase/syscalls/ltp.syscalls.socketcall02.sh new file mode 100755 index 0000000000000000000000000000000000000000..01a22ea3480603e28d94fb1566144c44b2626e5e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.socketcall02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-578801389 +# @用例名称: ltp.syscalls.socketcall02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.socketcall02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls socketcall02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.socketcall03.sh b/testcase/syscalls/ltp.syscalls.socketcall03.sh new file mode 100755 index 0000000000000000000000000000000000000000..05c806132caadf916fb3cec64ffc6cc472bc008c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.socketcall03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-587340370 +# @用例名称: ltp.syscalls.socketcall03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.socketcall03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls socketcall03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.socketpair01.sh b/testcase/syscalls/ltp.syscalls.socketpair01.sh new file mode 100755 index 0000000000000000000000000000000000000000..5559c762baba9b1dfa1791bf2141436aab45f2c3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.socketpair01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-597816376 +# @用例名称: ltp.syscalls.socketpair01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.socketpair01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls socketpair01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.socketpair02.sh b/testcase/syscalls/ltp.syscalls.socketpair02.sh new file mode 100755 index 0000000000000000000000000000000000000000..bbdecc759124def029d0f193542bd9a019c58e7d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.socketpair02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-608306518 +# @用例名称: ltp.syscalls.socketpair02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.socketpair02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls socketpair02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sockioctl01.sh b/testcase/syscalls/ltp.syscalls.sockioctl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..59e77dd54a892d3ac8f86c52a85797c85a6896ba --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sockioctl01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-618738512 +# @用例名称: ltp.syscalls.sockioctl01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sockioctl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sockioctl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.splice01.sh b/testcase/syscalls/ltp.syscalls.splice01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9c3a6ed9becaf0a954033ecd2848e2354aa4cbad --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.splice01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-629142572 +# @用例名称: ltp.syscalls.splice01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.splice01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls splice01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.splice02.sh b/testcase/syscalls/ltp.syscalls.splice02.sh new file mode 100755 index 0000000000000000000000000000000000000000..df0163e99f05513228822f358b2baf33bcfedcc9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.splice02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-637715367 +# @用例名称: ltp.syscalls.splice02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.splice02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls splice02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.splice03.sh b/testcase/syscalls/ltp.syscalls.splice03.sh new file mode 100755 index 0000000000000000000000000000000000000000..7993f8c4df53ffecfbd572befec2440866d3e0b2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.splice03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-646250981 +# @用例名称: ltp.syscalls.splice03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.splice03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls splice03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.splice04.sh b/testcase/syscalls/ltp.syscalls.splice04.sh new file mode 100755 index 0000000000000000000000000000000000000000..873cf8281dd004d752dd4f0f6159c66ca5c43935 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.splice04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-654795853 +# @用例名称: ltp.syscalls.splice04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.splice04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls splice04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.splice05.sh b/testcase/syscalls/ltp.syscalls.splice05.sh new file mode 100755 index 0000000000000000000000000000000000000000..5e5577b22fca7a898d8adf3a73f6aba17e503862 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.splice05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-663523207 +# @用例名称: ltp.syscalls.splice05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.splice05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls splice05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.splice06.sh b/testcase/syscalls/ltp.syscalls.splice06.sh new file mode 100755 index 0000000000000000000000000000000000000000..db2ae380ca60c62d0e6b6f5d63adf4dd72a8330b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.splice06.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172840-131030167 +# @用例名称: ltp.syscalls.splice06 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.splice06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls splice06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.splice07.sh b/testcase/syscalls/ltp.syscalls.splice07.sh new file mode 100755 index 0000000000000000000000000000000000000000..c33dc5e1046e19cb1507f497ba58244baf154db5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.splice07.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172840-208100205 +# @用例名称: ltp.syscalls.splice07 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.splice07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls splice07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.splice08.sh b/testcase/syscalls/ltp.syscalls.splice08.sh new file mode 100755 index 0000000000000000000000000000000000000000..d45859cd9afc6ef43eac17b1f656b47514aa8ee5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.splice08.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172840-285980029 +# @用例名称: ltp.syscalls.splice08 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.splice08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls splice08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.splice09.sh b/testcase/syscalls/ltp.syscalls.splice09.sh new file mode 100755 index 0000000000000000000000000000000000000000..fd748cfcd55240c808009843e7ba6482ba211f60 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.splice09.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172840-358528143 +# @用例名称: ltp.syscalls.splice09 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.splice09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls splice09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ssetmask01.sh b/testcase/syscalls/ltp.syscalls.ssetmask01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e3b620b4144bef1b1402c08d47529c8c6a8bab69 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ssetmask01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-693632737 +# @用例名称: ltp.syscalls.ssetmask01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ssetmask01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ssetmask01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.stat01.sh b/testcase/syscalls/ltp.syscalls.stat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..2be46b7e901ac2c131a84a518c40defd8e603d7a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.stat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-704188572 +# @用例名称: ltp.syscalls.stat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.stat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls stat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.stat01_64.sh b/testcase/syscalls/ltp.syscalls.stat01_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..2db8ffd77f3387424577d2507ce9652fbcf9f1eb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.stat01_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-712815367 +# @用例名称: ltp.syscalls.stat01_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.stat01_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls stat01_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.stat02.sh b/testcase/syscalls/ltp.syscalls.stat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..0bd1910ea9b39fb7b130db70cdb1bbbc66bfbe95 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.stat02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-721336735 +# @用例名称: ltp.syscalls.stat02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.stat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls stat02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.stat02_64.sh b/testcase/syscalls/ltp.syscalls.stat02_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..1562c091393fdb7e2574d42ddfefd00438625866 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.stat02_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-729856550 +# @用例名称: ltp.syscalls.stat02_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.stat02_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls stat02_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.stat03.sh b/testcase/syscalls/ltp.syscalls.stat03.sh new file mode 100755 index 0000000000000000000000000000000000000000..f734d382644a4c0dd7c5d384af67c0c118770e26 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.stat03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-738361897 +# @用例名称: ltp.syscalls.stat03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.stat03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls stat03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.stat03_64.sh b/testcase/syscalls/ltp.syscalls.stat03_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..7449f54de3449a8ede362b343c043569bed2d6b7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.stat03_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-746937116 +# @用例名称: ltp.syscalls.stat03_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.stat03_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls stat03_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.stat04.sh b/testcase/syscalls/ltp.syscalls.stat04.sh new file mode 100755 index 0000000000000000000000000000000000000000..14d2ad9eb3770f44e1485a4e3764f1adba344275 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.stat04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-755569231 +# @用例名称: ltp.syscalls.stat04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.stat04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls stat04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.stat04_64.sh b/testcase/syscalls/ltp.syscalls.stat04_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..25a319fa4d7015e6e68efd409b9480742358e6ba --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.stat04_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-764099095 +# @用例名称: ltp.syscalls.stat04_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.stat04_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls stat04_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statfs01.sh b/testcase/syscalls/ltp.syscalls.statfs01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9a3f6994ce371c4339ee7741eb7848897da24890 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statfs01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-774715654 +# @用例名称: ltp.syscalls.statfs01 +# @用例级别: 0 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statfs01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statfs01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statfs01_64.sh b/testcase/syscalls/ltp.syscalls.statfs01_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..35835938b766e6a71e19bc598f26ee3cc2fe5a09 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statfs01_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-783333532 +# @用例名称: ltp.syscalls.statfs01_64 +# @用例级别: 0 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statfs01_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statfs01_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statfs02.sh b/testcase/syscalls/ltp.syscalls.statfs02.sh new file mode 100755 index 0000000000000000000000000000000000000000..e456a079e7a1695a7edc888027dec12247d7f4c9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statfs02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-791908350 +# @用例名称: ltp.syscalls.statfs02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statfs02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statfs02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statfs02_64.sh b/testcase/syscalls/ltp.syscalls.statfs02_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..f7704fcd7c9eb2a8184678dffdce2a48b1d125ab --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statfs02_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-800546938 +# @用例名称: ltp.syscalls.statfs02_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statfs02_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statfs02_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statfs03.sh b/testcase/syscalls/ltp.syscalls.statfs03.sh new file mode 100755 index 0000000000000000000000000000000000000000..2246edeb572ed0d39d9150ffc7a15e6e553db688 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statfs03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-809156610 +# @用例名称: ltp.syscalls.statfs03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statfs03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statfs03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statfs03_64.sh b/testcase/syscalls/ltp.syscalls.statfs03_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..ac4e83e5dee370e825f95343d6d99b2188ddf57b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statfs03_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-817812459 +# @用例名称: ltp.syscalls.statfs03_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statfs03_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statfs03_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statmount01.sh b/testcase/syscalls/ltp.syscalls.statmount01.sh new file mode 100755 index 0000000000000000000000000000000000000000..ff51b96096418423332c3c772d5f018d095b9ecf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statmount01.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110843-084978174 +# @用例名称: ltp.syscalls.statmount01 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statmount01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statmount01 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statmount02.sh b/testcase/syscalls/ltp.syscalls.statmount02.sh new file mode 100755 index 0000000000000000000000000000000000000000..8cad1a0bf952ee56766683a594d87d31d23086af --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statmount02.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110843-170558295 +# @用例名称: ltp.syscalls.statmount02 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statmount02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statmount02 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statmount03.sh b/testcase/syscalls/ltp.syscalls.statmount03.sh new file mode 100755 index 0000000000000000000000000000000000000000..2575accb561a94859ad8a44081a58d64931d9230 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statmount03.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110843-258580313 +# @用例名称: ltp.syscalls.statmount03 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statmount03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statmount03 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statmount04.sh b/testcase/syscalls/ltp.syscalls.statmount04.sh new file mode 100755 index 0000000000000000000000000000000000000000..374f654f7774f5d051d597fd7168781299bd8f45 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statmount04.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110843-344129526 +# @用例名称: ltp.syscalls.statmount04 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statmount04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statmount04 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statmount05.sh b/testcase/syscalls/ltp.syscalls.statmount05.sh new file mode 100755 index 0000000000000000000000000000000000000000..81e0ae3941e2e365e2b309edbcb8201a29ea0dd4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statmount05.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110843-428291698 +# @用例名称: ltp.syscalls.statmount05 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statmount05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statmount05 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statmount06.sh b/testcase/syscalls/ltp.syscalls.statmount06.sh new file mode 100755 index 0000000000000000000000000000000000000000..06981c6f287239d19aef277c0dc3e96bedca2f04 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statmount06.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110843-513921658 +# @用例名称: ltp.syscalls.statmount06 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statmount06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statmount06 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statmount07.sh b/testcase/syscalls/ltp.syscalls.statmount07.sh new file mode 100755 index 0000000000000000000000000000000000000000..37d732f72d194607e86fde49681daaeda7396d00 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statmount07.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110843-598366234 +# @用例名称: ltp.syscalls.statmount07 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statmount07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statmount07 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statmount08.sh b/testcase/syscalls/ltp.syscalls.statmount08.sh new file mode 100755 index 0000000000000000000000000000000000000000..895f0887ecb78c401eeb4394968590569c98945b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statmount08.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110843-683226971 +# @用例名称: ltp.syscalls.statmount08 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statmount08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statmount08 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statvfs01.sh b/testcase/syscalls/ltp.syscalls.statvfs01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4cffed3476847550935cd036ba173dd2b3610c84 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statvfs01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-828463283 +# @用例名称: ltp.syscalls.statvfs01 +# @用例级别: 0 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statvfs01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statvfs01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statvfs02.sh b/testcase/syscalls/ltp.syscalls.statvfs02.sh new file mode 100755 index 0000000000000000000000000000000000000000..9a38531890ecfc4a02bc504ccb5f44e062e104c6 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statvfs02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-837036728 +# @用例名称: ltp.syscalls.statvfs02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statvfs02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statvfs02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statx01.sh b/testcase/syscalls/ltp.syscalls.statx01.sh new file mode 100755 index 0000000000000000000000000000000000000000..974873a5d754cb446e6ede0fbecb44c8d5f28029 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statx01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-416910092 +# @用例名称: ltp.syscalls.statx01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statx01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statx01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statx02.sh b/testcase/syscalls/ltp.syscalls.statx02.sh new file mode 100755 index 0000000000000000000000000000000000000000..aa30f48aa0f22830c48c723545a246e64c8ac35c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statx02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-425594064 +# @用例名称: ltp.syscalls.statx02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statx02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statx02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statx03.sh b/testcase/syscalls/ltp.syscalls.statx03.sh new file mode 100755 index 0000000000000000000000000000000000000000..24e64f3a4b94a8f8f5bd1f7ccd85c79c480f9bc0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statx03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-434423729 +# @用例名称: ltp.syscalls.statx03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statx03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statx03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statx04.sh b/testcase/syscalls/ltp.syscalls.statx04.sh new file mode 100755 index 0000000000000000000000000000000000000000..c0499a6423a8514a88d6efb91fa5e6785c305bf7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statx04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-442975113 +# @用例名称: ltp.syscalls.statx04 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statx04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statx04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statx05.sh b/testcase/syscalls/ltp.syscalls.statx05.sh new file mode 100755 index 0000000000000000000000000000000000000000..de16d22276dfc6470e0c62fc94bf341f6e1a5e17 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statx05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-451418505 +# @用例名称: ltp.syscalls.statx05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statx05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statx05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statx06.sh b/testcase/syscalls/ltp.syscalls.statx06.sh new file mode 100755 index 0000000000000000000000000000000000000000..0af6c04a781acbb66c5b2b3aee1dcaa1b223706a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statx06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-460984838 +# @用例名称: ltp.syscalls.statx06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statx06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statx06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statx07.sh b/testcase/syscalls/ltp.syscalls.statx07.sh new file mode 100755 index 0000000000000000000000000000000000000000..544d3c83c34d37b8370a35cb53da0abbac6eb032 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statx07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-469924980 +# @用例名称: ltp.syscalls.statx07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statx07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statx07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statx08.sh b/testcase/syscalls/ltp.syscalls.statx08.sh new file mode 100755 index 0000000000000000000000000000000000000000..f83288c893dfbc0a4b438b5747e9f5c88a3b5769 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statx08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-478549381 +# @用例名称: ltp.syscalls.statx08 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statx08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statx08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statx09.sh b/testcase/syscalls/ltp.syscalls.statx09.sh new file mode 100755 index 0000000000000000000000000000000000000000..db1a040326d333ee76e15b9c1d9eb7b7749beb28 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statx09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141853-875641651 +# @用例名称: ltp.syscalls.statx09 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statx09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statx09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statx10.sh b/testcase/syscalls/ltp.syscalls.statx10.sh new file mode 100755 index 0000000000000000000000000000000000000000..3dc48245dd000b763670df698275858927aab7b5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statx10.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172840-584054722 +# @用例名称: ltp.syscalls.statx10 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statx10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statx10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statx11.sh b/testcase/syscalls/ltp.syscalls.statx11.sh new file mode 100755 index 0000000000000000000000000000000000000000..2515d9270fed4c393209936007dbb4ba21589188 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statx11.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172840-657891603 +# @用例名称: ltp.syscalls.statx11 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statx11 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statx11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.statx12.sh b/testcase/syscalls/ltp.syscalls.statx12.sh new file mode 100755 index 0000000000000000000000000000000000000000..282477683399a8f7a75bcf25926978bf8dd42625 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.statx12.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172840-729975190 +# @用例名称: ltp.syscalls.statx12 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.statx12 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls statx12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.stime01.sh b/testcase/syscalls/ltp.syscalls.stime01.sh new file mode 100755 index 0000000000000000000000000000000000000000..3676e141c79c7f8be7ea945fd089baf5e08ff3fe --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.stime01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-847601491 +# @用例名称: ltp.syscalls.stime01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.stime01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls stime01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.stime02.sh b/testcase/syscalls/ltp.syscalls.stime02.sh new file mode 100755 index 0000000000000000000000000000000000000000..d1b56d68cb4e7eade12943d63b5c2ff4908c6216 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.stime02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-856123610 +# @用例名称: ltp.syscalls.stime02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.stime02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls stime02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.string01.sh b/testcase/syscalls/ltp.syscalls.string01.sh new file mode 100755 index 0000000000000000000000000000000000000000..788ce40c0fd172c3c810c8366b1cb8c0aa2457a5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.string01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-867058614 +# @用例名称: ltp.syscalls.string01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.string01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls string01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.swapoff01.sh b/testcase/syscalls/ltp.syscalls.swapoff01.sh new file mode 100755 index 0000000000000000000000000000000000000000..9d7e234369364aa5b9fcaf45cc43f8143b063830 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.swapoff01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-877620491 +# @用例名称: ltp.syscalls.swapoff01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.swapoff01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls swapoff01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.swapoff02.sh b/testcase/syscalls/ltp.syscalls.swapoff02.sh new file mode 100755 index 0000000000000000000000000000000000000000..8c17ca415b64c7336a5d368afa868e381c60321c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.swapoff02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-886235775 +# @用例名称: ltp.syscalls.swapoff02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.swapoff02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls swapoff02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.swapon01.sh b/testcase/syscalls/ltp.syscalls.swapon01.sh new file mode 100755 index 0000000000000000000000000000000000000000..69d8ce10a433bb0a5954867e8f4c3d0502182666 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.swapon01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-896813762 +# @用例名称: ltp.syscalls.swapon01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.swapon01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls swapon01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.swapon02.sh b/testcase/syscalls/ltp.syscalls.swapon02.sh new file mode 100755 index 0000000000000000000000000000000000000000..bfbddbc551dfde75c09d798129145c03512e3b51 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.swapon02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-905340258 +# @用例名称: ltp.syscalls.swapon02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.swapon02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls swapon02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.swapon03.sh b/testcase/syscalls/ltp.syscalls.swapon03.sh new file mode 100755 index 0000000000000000000000000000000000000000..b0fc6f86658c321784ee5f30c73ae9da160c11ab --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.swapon03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-913910768 +# @用例名称: ltp.syscalls.swapon03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.swapon03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls swapon03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.switch01.sh b/testcase/syscalls/ltp.syscalls.switch01.sh new file mode 100755 index 0000000000000000000000000000000000000000..80cb1a341c4ca32aad0796ef12ceeda1e76b74c2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.switch01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-925410039 +# @用例名称: ltp.syscalls.switch01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.switch01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls switch01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.symlink02.sh b/testcase/syscalls/ltp.syscalls.symlink02.sh new file mode 100755 index 0000000000000000000000000000000000000000..afc9776257fda10d128453742ad49aa4c576fcb4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.symlink02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-944612537 +# @用例名称: ltp.syscalls.symlink02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.symlink02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls symlink02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.symlink03.sh b/testcase/syscalls/ltp.syscalls.symlink03.sh new file mode 100755 index 0000000000000000000000000000000000000000..d313c676a5da87684e90f67193e3a971ec74b7ea --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.symlink03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-953160204 +# @用例名称: ltp.syscalls.symlink03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.symlink03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls symlink03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.symlink04.sh b/testcase/syscalls/ltp.syscalls.symlink04.sh new file mode 100755 index 0000000000000000000000000000000000000000..6a66a09095de0dd9c7bfd863c49e7948e64a7005 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.symlink04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-962110625 +# @用例名称: ltp.syscalls.symlink04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.symlink04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls symlink04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.symlinkat01.sh b/testcase/syscalls/ltp.syscalls.symlinkat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..bbc71e4e3a7eb394a3cce2157586e0b4872f51c2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.symlinkat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-990738663 +# @用例名称: ltp.syscalls.symlinkat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.symlinkat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls symlinkat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sync01.sh b/testcase/syscalls/ltp.syscalls.sync01.sh new file mode 100755 index 0000000000000000000000000000000000000000..32088b6b037b0a8326ee0d2a33cf6017da7dd915 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sync01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-001260023 +# @用例名称: ltp.syscalls.sync01 +# @用例级别: 2 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sync01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sync01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sync_file_range01.sh b/testcase/syscalls/ltp.syscalls.sync_file_range01.sh new file mode 100755 index 0000000000000000000000000000000000000000..3debacc3ae06e9ee2156d58f812aebc5240f20c7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sync_file_range01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-023361346 +# @用例名称: ltp.syscalls.sync_file_range01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sync_file_range01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sync_file_range01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sync_file_range02.sh b/testcase/syscalls/ltp.syscalls.sync_file_range02.sh new file mode 100755 index 0000000000000000000000000000000000000000..dcb2c81e4c70c09c2dc463c18a15e8aa767b767b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sync_file_range02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-032003039 +# @用例名称: ltp.syscalls.sync_file_range02 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sync_file_range02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sync_file_range02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.syncfs01.sh b/testcase/syscalls/ltp.syscalls.syncfs01.sh new file mode 100755 index 0000000000000000000000000000000000000000..aafaf8660ddd4aa8ae28debadba3419551e65d7b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.syncfs01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-011889496 +# @用例名称: ltp.syscalls.syncfs01 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.syncfs01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls syncfs01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.syscall01.sh b/testcase/syscalls/ltp.syscalls.syscall01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8218734bb0322a6264bb55821170c4bc5d89a905 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.syscall01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-042867652 +# @用例名称: ltp.syscalls.syscall01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.syscall01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls syscall01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sysconf01.sh b/testcase/syscalls/ltp.syscalls.sysconf01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c5a7246c1b02bb51b629d0bf3111ec8e2e81d496 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sysconf01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-054105403 +# @用例名称: ltp.syscalls.sysconf01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sysconf01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sysconf01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sysctl01.sh b/testcase/syscalls/ltp.syscalls.sysctl01.sh new file mode 100755 index 0000000000000000000000000000000000000000..5ab3583d0ef4a50e34963c26380e1094f5f6003e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sysctl01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-065478238 +# @用例名称: ltp.syscalls.sysctl01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sysctl01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sysctl01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sysctl03.sh b/testcase/syscalls/ltp.syscalls.sysctl03.sh new file mode 100755 index 0000000000000000000000000000000000000000..4b376888dad343fe26ad05921bfd72085c7a9c1f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sysctl03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-074330375 +# @用例名称: ltp.syscalls.sysctl03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sysctl03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sysctl03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sysctl04.sh b/testcase/syscalls/ltp.syscalls.sysctl04.sh new file mode 100755 index 0000000000000000000000000000000000000000..27d0067b376833892936e53cf0082292017c25b3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sysctl04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-082977257 +# @用例名称: ltp.syscalls.sysctl04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sysctl04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sysctl04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sysfs01.sh b/testcase/syscalls/ltp.syscalls.sysfs01.sh new file mode 100755 index 0000000000000000000000000000000000000000..10ad9ff46ee95b11e0069934ba72e1f4b241bbac --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sysfs01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-093441181 +# @用例名称: ltp.syscalls.sysfs01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sysfs01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sysfs01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sysfs02.sh b/testcase/syscalls/ltp.syscalls.sysfs02.sh new file mode 100755 index 0000000000000000000000000000000000000000..126001f70f0e431bad4c5bcbdba0d154e8289ee7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sysfs02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-105855744 +# @用例名称: ltp.syscalls.sysfs02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sysfs02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sysfs02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sysfs03.sh b/testcase/syscalls/ltp.syscalls.sysfs03.sh new file mode 100755 index 0000000000000000000000000000000000000000..fac6ea7c226e87356c8773105a3e218781f1342d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sysfs03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-114663999 +# @用例名称: ltp.syscalls.sysfs03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sysfs03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sysfs03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sysfs04.sh b/testcase/syscalls/ltp.syscalls.sysfs04.sh new file mode 100755 index 0000000000000000000000000000000000000000..abac24d825d85f27243645374d3b4ece681998bd --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sysfs04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-123176290 +# @用例名称: ltp.syscalls.sysfs04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sysfs04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sysfs04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sysfs05.sh b/testcase/syscalls/ltp.syscalls.sysfs05.sh new file mode 100755 index 0000000000000000000000000000000000000000..412bec05a55b1d8fe76f7b32232659df3c338832 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sysfs05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-132017347 +# @用例名称: ltp.syscalls.sysfs05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sysfs05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sysfs05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sysinfo01.sh b/testcase/syscalls/ltp.syscalls.sysinfo01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d3edd8af2b90263b7975cff64d39f64815e84139 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sysinfo01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-142420536 +# @用例名称: ltp.syscalls.sysinfo01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sysinfo01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sysinfo01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sysinfo02.sh b/testcase/syscalls/ltp.syscalls.sysinfo02.sh new file mode 100755 index 0000000000000000000000000000000000000000..0afe705a01af053a942f22810d4b0a5e0c9932d9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sysinfo02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-150988060 +# @用例名称: ltp.syscalls.sysinfo02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sysinfo02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sysinfo02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.sysinfo03.sh b/testcase/syscalls/ltp.syscalls.sysinfo03.sh new file mode 100755 index 0000000000000000000000000000000000000000..044e7a9826bfb9a3f87b7c30ccd631d6c7514522 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.sysinfo03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-160120322 +# @用例名称: ltp.syscalls.sysinfo03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.sysinfo03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls sysinfo03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.syslog11.sh b/testcase/syscalls/ltp.syscalls.syslog11.sh new file mode 100755 index 0000000000000000000000000000000000000000..d889ae7bab21838028282115121fca836f6f99d3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.syslog11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-257497864 +# @用例名称: ltp.syscalls.syslog11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.syslog11 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls syslog11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.syslog12.sh b/testcase/syscalls/ltp.syscalls.syslog12.sh new file mode 100755 index 0000000000000000000000000000000000000000..8caadf6091e75edbc446bc8802c70efa927ce031 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.syslog12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-266486827 +# @用例名称: ltp.syscalls.syslog12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.syslog12 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls syslog12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.tee01.sh b/testcase/syscalls/ltp.syscalls.tee01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a58fb69c09e326f6915801afdebaf71162d436e1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.tee01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-674192784 +# @用例名称: ltp.syscalls.tee01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.tee01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls tee01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.tee02.sh b/testcase/syscalls/ltp.syscalls.tee02.sh new file mode 100755 index 0000000000000000000000000000000000000000..5d03d9cc4a25939ad382579a4039df06ad6ff4b7 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.tee02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213022-682887167 +# @用例名称: ltp.syscalls.tee02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.tee02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls tee02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.tgkill01.sh b/testcase/syscalls/ltp.syscalls.tgkill01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8a359785ff98f30e31b34c627b93512ada1daaec --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.tgkill01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-277195869 +# @用例名称: ltp.syscalls.tgkill01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.tgkill01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls tgkill01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.tgkill02.sh b/testcase/syscalls/ltp.syscalls.tgkill02.sh new file mode 100755 index 0000000000000000000000000000000000000000..a6fc995eaedfbae05fbdfb5e420385f62718044d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.tgkill02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-285851999 +# @用例名称: ltp.syscalls.tgkill02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.tgkill02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls tgkill02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.tgkill03.sh b/testcase/syscalls/ltp.syscalls.tgkill03.sh new file mode 100755 index 0000000000000000000000000000000000000000..94483133b5fc055ff44cc63af0e195c42d3b8d81 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.tgkill03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-294312513 +# @用例名称: ltp.syscalls.tgkill03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.tgkill03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls tgkill03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.time01.sh b/testcase/syscalls/ltp.syscalls.time01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f3814999419de8de52711fdd167c06ded2a74f69 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.time01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-304668063 +# @用例名称: ltp.syscalls.time01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.time01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls time01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.timer_create01.sh b/testcase/syscalls/ltp.syscalls.timer_create01.sh new file mode 100755 index 0000000000000000000000000000000000000000..a160b74f05201ab3f9f3dcaa681c1caac3885446 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.timer_create01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-415650598 +# @用例名称: ltp.syscalls.timer_create01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.timer_create01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls timer_create01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.timer_create02.sh b/testcase/syscalls/ltp.syscalls.timer_create02.sh new file mode 100755 index 0000000000000000000000000000000000000000..791b3671bc0d75949ca8152ad485a641f2937fbe --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.timer_create02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-424215137 +# @用例名称: ltp.syscalls.timer_create02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.timer_create02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls timer_create02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.timer_create03.sh b/testcase/syscalls/ltp.syscalls.timer_create03.sh new file mode 100755 index 0000000000000000000000000000000000000000..3fea9985be01be6268d76ccbfead2e4717da370a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.timer_create03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-432870565 +# @用例名称: ltp.syscalls.timer_create03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.timer_create03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls timer_create03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.timer_delete01.sh b/testcase/syscalls/ltp.syscalls.timer_delete01.sh new file mode 100755 index 0000000000000000000000000000000000000000..95756c3fa8bdff69b3177160f38f3a219a14d379 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.timer_delete01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-443304011 +# @用例名称: ltp.syscalls.timer_delete01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.timer_delete01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls timer_delete01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.timer_delete02.sh b/testcase/syscalls/ltp.syscalls.timer_delete02.sh new file mode 100755 index 0000000000000000000000000000000000000000..9cc18c2781fe10a59700ba2b7a0dda7b77693eec --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.timer_delete02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-451840537 +# @用例名称: ltp.syscalls.timer_delete02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.timer_delete02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls timer_delete02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.timer_getoverrun01.sh b/testcase/syscalls/ltp.syscalls.timer_getoverrun01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c5ee54165dcc9efb912200c929291f0880797eac --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.timer_getoverrun01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-462343433 +# @用例名称: ltp.syscalls.timer_getoverrun01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.timer_getoverrun01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls timer_getoverrun01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.timer_gettime01.sh b/testcase/syscalls/ltp.syscalls.timer_gettime01.sh new file mode 100755 index 0000000000000000000000000000000000000000..b83f10697742cef9c39a5f1f7f05873de422df57 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.timer_gettime01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-471428857 +# @用例名称: ltp.syscalls.timer_gettime01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.timer_gettime01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls timer_gettime01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.timer_settime01.sh b/testcase/syscalls/ltp.syscalls.timer_settime01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d70a8760ac44ec8c21552c86a8e55566e27dcd04 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.timer_settime01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-482016983 +# @用例名称: ltp.syscalls.timer_settime01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.timer_settime01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls timer_settime01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.timer_settime02.sh b/testcase/syscalls/ltp.syscalls.timer_settime02.sh new file mode 100755 index 0000000000000000000000000000000000000000..dc9277d47f41aa6228b47b615b5d8843e4d388b8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.timer_settime02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-490610556 +# @用例名称: ltp.syscalls.timer_settime02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.timer_settime02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls timer_settime02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.timer_settime03.sh b/testcase/syscalls/ltp.syscalls.timer_settime03.sh new file mode 100755 index 0000000000000000000000000000000000000000..311df14efc12f24a8949f8cdbfe13e8023c67792 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.timer_settime03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-499161679 +# @用例名称: ltp.syscalls.timer_settime03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.timer_settime03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls timer_settime03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.timerfd01.sh b/testcase/syscalls/ltp.syscalls.timerfd01.sh new file mode 100755 index 0000000000000000000000000000000000000000..2f57852cffd4b1396f506008655a1552b6a676d9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.timerfd01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-336927337 +# @用例名称: ltp.syscalls.timerfd01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.timerfd01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls timerfd01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.timerfd02.sh b/testcase/syscalls/ltp.syscalls.timerfd02.sh new file mode 100755 index 0000000000000000000000000000000000000000..2284ff5ea8c37f704ce61839d9553eff4a5995e1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.timerfd02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-349463929 +# @用例名称: ltp.syscalls.timerfd02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.timerfd02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls timerfd02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.timerfd04.sh b/testcase/syscalls/ltp.syscalls.timerfd04.sh new file mode 100755 index 0000000000000000000000000000000000000000..ac595a918400a59734fb8d1e8572b39587ca1c55 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.timerfd04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-368226103 +# @用例名称: ltp.syscalls.timerfd04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.timerfd04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls timerfd04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.timerfd_create01.sh b/testcase/syscalls/ltp.syscalls.timerfd_create01.sh new file mode 100755 index 0000000000000000000000000000000000000000..200206808f7615442e1e16c20b851dc17d067b3d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.timerfd_create01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-378229604 +# @用例名称: ltp.syscalls.timerfd_create01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.timerfd_create01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls timerfd_create01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.timerfd_gettime01.sh b/testcase/syscalls/ltp.syscalls.timerfd_gettime01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e9b7779e5cc28ed6dd5cdcb1c49b7fc8652bd62e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.timerfd_gettime01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-387801979 +# @用例名称: ltp.syscalls.timerfd_gettime01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.timerfd_gettime01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls timerfd_gettime01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.timerfd_settime01.sh b/testcase/syscalls/ltp.syscalls.timerfd_settime01.sh new file mode 100755 index 0000000000000000000000000000000000000000..379f7918139140745d7d2cde12f225aa5cb9488e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.timerfd_settime01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-396357251 +# @用例名称: ltp.syscalls.timerfd_settime01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.timerfd_settime01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls timerfd_settime01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.timerfd_settime02.sh b/testcase/syscalls/ltp.syscalls.timerfd_settime02.sh new file mode 100755 index 0000000000000000000000000000000000000000..5d302805eedde89a0913ff80700965f52adbf1b3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.timerfd_settime02.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-405007068 +# @用例名称: ltp.syscalls.timerfd_settime02 +# @用例级别: 1 +# @用例标签: +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.timerfd_settime02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls timerfd_settime02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.times01.sh b/testcase/syscalls/ltp.syscalls.times01.sh new file mode 100755 index 0000000000000000000000000000000000000000..dd8eaced4846f5c8891c8247f536347b1cf2b4e1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.times01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-315166461 +# @用例名称: ltp.syscalls.times01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.times01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls times01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.times03.sh b/testcase/syscalls/ltp.syscalls.times03.sh new file mode 100755 index 0000000000000000000000000000000000000000..c62187ec6d7eb013e2151e94082a8647c0e17781 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.times03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-323602960 +# @用例名称: ltp.syscalls.times03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.times03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls times03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.tkill01.sh b/testcase/syscalls/ltp.syscalls.tkill01.sh new file mode 100755 index 0000000000000000000000000000000000000000..50e51b1135e58c3b131577b49a6aead8ddaf6dab --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.tkill01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-509760756 +# @用例名称: ltp.syscalls.tkill01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.tkill01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls tkill01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.tkill02.sh b/testcase/syscalls/ltp.syscalls.tkill02.sh new file mode 100755 index 0000000000000000000000000000000000000000..47675adbd210daa4948aba6f3f227d0a2016baac --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.tkill02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-518381099 +# @用例名称: ltp.syscalls.tkill02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.tkill02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls tkill02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.truncate02.sh b/testcase/syscalls/ltp.syscalls.truncate02.sh new file mode 100755 index 0000000000000000000000000000000000000000..ddb5bce96828c396c90ac0c051aa41fa8f4db737 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.truncate02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-528982069 +# @用例名称: ltp.syscalls.truncate02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.truncate02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls truncate02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.truncate02_64.sh b/testcase/syscalls/ltp.syscalls.truncate02_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..8d4335a187186e741b2586174f9871e58a03124f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.truncate02_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-538170866 +# @用例名称: ltp.syscalls.truncate02_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.truncate02_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls truncate02_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.truncate03.sh b/testcase/syscalls/ltp.syscalls.truncate03.sh new file mode 100755 index 0000000000000000000000000000000000000000..f6f5a835485f93e9730a1efb05f04ca85d1f5508 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.truncate03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-546777442 +# @用例名称: ltp.syscalls.truncate03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.truncate03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls truncate03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.truncate03_64.sh b/testcase/syscalls/ltp.syscalls.truncate03_64.sh new file mode 100755 index 0000000000000000000000000000000000000000..800234713c06cded77d651532372b1b16fe97c38 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.truncate03_64.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-555233819 +# @用例名称: ltp.syscalls.truncate03_64 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.truncate03_64 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls truncate03_64 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ulimit01.sh b/testcase/syscalls/ltp.syscalls.ulimit01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4bb73d93cabbccf599ff3fcd06265bc3cbaa93ca --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ulimit01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-570145557 +# @用例名称: ltp.syscalls.ulimit01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ulimit01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ulimit01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.umask01.sh b/testcase/syscalls/ltp.syscalls.umask01.sh new file mode 100755 index 0000000000000000000000000000000000000000..7bf516af61da145a2a2b8a4f106c3739dcd375f5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.umask01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-580542995 +# @用例名称: ltp.syscalls.umask01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.umask01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls umask01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.umount01.sh b/testcase/syscalls/ltp.syscalls.umount01.sh new file mode 100755 index 0000000000000000000000000000000000000000..1dfcbb5e7829fdded568a35489aa80445d7f5386 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.umount01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-690745981 +# @用例名称: ltp.syscalls.umount01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.umount01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls umount01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.umount02.sh b/testcase/syscalls/ltp.syscalls.umount02.sh new file mode 100755 index 0000000000000000000000000000000000000000..e5ff4f32dab07721a517b8750284e626684daa6f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.umount02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-699445041 +# @用例名称: ltp.syscalls.umount02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.umount02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls umount02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.umount03.sh b/testcase/syscalls/ltp.syscalls.umount03.sh new file mode 100755 index 0000000000000000000000000000000000000000..6e4f20e7fd399c26988f6f374037ca8415da525c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.umount03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-708174177 +# @用例名称: ltp.syscalls.umount03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.umount03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls umount03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.umount2_01.sh b/testcase/syscalls/ltp.syscalls.umount2_01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f2477798ccaf298eec50d3f84e3ca3d8c27afb47 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.umount2_01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-718802479 +# @用例名称: ltp.syscalls.umount2_01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.umount2_01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls umount2_01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.umount2_02.sh b/testcase/syscalls/ltp.syscalls.umount2_02.sh new file mode 100755 index 0000000000000000000000000000000000000000..46c099169aec6c2d08eeefd865534ee1e6799cdb --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.umount2_02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-727532316 +# @用例名称: ltp.syscalls.umount2_02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.umount2_02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls umount2_02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.uname01.sh b/testcase/syscalls/ltp.syscalls.uname01.sh new file mode 100755 index 0000000000000000000000000000000000000000..38f194a16748e1473a26054ae9fd770fba98623f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.uname01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-591016797 +# @用例名称: ltp.syscalls.uname01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.uname01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls uname01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.uname02.sh b/testcase/syscalls/ltp.syscalls.uname02.sh new file mode 100755 index 0000000000000000000000000000000000000000..0d27bc7908ab9434548b6ee8313be17fbe8fba8a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.uname02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-599411347 +# @用例名称: ltp.syscalls.uname02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.uname02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls uname02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.uname04.sh b/testcase/syscalls/ltp.syscalls.uname04.sh new file mode 100755 index 0000000000000000000000000000000000000000..81ba60ebf9ea6bbc2338288575df5fb35909183a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.uname04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-607952362 +# @用例名称: ltp.syscalls.uname04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.uname04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls uname04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.unlink05.sh b/testcase/syscalls/ltp.syscalls.unlink05.sh new file mode 100755 index 0000000000000000000000000000000000000000..3507318a493d62180ee37936d30d652597892a14 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.unlink05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-627024566 +# @用例名称: ltp.syscalls.unlink05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.unlink05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls unlink05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.unlink07.sh b/testcase/syscalls/ltp.syscalls.unlink07.sh new file mode 100755 index 0000000000000000000000000000000000000000..f5e9bcc17a81818e38dbcd4f3bcea0bdf28495a5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.unlink07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-635750427 +# @用例名称: ltp.syscalls.unlink07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.unlink07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls unlink07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.unlink08.sh b/testcase/syscalls/ltp.syscalls.unlink08.sh new file mode 100755 index 0000000000000000000000000000000000000000..c06a51c26e437eeb916f37ddd20959dc1245e2e9 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.unlink08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-644342967 +# @用例名称: ltp.syscalls.unlink08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.unlink08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls unlink08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.unlink09.sh b/testcase/syscalls/ltp.syscalls.unlink09.sh new file mode 100755 index 0000000000000000000000000000000000000000..f9bc1623e2754b7f477d13378e0e693e452cf642 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.unlink09.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172840-432737184 +# @用例名称: ltp.syscalls.unlink09 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.unlink09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls unlink09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.unlink10.sh b/testcase/syscalls/ltp.syscalls.unlink10.sh new file mode 100755 index 0000000000000000000000000000000000000000..b46bb921c85b34a9e187f5653b152b54dc3cba72 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.unlink10.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110843-766795787 +# @用例名称: ltp.syscalls.unlink10 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.unlink10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls unlink10 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.unlinkat01.sh b/testcase/syscalls/ltp.syscalls.unlinkat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8af61da346b801c2e00db595d18da4e5b782b825 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.unlinkat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-655677369 +# @用例名称: ltp.syscalls.unlinkat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.unlinkat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls unlinkat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.unshare01.sh b/testcase/syscalls/ltp.syscalls.unshare01.sh new file mode 100755 index 0000000000000000000000000000000000000000..1fd31c77e340633800b06b8aa097b13dd48dfcca --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.unshare01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-666313666 +# @用例名称: ltp.syscalls.unshare01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.unshare01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls unshare01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.unshare02.sh b/testcase/syscalls/ltp.syscalls.unshare02.sh new file mode 100755 index 0000000000000000000000000000000000000000..237f5c3eae263b6ca3d6cc0aa1b6b027eb0a9a7d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.unshare02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-675022023 +# @用例名称: ltp.syscalls.unshare02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.unshare02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls unshare02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.unshare03.sh b/testcase/syscalls/ltp.syscalls.unshare03.sh new file mode 100755 index 0000000000000000000000000000000000000000..da71de7260e83a750fd450ac9dbacffd3fbeb5a8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.unshare03.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110843-854262687 +# @用例名称: ltp.syscalls.unshare03 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.unshare03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls unshare03 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.unshare04.sh b/testcase/syscalls/ltp.syscalls.unshare04.sh new file mode 100755 index 0000000000000000000000000000000000000000..fdd1e7e98616420e5cac6f7e99fe43affd1ee1f2 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.unshare04.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110843-937589527 +# @用例名称: ltp.syscalls.unshare04 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.unshare04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls unshare04 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.unshare05.sh b/testcase/syscalls/ltp.syscalls.unshare05.sh new file mode 100755 index 0000000000000000000000000000000000000000..09053e01f6be43b201c399727da46bf583684bfc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.unshare05.sh @@ -0,0 +1,51 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20250722-110844-020052917 +# @用例名称: ltp.syscalls.unshare05 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +if [ -z "$TST_TS_TOPDIR" ]; then + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/tsuite" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +fi +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.unshare05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls unshare05 + assert_true [ $? -eq 0 ] + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.userfaultfd01.sh b/testcase/syscalls/ltp.syscalls.userfaultfd01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4fef3a3b403513adebbf580ef86f8255f4d67443 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.userfaultfd01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-746725637 +# @用例名称: ltp.syscalls.userfaultfd01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.userfaultfd01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls userfaultfd01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ustat01.sh b/testcase/syscalls/ltp.syscalls.ustat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..1bb8a15443fb7b0793663107ad31f4965137fea3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ustat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-757227652 +# @用例名称: ltp.syscalls.ustat01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ustat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ustat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.ustat02.sh b/testcase/syscalls/ltp.syscalls.ustat02.sh new file mode 100755 index 0000000000000000000000000000000000000000..9c2f34f77fd5d254cd59c9b806aeb84da7e2e304 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.ustat02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-765794585 +# @用例名称: ltp.syscalls.ustat02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.ustat02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls ustat02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.utime01.sh b/testcase/syscalls/ltp.syscalls.utime01.sh new file mode 100755 index 0000000000000000000000000000000000000000..c169960dec98936c435f320fc9763ec859822e80 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.utime01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-776174420 +# @用例名称: ltp.syscalls.utime01 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.utime01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls utime01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.utime02.sh b/testcase/syscalls/ltp.syscalls.utime02.sh new file mode 100755 index 0000000000000000000000000000000000000000..b3db9a4dc6d56a7948938f989734ff0a847b572a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.utime02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-793409135 +# @用例名称: ltp.syscalls.utime02 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.utime02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls utime02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.utime03.sh b/testcase/syscalls/ltp.syscalls.utime03.sh new file mode 100755 index 0000000000000000000000000000000000000000..cf3d89e72c700350db68ce670605434f7d7a67cf --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.utime03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-802189849 +# @用例名称: ltp.syscalls.utime03 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.utime03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls utime03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.utime04.sh b/testcase/syscalls/ltp.syscalls.utime04.sh new file mode 100755 index 0000000000000000000000000000000000000000..1f97a0ed8741ae3e74d404983fae5f50536653d4 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.utime04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-810653629 +# @用例名称: ltp.syscalls.utime04 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.utime04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls utime04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.utime05.sh b/testcase/syscalls/ltp.syscalls.utime05.sh new file mode 100755 index 0000000000000000000000000000000000000000..adf2f8a5d7b417655b9303b5db017ad959339d34 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.utime05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-819197739 +# @用例名称: ltp.syscalls.utime05 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.utime05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls utime05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.utime06.sh b/testcase/syscalls/ltp.syscalls.utime06.sh new file mode 100755 index 0000000000000000000000000000000000000000..7dacf668bba0270d69a589a5cb99edffabcecab0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.utime06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-827876110 +# @用例名称: ltp.syscalls.utime06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.utime06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls utime06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.utime07.sh b/testcase/syscalls/ltp.syscalls.utime07.sh new file mode 100755 index 0000000000000000000000000000000000000000..c4fa1666f3e28938e6216480988a4e2dde0f2df1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.utime07.sh @@ -0,0 +1,52 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20240719-172840-509447802 +# @用例名称: ltp.syscalls.utime07 +# @用例级别: 3 +# @用例标签: +# @扩展属性: +# @用例类型: 功能测试 +# @自动化: 1 +# @超时时间: 0 +# @用例描述: TODO: 简要描述用例测试的内容 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/..")" + while [ "$TST_TS_TOPDIR" != "/" ]; do + [ -f "${TST_TS_TOPDIR}/common/lib/common.sh" ] && break + TST_TS_TOPDIR="$(dirname "$TST_TS_TOPDIR")" + done + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +g_tmpdir="$(mktemp -d)" + +tc_setup() { + msg "this is tc_setup" + + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.utime07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls utime07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + rm -rfv "$g_tmpdir" || return 1 + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.utimensat01.sh b/testcase/syscalls/ltp.syscalls.utimensat01.sh new file mode 100755 index 0000000000000000000000000000000000000000..4601b71233204961ed2af685253ff25bb5d73631 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.utimensat01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-850057363 +# @用例名称: ltp.syscalls.utimensat01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.utimensat01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls utimensat01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.utimes01.sh b/testcase/syscalls/ltp.syscalls.utimes01.sh new file mode 100755 index 0000000000000000000000000000000000000000..e8f91d43a3040da0e3eea1072c8f4f4d2c26b410 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.utimes01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-838395398 +# @用例名称: ltp.syscalls.utimes01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.utimes01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls utimes01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.vfork01.sh b/testcase/syscalls/ltp.syscalls.vfork01.sh new file mode 100755 index 0000000000000000000000000000000000000000..8630d014e49ebd163da903cc56c46c2e869a898f --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.vfork01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-860647322 +# @用例名称: ltp.syscalls.vfork01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.vfork01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls vfork01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.vfork02.sh b/testcase/syscalls/ltp.syscalls.vfork02.sh new file mode 100755 index 0000000000000000000000000000000000000000..e24f2594551a5d24985ed8f405356211737e2949 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.vfork02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-869367853 +# @用例名称: ltp.syscalls.vfork02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.vfork02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls vfork02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.vhangup01.sh b/testcase/syscalls/ltp.syscalls.vhangup01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d78204c6b94ea3f8f085fb318efb960fe9465777 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.vhangup01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-879984732 +# @用例名称: ltp.syscalls.vhangup01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.vhangup01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls vhangup01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.vhangup02.sh b/testcase/syscalls/ltp.syscalls.vhangup02.sh new file mode 100755 index 0000000000000000000000000000000000000000..60d6c27d5b502320549f8ad33e107c9a5798714d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.vhangup02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-888562186 +# @用例名称: ltp.syscalls.vhangup02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.vhangup02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls vhangup02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.vmsplice01.sh b/testcase/syscalls/ltp.syscalls.vmsplice01.sh new file mode 100755 index 0000000000000000000000000000000000000000..59501cb26b7b37913eed6281814a5f77257024ef --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.vmsplice01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-900493635 +# @用例名称: ltp.syscalls.vmsplice01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.vmsplice01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls vmsplice01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.vmsplice02.sh b/testcase/syscalls/ltp.syscalls.vmsplice02.sh new file mode 100755 index 0000000000000000000000000000000000000000..3f9c4f82500421fdfd2120964f8990e2c7e737ab --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.vmsplice02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-909152861 +# @用例名称: ltp.syscalls.vmsplice02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.vmsplice02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls vmsplice02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.vmsplice03.sh b/testcase/syscalls/ltp.syscalls.vmsplice03.sh new file mode 100755 index 0000000000000000000000000000000000000000..ac4f95a0e4ce1fb22d396a71b30dd4e495b3442d --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.vmsplice03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-917879774 +# @用例名称: ltp.syscalls.vmsplice03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.vmsplice03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls vmsplice03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.vmsplice04.sh b/testcase/syscalls/ltp.syscalls.vmsplice04.sh new file mode 100755 index 0000000000000000000000000000000000000000..b9c44e19ef0e259c5854dbd4942dfbf14231a111 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.vmsplice04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-926521807 +# @用例名称: ltp.syscalls.vmsplice04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.vmsplice04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls vmsplice04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.wait01.sh b/testcase/syscalls/ltp.syscalls.wait01.sh new file mode 100755 index 0000000000000000000000000000000000000000..afdf3e8c9ecb56be68783a07a5cd51593c50e910 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.wait01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-937056943 +# @用例名称: ltp.syscalls.wait01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.wait01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls wait01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.wait02.sh b/testcase/syscalls/ltp.syscalls.wait02.sh new file mode 100755 index 0000000000000000000000000000000000000000..31f4ab8b9cc5dc95b586435d60a832816710637e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.wait02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-945613708 +# @用例名称: ltp.syscalls.wait02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.wait02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls wait02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.wait401.sh b/testcase/syscalls/ltp.syscalls.wait401.sh new file mode 100755 index 0000000000000000000000000000000000000000..063ac520419631254745a3cfa55b7ccc0f60c5fc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.wait401.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-956113337 +# @用例名称: ltp.syscalls.wait401 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.wait401 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls wait401 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.wait402.sh b/testcase/syscalls/ltp.syscalls.wait402.sh new file mode 100755 index 0000000000000000000000000000000000000000..d760f41ebf35f0b292a1ff995aed0c9beee07b55 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.wait402.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-964638042 +# @用例名称: ltp.syscalls.wait402 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.wait402 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls wait402 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.wait403.sh b/testcase/syscalls/ltp.syscalls.wait403.sh new file mode 100755 index 0000000000000000000000000000000000000000..1733287e3c48c09593aca213f90888628376f2ff --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.wait403.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-973675896 +# @用例名称: ltp.syscalls.wait403 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.wait403 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls wait403 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitid01.sh b/testcase/syscalls/ltp.syscalls.waitid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..6e17c6171a79c139ba725c6917d1cdb32066ad51 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-100245492 +# @用例名称: ltp.syscalls.waitid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitid02.sh b/testcase/syscalls/ltp.syscalls.waitid02.sh new file mode 100755 index 0000000000000000000000000000000000000000..70718f75fa8e651d5fb392791d5871022309ce71 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitid02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-108863030 +# @用例名称: ltp.syscalls.waitid02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitid02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitid02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitid03.sh b/testcase/syscalls/ltp.syscalls.waitid03.sh new file mode 100755 index 0000000000000000000000000000000000000000..ee053ce7a7b9fc6738a319c8ba112b64c4c37121 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitid03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141853-108459551 +# @用例名称: ltp.syscalls.waitid03 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitid03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitid03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitid04.sh b/testcase/syscalls/ltp.syscalls.waitid04.sh new file mode 100755 index 0000000000000000000000000000000000000000..440302879aeb5adff5e66bc1150e36d3c8cfcada --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitid04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141853-176266985 +# @用例名称: ltp.syscalls.waitid04 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitid04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitid04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitid05.sh b/testcase/syscalls/ltp.syscalls.waitid05.sh new file mode 100755 index 0000000000000000000000000000000000000000..1d89a4e6cf209083ab8f04f6f0ff4c8374ca6090 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitid05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141853-238933603 +# @用例名称: ltp.syscalls.waitid05 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitid05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitid05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitid06.sh b/testcase/syscalls/ltp.syscalls.waitid06.sh new file mode 100755 index 0000000000000000000000000000000000000000..de1c92242ab7456b4ec2256161e81e7defc9a964 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitid06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141853-302027674 +# @用例名称: ltp.syscalls.waitid06 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitid06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitid06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitid07.sh b/testcase/syscalls/ltp.syscalls.waitid07.sh new file mode 100755 index 0000000000000000000000000000000000000000..269bc6df3532a2c73ac6e4aac06445d0199fd561 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitid07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141853-365725266 +# @用例名称: ltp.syscalls.waitid07 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitid07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitid07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitid08.sh b/testcase/syscalls/ltp.syscalls.waitid08.sh new file mode 100755 index 0000000000000000000000000000000000000000..2d8af50ba293f74a20f1d390b37e650c0aed6732 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitid08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141853-429602576 +# @用例名称: ltp.syscalls.waitid08 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitid08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitid08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitid09.sh b/testcase/syscalls/ltp.syscalls.waitid09.sh new file mode 100755 index 0000000000000000000000000000000000000000..cf6e3920c4cc599097a8f3bc33bbb7e115b4a7f0 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitid09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141853-493117231 +# @用例名称: ltp.syscalls.waitid09 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitid09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitid09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitid10.sh b/testcase/syscalls/ltp.syscalls.waitid10.sh new file mode 100755 index 0000000000000000000000000000000000000000..de732fda8fa4bd55205fece3ce6ee25a111b5a06 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitid10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141853-556772939 +# @用例名称: ltp.syscalls.waitid10 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitid10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitid10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitid11.sh b/testcase/syscalls/ltp.syscalls.waitid11.sh new file mode 100755 index 0000000000000000000000000000000000000000..b1abc946029aec075924b13dac35e9f677956cdc --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitid11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141853-621285660 +# @用例名称: ltp.syscalls.waitid11 +# @用例级别: 3 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitid11 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitid11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitpid01.sh b/testcase/syscalls/ltp.syscalls.waitpid01.sh new file mode 100755 index 0000000000000000000000000000000000000000..2b0d57de1171831ce51f7c01d73b46573cb84636 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitpid01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213023-984306412 +# @用例名称: ltp.syscalls.waitpid01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitpid01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitpid01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitpid03.sh b/testcase/syscalls/ltp.syscalls.waitpid03.sh new file mode 100755 index 0000000000000000000000000000000000000000..542d1f8996395890b76dcdfc0d036b662b463b82 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitpid03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-001398489 +# @用例名称: ltp.syscalls.waitpid03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitpid03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitpid03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitpid04.sh b/testcase/syscalls/ltp.syscalls.waitpid04.sh new file mode 100755 index 0000000000000000000000000000000000000000..094cbe1ba6b8fcfca182d10e45ec84d94d8e260e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitpid04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-010030715 +# @用例名称: ltp.syscalls.waitpid04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitpid04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitpid04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitpid06.sh b/testcase/syscalls/ltp.syscalls.waitpid06.sh new file mode 100755 index 0000000000000000000000000000000000000000..5e362754d4fe4095877dcfde92821200648dd704 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitpid06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-027306106 +# @用例名称: ltp.syscalls.waitpid06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitpid06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitpid06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitpid07.sh b/testcase/syscalls/ltp.syscalls.waitpid07.sh new file mode 100755 index 0000000000000000000000000000000000000000..9b0d5a1c79ccfd9614afa367854b3d23d92a31b3 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitpid07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-036863152 +# @用例名称: ltp.syscalls.waitpid07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitpid07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitpid07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitpid08.sh b/testcase/syscalls/ltp.syscalls.waitpid08.sh new file mode 100755 index 0000000000000000000000000000000000000000..d0c212580144d2a9d160eb0b7b1f546c16039c2e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitpid08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-046396383 +# @用例名称: ltp.syscalls.waitpid08 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitpid08 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitpid08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitpid09.sh b/testcase/syscalls/ltp.syscalls.waitpid09.sh new file mode 100755 index 0000000000000000000000000000000000000000..8b07505fc4c51c464fdca15bd2ff139594b9dab5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitpid09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-055142281 +# @用例名称: ltp.syscalls.waitpid09 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitpid09 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitpid09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitpid10.sh b/testcase/syscalls/ltp.syscalls.waitpid10.sh new file mode 100755 index 0000000000000000000000000000000000000000..5530ab57c966c3b68afd51741ee3cde0fdacc995 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitpid10.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-063849006 +# @用例名称: ltp.syscalls.waitpid10 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitpid10 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitpid10 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitpid11.sh b/testcase/syscalls/ltp.syscalls.waitpid11.sh new file mode 100755 index 0000000000000000000000000000000000000000..8cf84a68ed95e571e912a059b03f7b42d9545a27 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitpid11.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-072602218 +# @用例名称: ltp.syscalls.waitpid11 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitpid11 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitpid11 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitpid12.sh b/testcase/syscalls/ltp.syscalls.waitpid12.sh new file mode 100755 index 0000000000000000000000000000000000000000..a74cd5a97da507a8d8fccee0934bccc3d1594cfd --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitpid12.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-081244010 +# @用例名称: ltp.syscalls.waitpid12 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitpid12 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitpid12 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.waitpid13.sh b/testcase/syscalls/ltp.syscalls.waitpid13.sh new file mode 100755 index 0000000000000000000000000000000000000000..68de30a25c133d390f61a75467d70242e942fb9a --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.waitpid13.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-089779745 +# @用例名称: ltp.syscalls.waitpid13 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.waitpid13 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls waitpid13 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.write01.sh b/testcase/syscalls/ltp.syscalls.write01.sh new file mode 100755 index 0000000000000000000000000000000000000000..5d3ec3f580fa456ad7e90b239ae96026aa827f16 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.write01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-119612507 +# @用例名称: ltp.syscalls.write01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.write01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls write01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.write02.sh b/testcase/syscalls/ltp.syscalls.write02.sh new file mode 100755 index 0000000000000000000000000000000000000000..d85a8f5339a91b3021eaee1608fa20887758ff05 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.write02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-128326676 +# @用例名称: ltp.syscalls.write02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.write02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls write02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.write03.sh b/testcase/syscalls/ltp.syscalls.write03.sh new file mode 100755 index 0000000000000000000000000000000000000000..5574124a3bf5082759b0835409bd0426b9550d4e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.write03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-137115264 +# @用例名称: ltp.syscalls.write03 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.write03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls write03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.write04.sh b/testcase/syscalls/ltp.syscalls.write04.sh new file mode 100755 index 0000000000000000000000000000000000000000..a6a4a49ac6f4ae47200484443df5bda7874a3e4b --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.write04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-145733614 +# @用例名称: ltp.syscalls.write04 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.write04 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls write04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.write05.sh b/testcase/syscalls/ltp.syscalls.write05.sh new file mode 100755 index 0000000000000000000000000000000000000000..e346ceb86eda5653776e783c4571c45e7029a89e --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.write05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-154269147 +# @用例名称: ltp.syscalls.write05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.write05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls write05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.write06.sh b/testcase/syscalls/ltp.syscalls.write06.sh new file mode 100755 index 0000000000000000000000000000000000000000..46f80ec5529f28dd3a42d39b0d5dbce2d7f26673 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.write06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-163064969 +# @用例名称: ltp.syscalls.write06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.write06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls write06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.writev01.sh b/testcase/syscalls/ltp.syscalls.writev01.sh new file mode 100755 index 0000000000000000000000000000000000000000..388969ad47102da1dd2cb862e1feffac263889b5 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.writev01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-174039609 +# @用例名称: ltp.syscalls.writev01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.writev01 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls writev01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.writev02.sh b/testcase/syscalls/ltp.syscalls.writev02.sh new file mode 100755 index 0000000000000000000000000000000000000000..086926bd301b1679eedde905ccd5988e5d1e0660 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.writev02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-183030094 +# @用例名称: ltp.syscalls.writev02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.writev02 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls writev02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.writev03.sh b/testcase/syscalls/ltp.syscalls.writev03.sh new file mode 100755 index 0000000000000000000000000000000000000000..ba9e3b7590e2074675e1333054ae60626c5e90d8 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.writev03.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-191686114 +# @用例名称: ltp.syscalls.writev03 +# @用例级别: 3 +# @用例标签: eks不支持 +# @超时时间: 600 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.writev03 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls writev03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.writev05.sh b/testcase/syscalls/ltp.syscalls.writev05.sh new file mode 100755 index 0000000000000000000000000000000000000000..fe247ef0d609df74ca1db77bdafa089a6095080c --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.writev05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-200159722 +# @用例名称: ltp.syscalls.writev05 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.writev05 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls writev05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.writev06.sh b/testcase/syscalls/ltp.syscalls.writev06.sh new file mode 100755 index 0000000000000000000000000000000000000000..a2e926caa91bba069bca8e94d9c22121ae3ba523 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.writev06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-208656674 +# @用例名称: ltp.syscalls.writev06 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.writev06 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls writev06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/syscalls/ltp.syscalls.writev07.sh b/testcase/syscalls/ltp.syscalls.writev07.sh new file mode 100755 index 0000000000000000000000000000000000000000..0b79bd9b7566237582c360955d8b2464e0edc5e1 --- /dev/null +++ b/testcase/syscalls/ltp.syscalls.writev07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213024-217184895 +# @用例名称: ltp.syscalls.writev07 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.syscalls.writev07 + # @预期结果:1: 用例返回0 + ltp_run_testcase syscalls writev07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tpm_tools/ltp.tpm_tools.tpm01.sh b/testcase/tpm_tools/ltp.tpm_tools.tpm01.sh new file mode 100755 index 0000000000000000000000000000000000000000..cfef637f27d89e5b04bfaa83c88725f28e0426d3 --- /dev/null +++ b/testcase/tpm_tools/ltp.tpm_tools.tpm01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-109777408 +# @用例名称: ltp.tpm_tools.tpm01 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tpm_tools.tpm01 + # @预期结果:1: 用例返回0 + ltp_run_testcase tpm_tools tpm01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tpm_tools/ltp.tpm_tools.tpm02.sh b/testcase/tpm_tools/ltp.tpm_tools.tpm02.sh new file mode 100755 index 0000000000000000000000000000000000000000..913690d6aae1e44e8d47ee13124980483aa3e38c --- /dev/null +++ b/testcase/tpm_tools/ltp.tpm_tools.tpm02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-118458445 +# @用例名称: ltp.tpm_tools.tpm02 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tpm_tools.tpm02 + # @预期结果:1: 用例返回0 + ltp_run_testcase tpm_tools tpm02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tpm_tools/ltp.tpm_tools.tpm03.sh b/testcase/tpm_tools/ltp.tpm_tools.tpm03.sh new file mode 100755 index 0000000000000000000000000000000000000000..9c5ee84e88cc2af115be4628958d476d44846c71 --- /dev/null +++ b/testcase/tpm_tools/ltp.tpm_tools.tpm03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-126981545 +# @用例名称: ltp.tpm_tools.tpm03 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tpm_tools.tpm03 + # @预期结果:1: 用例返回0 + ltp_run_testcase tpm_tools tpm03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tpm_tools/ltp.tpm_tools.tpm04.sh b/testcase/tpm_tools/ltp.tpm_tools.tpm04.sh new file mode 100755 index 0000000000000000000000000000000000000000..146d8908ae4f949006e3d2d23df33d321a398572 --- /dev/null +++ b/testcase/tpm_tools/ltp.tpm_tools.tpm04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-135603001 +# @用例名称: ltp.tpm_tools.tpm04 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tpm_tools.tpm04 + # @预期结果:1: 用例返回0 + ltp_run_testcase tpm_tools tpm04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tpm_tools/ltp.tpm_tools.tpm05.sh b/testcase/tpm_tools/ltp.tpm_tools.tpm05.sh new file mode 100755 index 0000000000000000000000000000000000000000..15f149c74104bce57086a4c55e8bf78c7f3eedc0 --- /dev/null +++ b/testcase/tpm_tools/ltp.tpm_tools.tpm05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-144226820 +# @用例名称: ltp.tpm_tools.tpm05 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tpm_tools.tpm05 + # @预期结果:1: 用例返回0 + ltp_run_testcase tpm_tools tpm05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tpm_tools/ltp.tpm_tools.tpm06.sh b/testcase/tpm_tools/ltp.tpm_tools.tpm06.sh new file mode 100755 index 0000000000000000000000000000000000000000..d3cbd90e81ed058033b9709d166eb8e5aba0e859 --- /dev/null +++ b/testcase/tpm_tools/ltp.tpm_tools.tpm06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-152863354 +# @用例名称: ltp.tpm_tools.tpm06 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tpm_tools.tpm06 + # @预期结果:1: 用例返回0 + ltp_run_testcase tpm_tools tpm06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tpm_tools/ltp.tpm_tools.tpm07.sh b/testcase/tpm_tools/ltp.tpm_tools.tpm07.sh new file mode 100755 index 0000000000000000000000000000000000000000..2ed125b1c80bf07b6cbff9322968e31d0e7362bc --- /dev/null +++ b/testcase/tpm_tools/ltp.tpm_tools.tpm07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-204366803 +# @用例名称: ltp.tpm_tools.tpm07 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tpm_tools.tpm07 + # @预期结果:1: 用例返回0 + ltp_run_testcase tpm_tools tpm07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tpm_tools/ltp.tpm_tools.tpmtoken01.sh b/testcase/tpm_tools/ltp.tpm_tools.tpmtoken01.sh new file mode 100755 index 0000000000000000000000000000000000000000..0c69ab336aee8d82fb9c33d72fbba17b9191f5bf --- /dev/null +++ b/testcase/tpm_tools/ltp.tpm_tools.tpmtoken01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-161398066 +# @用例名称: ltp.tpm_tools.tpmtoken01 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tpm_tools.tpmtoken01 + # @预期结果:1: 用例返回0 + ltp_run_testcase tpm_tools tpmtoken01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tpm_tools/ltp.tpm_tools.tpmtoken02.sh b/testcase/tpm_tools/ltp.tpm_tools.tpmtoken02.sh new file mode 100755 index 0000000000000000000000000000000000000000..de81a37c1a4fc8a2f0662fa7d98e7e002193bc4c --- /dev/null +++ b/testcase/tpm_tools/ltp.tpm_tools.tpmtoken02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-169877776 +# @用例名称: ltp.tpm_tools.tpmtoken02 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tpm_tools.tpmtoken02 + # @预期结果:1: 用例返回0 + ltp_run_testcase tpm_tools tpmtoken02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tpm_tools/ltp.tpm_tools.tpmtoken03.sh b/testcase/tpm_tools/ltp.tpm_tools.tpmtoken03.sh new file mode 100755 index 0000000000000000000000000000000000000000..7cb59cb86a7de19d54327e10633e09bb30c6fa8d --- /dev/null +++ b/testcase/tpm_tools/ltp.tpm_tools.tpmtoken03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-178448978 +# @用例名称: ltp.tpm_tools.tpmtoken03 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tpm_tools.tpmtoken03 + # @预期结果:1: 用例返回0 + ltp_run_testcase tpm_tools tpmtoken03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tpm_tools/ltp.tpm_tools.tpmtoken04.sh b/testcase/tpm_tools/ltp.tpm_tools.tpmtoken04.sh new file mode 100755 index 0000000000000000000000000000000000000000..3a2dad5d1a6fc70d9ea1486d542008fac38fbb16 --- /dev/null +++ b/testcase/tpm_tools/ltp.tpm_tools.tpmtoken04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-187071905 +# @用例名称: ltp.tpm_tools.tpmtoken04 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tpm_tools.tpmtoken04 + # @预期结果:1: 用例返回0 + ltp_run_testcase tpm_tools tpmtoken04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tpm_tools/ltp.tpm_tools.tpmtoken05.sh b/testcase/tpm_tools/ltp.tpm_tools.tpmtoken05.sh new file mode 100755 index 0000000000000000000000000000000000000000..1d8e0701bcdf1083dd21e543688ef1ac4886f5a3 --- /dev/null +++ b/testcase/tpm_tools/ltp.tpm_tools.tpmtoken05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-195763341 +# @用例名称: ltp.tpm_tools.tpmtoken05 +# @用例级别: 1 +# @用例标签: TK4不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tpm_tools.tpmtoken05 + # @预期结果:1: 用例返回0 + ltp_run_testcase tpm_tools tpmtoken05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tracing/ltp.tracing.dynamic_debug01.sh b/testcase/tracing/ltp.tracing.dynamic_debug01.sh new file mode 100755 index 0000000000000000000000000000000000000000..f60d57b342a3890b653e177a6b31c64521aaa14f --- /dev/null +++ b/testcase/tracing/ltp.tracing.dynamic_debug01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-242025161 +# @用例名称: ltp.tracing.dynamic_debug01 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tracing.dynamic_debug01 + # @预期结果:1: 用例返回0 + ltp_run_testcase tracing dynamic_debug01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tracing/ltp.tracing.ftrace-stress-test.sh b/testcase/tracing/ltp.tracing.ftrace-stress-test.sh new file mode 100755 index 0000000000000000000000000000000000000000..1a68cef7290389ca21e6f173e3ffb9ea937e0654 --- /dev/null +++ b/testcase/tracing/ltp.tracing.ftrace-stress-test.sh @@ -0,0 +1,42 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-233258183 +# @用例名称: ltp.tracing.ftrace-stress-test +# @用例级别: 3 +# @用例标签: 待分析 +# @超时时间: 180 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tracing.ftrace-stress-test + # @预期结果:1: 用例返回0 + ltp_run_testcase tracing ftrace-stress-test + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tracing/ltp.tracing.ftrace_regression01.sh b/testcase/tracing/ltp.tracing.ftrace_regression01.sh new file mode 100755 index 0000000000000000000000000000000000000000..adc973c15491edb9e0f29db5b7c6fde5d8806cc7 --- /dev/null +++ b/testcase/tracing/ltp.tracing.ftrace_regression01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-215861114 +# @用例名称: ltp.tracing.ftrace_regression01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tracing.ftrace_regression01 + # @预期结果:1: 用例返回0 + ltp_run_testcase tracing ftrace_regression01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tracing/ltp.tracing.ftrace_regression02.sh b/testcase/tracing/ltp.tracing.ftrace_regression02.sh new file mode 100755 index 0000000000000000000000000000000000000000..7c4d1509e33af4de01b42a6f1fc64edf32ea600a --- /dev/null +++ b/testcase/tracing/ltp.tracing.ftrace_regression02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-224542140 +# @用例名称: ltp.tracing.ftrace_regression02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tracing.ftrace_regression02 + # @预期结果:1: 用例返回0 + ltp_run_testcase tracing ftrace_regression02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tracing/ltp.tracing.pt_disable_branch.sh b/testcase/tracing/ltp.tracing.pt_disable_branch.sh new file mode 100755 index 0000000000000000000000000000000000000000..9dcddf61813278b2bb326737b9b1dd96a00fc4ef --- /dev/null +++ b/testcase/tracing/ltp.tracing.pt_disable_branch.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-286555579 +# @用例名称: ltp.tracing.pt_disable_branch +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tracing.pt_disable_branch + # @预期结果:1: 用例返回0 + ltp_run_testcase tracing pt_disable_branch + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tracing/ltp.tracing.pt_ex_kernel.sh b/testcase/tracing/ltp.tracing.pt_ex_kernel.sh new file mode 100755 index 0000000000000000000000000000000000000000..5609a06f7e1dbb86a08f47ee73bf2b16ed78a69b --- /dev/null +++ b/testcase/tracing/ltp.tracing.pt_ex_kernel.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-277958580 +# @用例名称: ltp.tracing.pt_ex_kernel +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tracing.pt_ex_kernel + # @预期结果:1: 用例返回0 + ltp_run_testcase tracing pt_ex_kernel + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tracing/ltp.tracing.pt_ex_user.sh b/testcase/tracing/ltp.tracing.pt_ex_user.sh new file mode 100755 index 0000000000000000000000000000000000000000..4a2029d225cf54942d569b24637c346397f07748 --- /dev/null +++ b/testcase/tracing/ltp.tracing.pt_ex_user.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-269203415 +# @用例名称: ltp.tracing.pt_ex_user +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tracing.pt_ex_user + # @预期结果:1: 用例返回0 + ltp_run_testcase tracing pt_ex_user + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tracing/ltp.tracing.pt_full_trace_basic.sh b/testcase/tracing/ltp.tracing.pt_full_trace_basic.sh new file mode 100755 index 0000000000000000000000000000000000000000..cb37fa986a1492c95d3c3f609284c0cd1080db11 --- /dev/null +++ b/testcase/tracing/ltp.tracing.pt_full_trace_basic.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-250699284 +# @用例名称: ltp.tracing.pt_full_trace_basic +# @用例级别: 4 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tracing.pt_full_trace_basic + # @预期结果:1: 用例返回0 + ltp_run_testcase tracing pt_full_trace_basic + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/tracing/ltp.tracing.pt_snapshot_trace_basic.sh b/testcase/tracing/ltp.tracing.pt_snapshot_trace_basic.sh new file mode 100755 index 0000000000000000000000000000000000000000..6b9689230c194100429864c8ef3e35ace0143b86 --- /dev/null +++ b/testcase/tracing/ltp.tracing.pt_snapshot_trace_basic.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-260358501 +# @用例名称: ltp.tracing.pt_snapshot_trace_basic +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.tracing.pt_snapshot_trace_basic + # @预期结果:1: 用例返回0 + ltp_run_testcase tracing pt_snapshot_trace_basic + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/uevent/ltp.uevent.uevent01.sh b/testcase/uevent/ltp.uevent.uevent01.sh new file mode 100755 index 0000000000000000000000000000000000000000..d2e765e44aa789ab3f54a932f78a0375c409ac2b --- /dev/null +++ b/testcase/uevent/ltp.uevent.uevent01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-296873820 +# @用例名称: ltp.uevent.uevent01 +# @用例级别: 0 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.uevent.uevent01 + # @预期结果:1: 用例返回0 + ltp_run_testcase uevent uevent01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/uevent/ltp.uevent.uevent02.sh b/testcase/uevent/ltp.uevent.uevent02.sh new file mode 100755 index 0000000000000000000000000000000000000000..da7d0f18875e0eb63e0a828286b1433386fee63e --- /dev/null +++ b/testcase/uevent/ltp.uevent.uevent02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-306889645 +# @用例名称: ltp.uevent.uevent02 +# @用例级别: 1 +# @用例标签: +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.uevent.uevent02 + # @预期结果:1: 用例返回0 + ltp_run_testcase uevent uevent02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/uevent/ltp.uevent.uevent03.sh b/testcase/uevent/ltp.uevent.uevent03.sh new file mode 100755 index 0000000000000000000000000000000000000000..d9d30d1d989479bdbd9a9dc6b24895deb89d1f0b --- /dev/null +++ b/testcase/uevent/ltp.uevent.uevent03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20220630-213025-317224286 +# @用例名称: ltp.uevent.uevent03 +# @用例级别: 1 +# @用例标签: eks不支持 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.uevent.uevent03 + # @预期结果:1: 用例返回0 + ltp_run_testcase uevent uevent03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/watchqueue/ltp.watchqueue.wqueue01.sh b/testcase/watchqueue/ltp.watchqueue.wqueue01.sh new file mode 100755 index 0000000000000000000000000000000000000000..1810802c1b4c714ba5d561bb0f03b4306a3dd13d --- /dev/null +++ b/testcase/watchqueue/ltp.watchqueue.wqueue01.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141853-940084933 +# @用例名称: ltp.watchqueue.wqueue01 +# @用例级别: 3 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.watchqueue.wqueue01 + # @预期结果:1: 用例返回0 + ltp_run_testcase watchqueue wqueue01 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/watchqueue/ltp.watchqueue.wqueue02.sh b/testcase/watchqueue/ltp.watchqueue.wqueue02.sh new file mode 100755 index 0000000000000000000000000000000000000000..aeaf292fb9616c920c87741811f2be46b643f49e --- /dev/null +++ b/testcase/watchqueue/ltp.watchqueue.wqueue02.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141854-004900642 +# @用例名称: ltp.watchqueue.wqueue02 +# @用例级别: 3 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.watchqueue.wqueue02 + # @预期结果:1: 用例返回0 + ltp_run_testcase watchqueue wqueue02 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/watchqueue/ltp.watchqueue.wqueue03.sh b/testcase/watchqueue/ltp.watchqueue.wqueue03.sh new file mode 100755 index 0000000000000000000000000000000000000000..eb7f0335084045deaf5c72e5591fd4dc9cbc7ebd --- /dev/null +++ b/testcase/watchqueue/ltp.watchqueue.wqueue03.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141854-070528969 +# @用例名称: ltp.watchqueue.wqueue03 +# @用例级别: 3 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.watchqueue.wqueue03 + # @预期结果:1: 用例返回0 + ltp_run_testcase watchqueue wqueue03 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/watchqueue/ltp.watchqueue.wqueue04.sh b/testcase/watchqueue/ltp.watchqueue.wqueue04.sh new file mode 100755 index 0000000000000000000000000000000000000000..12257457f59bb7936664cdff76c38624870f5cdb --- /dev/null +++ b/testcase/watchqueue/ltp.watchqueue.wqueue04.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141854-134837531 +# @用例名称: ltp.watchqueue.wqueue04 +# @用例级别: 3 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.watchqueue.wqueue04 + # @预期结果:1: 用例返回0 + ltp_run_testcase watchqueue wqueue04 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/watchqueue/ltp.watchqueue.wqueue05.sh b/testcase/watchqueue/ltp.watchqueue.wqueue05.sh new file mode 100755 index 0000000000000000000000000000000000000000..2ce25651cbb302322fd2155434e200f40d877cec --- /dev/null +++ b/testcase/watchqueue/ltp.watchqueue.wqueue05.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141854-198165952 +# @用例名称: ltp.watchqueue.wqueue05 +# @用例级别: 3 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.watchqueue.wqueue05 + # @预期结果:1: 用例返回0 + ltp_run_testcase watchqueue wqueue05 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/watchqueue/ltp.watchqueue.wqueue06.sh b/testcase/watchqueue/ltp.watchqueue.wqueue06.sh new file mode 100755 index 0000000000000000000000000000000000000000..a04aa0564e981136355f371b7ce02d1cdf9246a9 --- /dev/null +++ b/testcase/watchqueue/ltp.watchqueue.wqueue06.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141854-261030766 +# @用例名称: ltp.watchqueue.wqueue06 +# @用例级别: 3 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.watchqueue.wqueue06 + # @预期结果:1: 用例返回0 + ltp_run_testcase watchqueue wqueue06 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/watchqueue/ltp.watchqueue.wqueue07.sh b/testcase/watchqueue/ltp.watchqueue.wqueue07.sh new file mode 100755 index 0000000000000000000000000000000000000000..ea5bd5ca902c0240ce7a28b399f8e3256eae991d --- /dev/null +++ b/testcase/watchqueue/ltp.watchqueue.wqueue07.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141854-324533515 +# @用例名称: ltp.watchqueue.wqueue07 +# @用例级别: 3 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.watchqueue.wqueue07 + # @预期结果:1: 用例返回0 + ltp_run_testcase watchqueue wqueue07 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/watchqueue/ltp.watchqueue.wqueue08.sh b/testcase/watchqueue/ltp.watchqueue.wqueue08.sh new file mode 100755 index 0000000000000000000000000000000000000000..2dcbf65dc9f162b86099bb60afab9277477eb1ad --- /dev/null +++ b/testcase/watchqueue/ltp.watchqueue.wqueue08.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141854-388569857 +# @用例名称: ltp.watchqueue.wqueue08 +# @用例级别: 3 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.watchqueue.wqueue08 + # @预期结果:1: 用例返回0 + ltp_run_testcase watchqueue wqueue08 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/testcase/watchqueue/ltp.watchqueue.wqueue09.sh b/testcase/watchqueue/ltp.watchqueue.wqueue09.sh new file mode 100755 index 0000000000000000000000000000000000000000..76a08f8c3130f1d7111248cb595b76478284589f --- /dev/null +++ b/testcase/watchqueue/ltp.watchqueue.wqueue09.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################### +# @用例ID: 20230705-141854-453383380 +# @用例名称: ltp.watchqueue.wqueue09 +# @用例级别: 3 +# @用例标签: 待分析 +# @用例类型: 功能测试 +# @自动化: 1 +############################################################################### +[ -z "$TST_TS_TOPDIR" ] && { + TST_TS_TOPDIR="$(realpath "$(dirname "$0")/../..")" + export TST_TS_TOPDIR +} +source "${TST_TS_TOPDIR}/common/lib/common.sh" || exit 1 +############################################################################### + +tc_setup() { + msg "this is tc_setup" + # @预置条件: + return 0 +} + +do_test() { + msg "this is do_test" + + # @测试步骤:1: 执行用例ltp.watchqueue.wqueue09 + # @预期结果:1: 用例返回0 + ltp_run_testcase watchqueue wqueue09 + assert_true [ $? -eq 0 ] + + return 0 +} + +tc_teardown() { + msg "this is tc_teardown" + return 0 +} + +############################################################################### +tst_main "$@" +############################################################################### diff --git a/tst-open-ltp b/tst-open-ltp new file mode 160000 index 0000000000000000000000000000000000000000..612788d7c6c7744cb57274133a38dc20f312421e --- /dev/null +++ b/tst-open-ltp @@ -0,0 +1 @@ +Subproject commit 612788d7c6c7744cb57274133a38dc20f312421e