15 lines · plain
1RUN: rm -rf %t %t.cas2RUN: mkdir %t3 4RUN: llvm-cas --cas %t.cas --make-blob \5RUN: --data /dev/null > %t/empty.casid6RUN: echo "abc" | \7RUN: llvm-cas --cas %t.cas --make-blob \8RUN: --data - >%t/abc.casid9 10RUN: llvm-cas --cas %t/cas --put-cache-key @%t/abc.casid @%t/empty.casid11RUN: llvm-cas --cas %t/cas --get-cache-result @%t/abc.casid > %t/empty2.casid12RUN: diff %t/empty.casid %t/empty2.casid13 14RUN: not llvm-cas --cas %t/cas --get-cache-result @%t/empty.casid15