1 ## This tests for an expected error when --preserve dates is
2 ## specified at the same time as using stdin or stdout as input or
5 # RUN: not llvm-objcopy --preserve-dates - %t 2>&1 | FileCheck %s
6 # RUN: not llvm-objcopy --preserve-dates %p/Inputs/alloc-symtab.o - 2>&1 | FileCheck %s
9 # RUN: not llvm-strip --preserve-dates - < %p/Inputs/alloc-symtab.o 2>&1 | FileCheck %s
10 # RUN: not llvm-strip --preserve-dates %p/Inputs/alloc-symtab.o - < \
11 # RUN: %p/Inputs/alloc-symtab.o 2>&1 | FileCheck %s
12 # RUN: not llvm-strip --preserve-dates - %p/Inputs/alloc-symtab.o < \
13 # RUN: %p/Inputs/alloc-symtab.o 2>&1 | FileCheck %s
14 # RUN: not llvm-strip --preserve-dates %p/Inputs/alloc-symtab.o - \
15 # RUN: %p/Inputs/alloc-symtab.o < %p/Inputs/alloc-symtab.o 2>&1 | FileCheck %s
18 # RUN: not llvm-strip --preserve-dates - -o %p/Inputs/alloc-symtab.o < \
19 # RUN: %p/Inputs/alloc-symtab.o 2>&1 | FileCheck %s
20 # RUN: not llvm-strip --preserve-dates %p/Inputs/alloc-symtab.o -o - < \
21 # RUN: %p/Inputs/alloc-symtab.o 2>&1 | FileCheck %s
23 # CHECK: error: --preserve-dates requires a file