[PATCH] D100651: [AIX] Support of Big archive (read)

Guesnet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 23 01:36:06 PDT 2021


EGuesnet updated this revision to Diff 339933.
EGuesnet added a comment.

Update Big Archive test.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100651/new/

https://reviews.llvm.org/D100651

Files:
  llvm/test/Object/archive-big-read.test


Index: llvm/test/Object/archive-big-read.test
===================================================================
--- llvm/test/Object/archive-big-read.test
+++ llvm/test/Object/archive-big-read.test
@@ -1,11 +1,9 @@
-RUN: cd %p
-
-Test reading an archive created by AIX ar (Big Archive)
-RUN: env TZ=GMT llvm-ar tv Inputs/Big.a | FileCheck %s -strict-whitespace
+# Test reading an archive created by AIX ar (Big Archive)
+RUN: env TZ=GMT llvm-ar tv %p/Inputs/Big.a | FileCheck %s -strict-whitespace
 CHECK:      rw-r--r-- 0/0      8 Apr 21 14:12 2021 evenlen
 CHECK-NEXT: rw-r--r-- 0/0      7 Apr 21 14:12 2021 oddlen
 CHECK-NEXT: rw-r--r-- 0/0    258 Apr 21 14:15 2021 empty.o
 
-Test extraction of a file
-RUN: llvm-ar p Inputs/Big.a evenlen | FileCheck %s -check-prefix=EVENLEN
+# Test extraction of a file
+RUN: llvm-ar p %p/Inputs/Big.a evenlen | FileCheck %s -check-prefix=EVENLEN
 EVENLEN: evenlen


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100651.339933.patch
Type: text/x-patch
Size: 906 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210423/c1ae7455/attachment.bin>


More information about the llvm-commits mailing list