xref: /aosp_15_r20/external/ltp/testcases/kernel/hotplug/cpu_hotplug/tools/cpuhotplug_do_disk_write_loop (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1#!/bin/sh
2
3TMP_FILE=${TMP:-/tmp}/cpu_$$
4TM_DLY=1    # Time delay before start of entire new cycle.
5
6
7CNT=0
8while :
9do
10
11	: $(( CNT += 1 ))
12	echo "Loop Count $CNT"
13
14	echo 1 > $TMP_FILE
15	# TODO:  Verify writes are complete and correct
16
17	sleep $TM_DLY
18
19done
20