blob: f0ce69190d4182b7ac45c00747fad0c6d0847042 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
RUN: rm -rf %t %t.cas
RUN: mkdir %t
RUN: llvm-cas --cas %t.cas --make-blob \
RUN: --data /dev/null > %t/empty.casid
RUN: echo "abc" | \
RUN: llvm-cas --cas %t.cas --make-blob \
RUN: --data - >%t/abc.casid
RUN: llvm-cas --cas %t/cas --put-cache-key @%t/abc.casid @%t/empty.casid
RUN: llvm-cas --cas %t/cas --get-cache-result @%t/abc.casid > %t/empty2.casid
RUN: diff %t/empty.casid %t/empty2.casid
RUN: not llvm-cas --cas %t/cas --get-cache-result @%t/empty.casid
|