15 lines · plain
1RUN: rm -rf %t %t.cas2RUN: mkdir %t3 4RUN: llvm-cas --cas %t.cas --make-blob \5RUN: --data %S/Inputs/oneline >%t/oneline.casid6RUN: llvm-cas --cas %t.cas --make-blob \7RUN: --data %S/Inputs/oneline-nonewline >%t/oneline-nonewline.casid8 9RUN: llvm-cas --cas %t.cas --put-cache-key @%t/oneline.casid @%t/oneline-nonewline.casid10RUN: llvm-cas --cas %t.cas --get-cache-result @%t/oneline.casid > %t/result.casid11RUN: diff %t/oneline-nonewline.casid %t/result.casid12 13RUN: not llvm-cas --cas %t.cas --get-cache-result @%t/oneline-nonewline.casid 2>&1 | FileCheck %s14CHECK: result not found15