⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
include
/
View File Name :
assert_status.inc
# ==== Purpose ==== # # Check if a global system status has expected value, fail with debug info if # not. # ==== Usage ==== # # --let $assert_text= rpl_semi_sync_master_yes_tx should be 2 # --let $assert_status_name= rpl_semi_sync_master_yes_tx # --let $assert_status_value= 2 # --let $assert_comparator= > # [--let $rpl_debug= 1] # --source include/assert_status.inc # # Parameters: # # $assert_text # See the help in assert.inc # # $assert_status_value # The status variable's value which is expected by the test case. # # $assert_comparator # The comparator is used in the the assertion. It could be =, >, >=, <, <=, != # # $rpl_debug # Print extra debug info. if (!$assert_text) { --let $assert_text= $assert_status_name should be $assert_status_value } if (!$assert_comparator) { --let $assert_comparator= = } let $assert_cond= [SHOW STATUS LIKE "$assert_status_name", Value, 1] $assert_comparator $assert_status_value; --source include/assert.inc --let $assert_status_name= --let $assert_status_value= --let $assert_condition=