From f94141422b6c2cd875a88b412845a8236dd266a3 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sun, 10 Oct 2021 00:49:07 +0000 Subject: [PATCH] adapt for 3f9004c19c9b790afa58bc5ae22e9c854d2afed0 The single dash version of the options have been removed upstream. This breaks when testing with the rebranch. Adjust the script accordingly. --- test-snapshot-binaries/linux_load_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-snapshot-binaries/linux_load_commands.py b/test-snapshot-binaries/linux_load_commands.py index 27944e7..9f578dd 100644 --- a/test-snapshot-binaries/linux_load_commands.py +++ b/test-snapshot-binaries/linux_load_commands.py @@ -85,7 +85,7 @@ def process_library(args, lib): numberOfLinesSeen = 0 print("Visiting lib: {}".format(lib)) - lines = list(reversed(subprocess.check_output([args.read_elf, "-program-headers", lib], universal_newlines=True).split("\n")[:-1])) + lines = list(reversed(subprocess.check_output([args.read_elf, "--program-headers", lib], universal_newlines=True).split("\n")[:-1])) p = ParseState() # Until we finish parsing or run out of lines to parse...