freeze: add freeze_thaw test
Change-Id: I31db80b89adca9ac354a96ad21073b269d8a0e24
This commit is contained in:
committed by
Masamichi Takagi
parent
83ade5cdcd
commit
ec31d72483
37
test/freeze_thaw/tp/000.sh
Normal file
37
test/freeze_thaw/tp/000.sh
Normal file
@@ -0,0 +1,37 @@
|
||||
#!/bin/env bash
|
||||
# 000.sh COPYRIGHT FUJITSU LIMITED 2019
|
||||
script_dir="$(cd "$(dirname "${BASH_SOURCE:-${(%):-%N}}")"; pwd)"
|
||||
. "$script_dir/../function"
|
||||
|
||||
#
|
||||
# init
|
||||
#
|
||||
is_os_running
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status is not running"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# run
|
||||
#
|
||||
freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status change"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# check
|
||||
#
|
||||
is_os_freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status is not frozen"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# fin
|
||||
#
|
||||
thaw
|
||||
exit 0
|
||||
42
test/freeze_thaw/tp/001.sh
Normal file
42
test/freeze_thaw/tp/001.sh
Normal file
@@ -0,0 +1,42 @@
|
||||
#!/bin/env bash
|
||||
# 001.sh COPYRIGHT FUJITSU LIMITED 2019
|
||||
script_dir="$(cd "$(dirname "${BASH_SOURCE:-${(%):-%N}}")"; pwd)"
|
||||
. "$script_dir/../function"
|
||||
|
||||
#
|
||||
# init
|
||||
#
|
||||
freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status change(freeze)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
is_os_freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status is not frozen"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# run
|
||||
#
|
||||
thaw
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status change(thaw)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# check
|
||||
#
|
||||
is_os_running
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status is not running"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# fin
|
||||
#
|
||||
exit 0
|
||||
34
test/freeze_thaw/tp/002.sh
Normal file
34
test/freeze_thaw/tp/002.sh
Normal file
@@ -0,0 +1,34 @@
|
||||
#!/bin/env bash
|
||||
# 002.sh COPYRIGHT FUJITSU LIMITED 2019
|
||||
script_dir="$(cd "$(dirname "${BASH_SOURCE:-${(%):-%N}}")"; pwd)"
|
||||
. "$script_dir/../function"
|
||||
|
||||
#
|
||||
# init
|
||||
#
|
||||
freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status change"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
is_os_freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status is not frozen"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# run
|
||||
#
|
||||
freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status change"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# fin
|
||||
#
|
||||
thaw
|
||||
exit 0
|
||||
55
test/freeze_thaw/tp/003.sh
Normal file
55
test/freeze_thaw/tp/003.sh
Normal file
@@ -0,0 +1,55 @@
|
||||
#!/bin/env bash
|
||||
# 003.sh COPYRIGHT FUJITSU LIMITED 2019
|
||||
script_dir="$(cd "$(dirname "${BASH_SOURCE:-${(%):-%N}}")"; pwd)"
|
||||
. "$script_dir/../function"
|
||||
|
||||
#
|
||||
# init
|
||||
#
|
||||
freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status change(freeze):1"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
is_os_freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status is not frozen:1"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status change(freeze):2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
is_os_freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status is not frozen:2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
#
|
||||
# run
|
||||
#
|
||||
thaw
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status change(thaw)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# check
|
||||
#
|
||||
is_os_running
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status is not running"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# fin
|
||||
#
|
||||
exit 0
|
||||
66
test/freeze_thaw/tp/004.sh
Normal file
66
test/freeze_thaw/tp/004.sh
Normal file
@@ -0,0 +1,66 @@
|
||||
#!/bin/env bash
|
||||
# 004.sh COPYRIGHT FUJITSU LIMITED 2019
|
||||
script_dir="$(cd "$(dirname "${BASH_SOURCE:-${(%):-%N}}")"; pwd)"
|
||||
. "$script_dir/../function"
|
||||
|
||||
#
|
||||
# init
|
||||
#
|
||||
freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status change:1"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
is_os_freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status is not frozen:1"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status change(freeze):2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
is_os_freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status is not frozen:2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status change(freeze):3"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
is_os_freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status is not frozen:3"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# run
|
||||
#
|
||||
thaw
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status change(thaw)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# check
|
||||
#
|
||||
is_os_running
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status is not running"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# fin
|
||||
#
|
||||
exit 0
|
||||
33
test/freeze_thaw/tp/005.sh
Normal file
33
test/freeze_thaw/tp/005.sh
Normal file
@@ -0,0 +1,33 @@
|
||||
#!/bin/env bash
|
||||
# 005.sh COPYRIGHT FUJITSU LIMITED 2019
|
||||
script_dir="$(cd "$(dirname "${BASH_SOURCE:-${(%):-%N}}")"; pwd)"
|
||||
. "$script_dir/../function"
|
||||
|
||||
#
|
||||
# init
|
||||
#
|
||||
is_os_running
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status is not running"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# run
|
||||
#
|
||||
thaw
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status change(thaw)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
"$mcexec" 0 "$hello" 0
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: execute user program"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# fin
|
||||
#
|
||||
exit 0
|
||||
1
test/freeze_thaw/tp/100.sh
Symbolic link
1
test/freeze_thaw/tp/100.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/101.sh
Symbolic link
1
test/freeze_thaw/tp/101.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/102.sh
Symbolic link
1
test/freeze_thaw/tp/102.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/103.sh
Symbolic link
1
test/freeze_thaw/tp/103.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/104.sh
Symbolic link
1
test/freeze_thaw/tp/104.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/105.sh
Symbolic link
1
test/freeze_thaw/tp/105.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/106.sh
Symbolic link
1
test/freeze_thaw/tp/106.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/107.sh
Symbolic link
1
test/freeze_thaw/tp/107.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/108.sh
Symbolic link
1
test/freeze_thaw/tp/108.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/109.sh
Symbolic link
1
test/freeze_thaw/tp/109.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/110.sh
Symbolic link
1
test/freeze_thaw/tp/110.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/111.sh
Symbolic link
1
test/freeze_thaw/tp/111.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/112.sh
Symbolic link
1
test/freeze_thaw/tp/112.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/113.sh
Symbolic link
1
test/freeze_thaw/tp/113.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/114.sh
Symbolic link
1
test/freeze_thaw/tp/114.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/115.sh
Symbolic link
1
test/freeze_thaw/tp/115.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/116.sh
Symbolic link
1
test/freeze_thaw/tp/116.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/117.sh
Symbolic link
1
test/freeze_thaw/tp/117.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/118.sh
Symbolic link
1
test/freeze_thaw/tp/118.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/119.sh
Symbolic link
1
test/freeze_thaw/tp/119.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/120.sh
Symbolic link
1
test/freeze_thaw/tp/120.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/121.sh
Symbolic link
1
test/freeze_thaw/tp/121.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/122.sh
Symbolic link
1
test/freeze_thaw/tp/122.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/123.sh
Symbolic link
1
test/freeze_thaw/tp/123.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/124.sh
Symbolic link
1
test/freeze_thaw/tp/124.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/125.sh
Symbolic link
1
test/freeze_thaw/tp/125.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/126.sh
Symbolic link
1
test/freeze_thaw/tp/126.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/127.sh
Symbolic link
1
test/freeze_thaw/tp/127.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/128.sh
Symbolic link
1
test/freeze_thaw/tp/128.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/129.sh
Symbolic link
1
test/freeze_thaw/tp/129.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/130.sh
Symbolic link
1
test/freeze_thaw/tp/130.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/131.sh
Symbolic link
1
test/freeze_thaw/tp/131.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/132.sh
Symbolic link
1
test/freeze_thaw/tp/132.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/133.sh
Symbolic link
1
test/freeze_thaw/tp/133.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/134.sh
Symbolic link
1
test/freeze_thaw/tp/134.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/135.sh
Symbolic link
1
test/freeze_thaw/tp/135.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/136.sh
Symbolic link
1
test/freeze_thaw/tp/136.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/137.sh
Symbolic link
1
test/freeze_thaw/tp/137.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/138.sh
Symbolic link
1
test/freeze_thaw/tp/138.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/139.sh
Symbolic link
1
test/freeze_thaw/tp/139.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/140.sh
Symbolic link
1
test/freeze_thaw/tp/140.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/141.sh
Symbolic link
1
test/freeze_thaw/tp/141.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/142.sh
Symbolic link
1
test/freeze_thaw/tp/142.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/143.sh
Symbolic link
1
test/freeze_thaw/tp/143.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/144.sh
Symbolic link
1
test/freeze_thaw/tp/144.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/145.sh
Symbolic link
1
test/freeze_thaw/tp/145.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/146.sh
Symbolic link
1
test/freeze_thaw/tp/146.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
1
test/freeze_thaw/tp/147.sh
Symbolic link
1
test/freeze_thaw/tp/147.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
1xx.sh
|
||||
57
test/freeze_thaw/tp/1xx.sh
Normal file
57
test/freeze_thaw/tp/1xx.sh
Normal file
@@ -0,0 +1,57 @@
|
||||
#!/bin/env bash
|
||||
# 1xx.sh COPYRIGHT FUJITSU LIMITED 2019
|
||||
script_dir="$(cd "$(dirname "${BASH_SOURCE:-${(%):-%N}}")"; pwd)"
|
||||
. "$script_dir/../function"
|
||||
tp_num=`basename $0 .sh`
|
||||
cpu=$(($tp_num - 100))
|
||||
|
||||
#
|
||||
# init
|
||||
#
|
||||
freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status change"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
is_os_freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status is not frozen"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
log="$work_dir/${cpu}.txt"
|
||||
elog="$work_dir/${cpu}.err.txt"
|
||||
rm -f "$log" "$elog"
|
||||
|
||||
#
|
||||
# run
|
||||
#
|
||||
"$mcexec" -c "$cpu" 0 "$hello" "$cpu" >"$log" 2>"$elog" &
|
||||
sleep 1
|
||||
|
||||
string=`cat "$log"`
|
||||
if [ -n "$string" ]; then
|
||||
echo "error: log file is not empty:1"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
thaw
|
||||
sleep 1
|
||||
|
||||
string=`cat "$log"`
|
||||
if [ -n "$string" ]; then
|
||||
echo "error: log file is not empty:2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
grep -q "prepare: Resource temporarily unavailable" "$elog"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: unexpected errno"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# fin
|
||||
#
|
||||
exit 0
|
||||
44
test/freeze_thaw/tp/200.sh
Normal file
44
test/freeze_thaw/tp/200.sh
Normal file
@@ -0,0 +1,44 @@
|
||||
#!/bin/env bash
|
||||
# 200.sh COPYRIGHT FUJITSU LIMITED 2019
|
||||
script_dir="$(cd "$(dirname "${BASH_SOURCE:-${(%):-%N}}")"; pwd)"
|
||||
. "$script_dir/../function"
|
||||
|
||||
#
|
||||
# init
|
||||
#
|
||||
is_os_running
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status is not running"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# run
|
||||
#
|
||||
sh "$script_dir/200_fork.sh"&
|
||||
fork_pid=$!
|
||||
|
||||
echo "freeze-thaw:"
|
||||
for i in `seq 1 20`
|
||||
do
|
||||
echo -n "."
|
||||
freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: freeze($i)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
thaw
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: thaw($i)"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
echo ""
|
||||
|
||||
#
|
||||
# fin
|
||||
#
|
||||
kill $fork_pid
|
||||
sleep 1
|
||||
exit 0
|
||||
9
test/freeze_thaw/tp/200_fork.sh
Normal file
9
test/freeze_thaw/tp/200_fork.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/env bash
|
||||
# 200_fork.sh COPYRIGHT FUJITSU LIMITED 2019
|
||||
script_dir="$(cd "$(dirname "${BASH_SOURCE:-${(%):-%N}}")"; pwd)"
|
||||
. "$script_dir/../function"
|
||||
|
||||
while true
|
||||
do
|
||||
"$mcexec" 0 "$fork" 100 >/dev/null 2>&1
|
||||
done
|
||||
44
test/freeze_thaw/tp/300.sh
Normal file
44
test/freeze_thaw/tp/300.sh
Normal file
@@ -0,0 +1,44 @@
|
||||
#!/bin/env bash
|
||||
# 300.sh COPYRIGHT FUJITSU LIMITED 2019
|
||||
script_dir="$(cd "$(dirname "${BASH_SOURCE:-${(%):-%N}}")"; pwd)"
|
||||
. "$script_dir/../function"
|
||||
|
||||
#
|
||||
# init
|
||||
#
|
||||
is_os_running
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: os status is not running"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#
|
||||
# run
|
||||
#
|
||||
sh "$script_dir/300_thread.sh"&
|
||||
sh_pid=$!
|
||||
|
||||
echo "freeze-thaw:"
|
||||
for i in `seq 1 20`
|
||||
do
|
||||
echo -n "."
|
||||
freeze
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: freeze($i)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
thaw
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "error: thaw($i)"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
echo ""
|
||||
|
||||
#
|
||||
# fin
|
||||
#
|
||||
kill $sh_pid
|
||||
sleep 1
|
||||
exit 0
|
||||
9
test/freeze_thaw/tp/300_thread.sh
Normal file
9
test/freeze_thaw/tp/300_thread.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/env bash
|
||||
# 300_thread.sh COPYRIGHT FUJITSU LIMITED 2019
|
||||
script_dir="$(cd "$(dirname "${BASH_SOURCE:-${(%):-%N}}")"; pwd)"
|
||||
. "$script_dir/../function"
|
||||
|
||||
while true
|
||||
do
|
||||
"$mcexec" 0 "$thread" 100 >/dev/null 2>&1
|
||||
done
|
||||
Reference in New Issue
Block a user