Skip to content

Commit

Permalink
tests: Add some temporary debug
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed May 3, 2024
1 parent a995119 commit 16c5260
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/runner.vala
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@ namespace Frida.Test {
switch (cpu ()) {
case ARM_64:
if (Gum.query_ptrauth_support () == UNSUPPORTED) {
string output;
GLib.Process.spawn_command_line_sync ("nvram boot-args", out output);
string output, error;
int wait_status;
GLib.Process.spawn_command_line_sync ("nvram boot-args", out output, out error, out wait_status);

printerr ("output: >>>%s<<<\n", output);
printerr ("error: >>>%s<<<\n", error);
printerr ("wait_status: %d\n", wait_status);

string[] tokens = output.strip ().split ("\t");
assert (tokens.length == 2);
Expand Down

0 comments on commit 16c5260

Please sign in to comment.