brintos

brintos / llvm-project-archived public Read only

0
0
Text · 544 B · f23bac6 Raw
28 lines · plain
1RUN: rm -rf %t2RUN: mkdir %t3 4RUN: llvm-cas --cas %t/cas --make-blob \5RUN:   --data - </dev/null6 7RUN: llvm-cas --cas %t/cas --make-blob \8RUN:   --data %s9 10RUN: llvm-cas --cas %t/cas --dump | FileCheck %s11 12// check the dump format.13CHECK:      index:14CHECK-NEXT: hash-num-bits=15CHECK-NEXT: root addr=16// it should has at least one index17CHECK-NEXT: - index=18 19// two records20CHECK:      record21CHECK-NEXT: - addr=22CHECK-NEXT: - addr=23 24// both should be small enough to be in data pool25CHECK:      pool:26CHECK-NEXT: - addr=27CHECK-NEXT: - addr=28