In Shell tests, replace use of the `p` alias with the `expression` command. To avoid conflating tests of the alias with tests of the expression command, this patch canonicalizes to the use `expression`. See also D141539 which made the same change to API tests. Differential Revision: https://reviews.llvm.org/D146230
5 lines
239 B
Plaintext
5 lines
239 B
Plaintext
# RUN: %clang_host -g %S/Inputs/main.c -o %t
|
|
# RUN: %lldb -b -o 'target stop-hook add --name test --shlib test -o "expression 95000 + 126"' -o 'file %t' -o 'b main' -o 'r' 2>&1 | FileCheck %s
|
|
# CHECK: Stop hook #1 added
|
|
# CHECK-NOT: 95126
|