Skip to content

Commit

Permalink
driver.py: fix aslr_off
Browse files Browse the repository at this point in the history
  • Loading branch information
gezalore committed Sep 21, 2024
1 parent 0484143 commit 53750b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_regress/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -1509,7 +1509,7 @@ def execute(self, **kwargs) -> None:
@property
def aslr_off(self) -> str:
if VlTest._cached_aslr_off is None:
out = VtOs.run_capture('setarch --addr-no-randomize echo OK 2>/dev/null`', check=False)
out = VtOs.run_capture('setarch --addr-no-randomize echo OK 2>/dev/null', check=False)
if re.search(r'OK', out):
VlTest._cached_aslr_off = "setarch --addr-no-randomize "
else:
Expand Down

0 comments on commit 53750b6

Please sign in to comment.