Skip to content

Commit

Permalink
Merge pull request #43 from weilinfox/master
Browse files Browse the repository at this point in the history
更新 os-basic 测试
  • Loading branch information
KotorinMinami authored Sep 5, 2023
2 parents 7332767 + 0331e63 commit 88a7245
Show file tree
Hide file tree
Showing 378 changed files with 29,367 additions and 43,986 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+ source /root/mugen-riscv/libs/locallibs/common_lib.sh
+ source /root/mugen/libs/locallibs/common_lib.sh
++ python3 --version
++ '[' 0 -eq 0 ']'
++ source /root/mugen-riscv/libs/locallibs/common_lib_python.sh
++ source /root/mugen/libs/locallibs/common_lib_python.sh
+ main
++ type -t post_test
+ '[' -n function ']'
Expand All @@ -15,8 +15,8 @@
+ pre_test
+ LOG_INFO 'Start to prepare the test environment.'
+ message='Start to prepare the test environment.'
+ python3 /root/mugen-riscv/libs/locallibs/mugen_log.py --level info --message 'Start to prepare the test environment.'
Fri Sep 1 12:27:12 2023 - INFO - Start to prepare the test environment.
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'Start to prepare the test environment.'
Tue Sep 5 14:00:23 2023 - INFO - Start to prepare the test environment.
+ useradd ace
+ useradd uos1
+ echo 'ace:deepin12#$'
Expand All @@ -26,15 +26,15 @@ Fri Sep 1 12:27:12 2023 - INFO - Start to prepare the test environment.
+ chmod 755 /home/uos1
+ LOG_INFO 'End to prepare the test environment.'
+ message='End to prepare the test environment.'
+ python3 /root/mugen-riscv/libs/locallibs/mugen_log.py --level info --message 'End to prepare the test environment.'
Fri Sep 1 12:27:13 2023 - INFO - End to prepare the test environment.
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'End to prepare the test environment.'
Tue Sep 5 14:00:40 2023 - INFO - End to prepare the test environment.
++ type -t run_test
+ '[' -n function ']'
+ run_test
+ LOG_INFO 'start to run test.'
+ message='start to run test.'
+ python3 /root/mugen-riscv/libs/locallibs/mugen_log.py --level info --message 'start to run test.'
Fri Sep 1 12:27:14 2023 - INFO - start to run test.
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'start to run test.'
Tue Sep 5 14:00:41 2023 - INFO - start to run test.
+ su - uos1 -c 'mkdir /home/uos1/test115216'
+ su - uos1 -c 'chmod 000 /home/uos1/test115216'
+ su - uos1 -c 'cd /home/uos1/test115216'
Expand All @@ -44,6 +44,7 @@ Fri Sep 1 12:27:14 2023 - INFO - start to run test.
+ expect_result=0
+ mode=1
+ error_log='uos can not access dir test115216,please modify'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 1 -eq 0 ']'
+ test 1x == 0x
Expand All @@ -54,6 +55,7 @@ Fri Sep 1 12:27:14 2023 - INFO - start to run test.
+ expect_result=0
+ mode=0
+ error_log='setfacl set fail'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
Expand All @@ -64,32 +66,33 @@ Fri Sep 1 12:27:14 2023 - INFO - start to run test.
+ expect_result=0
+ mode=0
+ error_log='ace don'\''t access test115216'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ LOG_INFO 'End to run test.'
+ message='End to run test.'
+ python3 /root/mugen-riscv/libs/locallibs/mugen_log.py --level info --message 'End to run test.'
Fri Sep 1 12:27:20 2023 - INFO - End to run test.
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'End to run test.'
Tue Sep 5 14:00:51 2023 - INFO - End to run test.
+ CASE_RESULT 0
+ case_re=0
+ test -z ''
+ test 0 -eq 0
+ LOG_INFO 'succeed to execute the case.'
+ message='succeed to execute the case.'
+ python3 /root/mugen-riscv/libs/locallibs/mugen_log.py --level info --message 'succeed to execute the case.'
Fri Sep 1 12:27:21 2023 - INFO - succeed to execute the case.
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'succeed to execute the case.'
Tue Sep 5 14:00:51 2023 - INFO - succeed to execute the case.
+ exec_result=
+ exit 0
+ post_test
+ LOG_INFO 'start environment cleanup.'
+ message='start environment cleanup.'
+ python3 /root/mugen-riscv/libs/locallibs/mugen_log.py --level info --message 'start environment cleanup.'
Fri Sep 1 12:27:21 2023 - INFO - start environment cleanup.
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'start environment cleanup.'
Tue Sep 5 14:00:52 2023 - INFO - start environment cleanup.
+ userdel -rf ace
+ userdel -rf uos1
+ LOG_INFO 'Finish environment cleanup!'
+ message='Finish environment cleanup!'
+ python3 /root/mugen-riscv/libs/locallibs/mugen_log.py --level info --message 'Finish environment cleanup!'
Fri Sep 1 12:27:22 2023 - INFO - Finish environment cleanup!
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'Finish environment cleanup!'
Tue Sep 5 14:00:53 2023 - INFO - Finish environment cleanup!
Loading

0 comments on commit 88a7245

Please sign in to comment.