File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ mount_dev()
23
23
log_cmd mount $partition $mnt 2> /dev/null
24
24
25
25
# shellcheck disable=SC2164
26
- cd $mnt
26
+ log_cmd cd $mnt
27
27
}
28
28
29
29
# # some options are universal, put them in universal_setting
@@ -84,7 +84,7 @@ setup_test()
84
84
;;
85
85
" aiol" )
86
86
# 081aa00e16a9 ("tests/stress-ng: sleep 2s before run_test to fix stress-ng-aiol open fail")
87
- sleep 2
87
+ log_cmd sleep 2
88
88
;;
89
89
" bad-ioctl" |" sysinval" |" cpu-online" |" mlockmany" |" oom-pipe" |" bind-mount" |" watchdog" |" smi" )
90
90
common_opts=" ${common_opts} --pathological"
@@ -103,7 +103,8 @@ run_test()
103
103
104
104
if [ " $test " = " exec" ] || [ " $test " = " spawn" ] || [ " $test " = " bad-ioctl" ]; then
105
105
# these stressors need to be running without root privilege
106
- mkdir /home/lkp && chown -R lkp:lkp /home/lkp
106
+ log_cmd mkdir /home/lkp
107
+ log_cmd chown -R lkp:lkp /home/lkp
107
108
log_cmd su - lkp -s /bin/bash -c " stress-ng $common_opts --$test $nr_threads 2>&1"
108
109
else
109
110
log_cmd stress-ng $common_opts --$test $nr_threads 2>&1
You can’t perform that action at this time.
0 commit comments