• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# UNSUPPORTED: system-freebsd
2
3# Test that ProcessInfo is correctly serialized by comparing the output of
4# 'platform process list -v' during capture and replay. The test assumes that
5# there's at least two processes.
6
7# RUN: %lldb -x -b -o 'platform process list -v' -o 'reproducer generate' --capture --capture-path %t.repro > %t.log
8# RUN: %lldb --replay %t.repro >> %t.log
9# RUN: cat %t.log | FileCheck %s
10
11# CHECK: [[PROCS:[0-9]+]] matching processes were found
12# CHECK: PID    PARENT USER       GROUP      EFF USER   EFF GROUP  TRIPLE                         ARGUMENTS
13# CHECK-NEXT: ====== ====== ========== ========== ========== ========== ============================== ============================
14# CHECK-NEXT: [[PID0:[0-9]+]] [[PROC0:.*]]
15# CHECK-NEXT: [[PID1:[0-9]+]] [[PROC1:.*]]
16# CHECK: Reproducer written to
17# CHECK: [[PROCS]] matching processes were found
18# CHECK: PID    PARENT USER       GROUP      EFF USER   EFF GROUP  TRIPLE                         ARGUMENTS
19# CHECK-NEXT: ====== ====== ========== ========== ========== ========== ============================== ============================
20# CHECK-NEXT: [[PID0]] [[PROC0]]
21# CHECK-NEXT: [[PID1]] [[PROC1]]
22