[llvm-readobj] Change -long-option to --long-option in tests. NFC

We use both -long-option and --long-option in tests. Switch to --long-option for consistency.

In the "llvm-readelf" mode, -long-option is discouraged as it conflicts with grouped short options and it is not accepted by GNU readelf.

While updating the tests, change llvm-readobj -s to llvm-readobj -S to reduce confusion ("s" is --section-headers in llvm-readobj but --symbols in llvm-readelf).

llvm-svn: 359649
diff --git a/llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-groups.test b/llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-groups.test
index a72ecbf..e99cc0d 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-groups.test
+++ b/llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-groups.test
@@ -7,22 +7,22 @@
 
 ## Check compression of debug sections.
 # RUN: llvm-objcopy --compress-debug-sections %t.o %t-compressed.o
-# RUN: llvm-readobj -s -elf-section-groups %t-compressed.o | \
+# RUN: llvm-readobj -S --elf-section-groups %t-compressed.o | \
 # RUN:   FileCheck %s --check-prefixes=CHECK,COMPRESS
 
 ## Check zlib-gnu compression of debug sections.
 # RUN: llvm-objcopy --compress-debug-sections=zlib-gnu %t.o %t-compressed-gnu.o
-# RUN: llvm-readobj -s -elf-section-groups %t-compressed-gnu.o | \
+# RUN: llvm-readobj -S --elf-section-groups %t-compressed-gnu.o | \
 # RUN:   FileCheck %s --check-prefixes=CHECK,COMPRESSZLIB
 
 ## Check decompression of debug sections.
 # RUN: llvm-objcopy --decompress-debug-sections %t-compressed.o %t-decompressed.o
-# RUN: llvm-readobj -elf-section-groups %t-decompressed.o | \
+# RUN: llvm-readobj --elf-section-groups %t-decompressed.o | \
 # RUN:   FileCheck %s --check-prefixes=CHECK,DECOMPRESS
 
 ## Check decompression of zlib-gnu debug sections.
 # RUN: llvm-objcopy --decompress-debug-sections %t-compressed-gnu.o %t-decompressed-gnu.o
-# RUN: llvm-readobj -elf-section-groups %t-decompressed-gnu.o | \
+# RUN: llvm-readobj --elf-section-groups %t-decompressed-gnu.o | \
 # RUN:   FileCheck %s --check-prefixes=CHECK,DECOMPRESS
 
 # COMPRESSZLIB:      Name: .zdebug_in_group