File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ func init() {
1919func TestSet (t * testing.T ) {
2020 t .Run ("common" , func (t * testing.T ) {
2121 opts := & Options {
22+ DisableSysmon : true ,
23+ DisableWatchdog : true ,
2224 NotEraseInstruction : true ,
2325 NotAdjustProtect : true ,
2426 TrackCurrentThread : true ,
@@ -34,6 +36,8 @@ func TestSet(t *testing.T) {
3436 o , err = Get (output , 64 )
3537 require .NoError (t , err )
3638 opts = & Options {
39+ DisableSysmon : false ,
40+ DisableWatchdog : false ,
3741 NotEraseInstruction : false ,
3842 NotAdjustProtect : false ,
3943 TrackCurrentThread : false ,
@@ -59,6 +63,8 @@ func TestSet(t *testing.T) {
5963func TestGet (t * testing.T ) {
6064 t .Run ("common" , func (t * testing.T ) {
6165 opts := & Options {
66+ DisableSysmon : true ,
67+ DisableWatchdog : true ,
6268 NotEraseInstruction : true ,
6369 NotAdjustProtect : true ,
6470 TrackCurrentThread : true ,
@@ -96,6 +102,8 @@ func TestGet(t *testing.T) {
96102
97103func TestFlag (t * testing.T ) {
98104 opts := Options {
105+ DisableSysmon : true ,
106+ DisableWatchdog : true ,
99107 NotEraseInstruction : true ,
100108 NotAdjustProtect : true ,
101109 TrackCurrentThread : true ,
You can’t perform that action at this time.
0 commit comments