HomeSort by relevance Sort by last modified time
    Searched refs:STRACE (Results 1 - 16 of 16) sorted by null

  /external/strace/tests/
run.sh 5 $STRACE -V > /dev/null ||
6 framework_failure_ "$STRACE is not available"
bexecve.test 35 $STRACE "$@" 2> "$LOG"
39 dump_log_and_fail_with "$STRACE $args: unexpected exit status"
43 dump_log_and_fail_with "$STRACE $args: unexpected exit status"
46 dump_log_and_fail_with "$STRACE $args: unexpected exit status"
48 pattern_detached='[^:]*strace: Process [1-9][0-9]* detached'
49 pattern_personality='[^:]*strace: \[ Process PID=[1-9][0-9]* runs in .* mode. \]'
52 dump_log_and_fail_with "$STRACE $args: output mismatch"
55 dump_log_and_fail_with "$STRACE $args: unexpected output"
qual_syscall.test 3 # Ensure that strace -e trace=set works.
11 dump_log_and_fail_with "$STRACE $args output mismatch"
15 dump_log_and_fail_with "$STRACE $args unexpected output"
20 dump_log_and_fail_with "$STRACE $args output mismatch"
23 dump_log_and_fail_with "$STRACE $args unexpected output"
strace-k.test 3 # Ensure that strace -k works.
33 $STRACE -h | grep '^[[:space:]]*-k[[:space:]]' > /dev/null ||
34 skip_ 'strace -k is not available'
36 # strace -k is implemented using /proc/$pid/maps
53 dump_log_and_fail_with "$STRACE $args output mismatch"
pipe.test 9 $STRACE -e$n -h > /dev/null && syscall=$syscall,$n
detach-stopped.test 3 # Ensure that strace can detach from stopped processes.
37 $STRACE -d -enone / > /dev/null 2> "$LOG"
38 if grep -x "[^:]*strace: PTRACE_SEIZE doesn't work" "$LOG" > /dev/null; then
66 $STRACE -p $tracee_pid 2> "$LOG" &
71 dump_log_and_fail_with "$STRACE -p failed to attach"
79 dump_log_and_fail_with "$STRACE -p missed stop notifications"
89 dump_log_and_fail_with "$STRACE -p failed to detach"
detach-running.test 3 # Ensure that strace can detach from running processes.
58 $STRACE -p $tracee_pid 2> "$LOG" &
63 dump_log_and_fail_with "$STRACE -p failed to attach"
73 dump_log_and_fail_with "$STRACE -p failed to detach"
detach-sleeping.test 3 # Ensure that strace can detach from sleeping processes.
59 $STRACE -p $tracee_pid 2> "$LOG" &
64 dump_log_and_fail_with "$STRACE -p failed to attach"
74 dump_log_and_fail_with "$STRACE -p failed to detach"
uid.test 14 if $STRACE -e "$n" -h > /dev/null; then
26 match_awk "$LOG" "$srcdir"/uid.awk "$STRACE $args output mismatch" -v suffix="$s"
mmap.test 9 $STRACE -e$n -h > /dev/null && syscall=$syscall,$n
utime.test 7 $STRACE -e utime -h > /dev/null ||
count.test 47 dump_log_and_fail_with "$STRACE $args output mismatch"
net-yy.test 32 # strace -yy is implemented using /proc/self/fd
51 match_awk "$LOG-connect" "$srcdir"/net-yy-connect.awk "$STRACE $args connect output mismatch"
52 match_awk "$LOG-accept" "$srcdir"/net-yy-accept.awk "$STRACE $args accept output mismatch"
pc.test 37 $STRACE $args 2> "$LOG" ||
38 dump_log_and_fail_with "$STRACE $args failed"
unix-yy.test 34 # strace -yy is implemented using /proc/self/fd
54 match_awk "$LOG-connect" "$srcdir"/unix-yy-connect.awk "$STRACE $args connect output mismatch" -v addr=$addr
55 match_awk "$LOG-accept" "$srcdir"/unix-yy-accept.awk "$STRACE $args accept output mismatch" -v addr=$addr
init.sh 74 $STRACE -o "$LOG" "$@" ||
75 dump_log_and_fail_with "$STRACE $args failed"
82 "$srcdir"/../strace-log-merge "$LOG" > "$LOG" ||
83 dump_log_and_fail_with 'strace-log-merge failed'
116 error="$STRACE $args output mismatch"
146 error="$STRACE $args output mismatch"
176 error="$STRACE $args output mismatch"
206 : "${STRACE:=../strace}"

Completed in 196 milliseconds