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

1 2 3 4

  /external/strace/tests/
run.sh 5 $STRACE -V > /dev/null ||
6 framework_failure_ "$STRACE is not available"
bexecve.test 6 # Copyright (c) 2015-2017 The strace developers.
36 $STRACE "$@" 2> "$LOG"
40 dump_log_and_fail_with "$STRACE $args: unexpected exit status"
44 dump_log_and_fail_with "$STRACE $args: unexpected exit status"
47 dump_log_and_fail_with "$STRACE $args: unexpected exit status"
49 pattern_detached='[^:]*strace: Process [1-9][0-9]* detached'
50 pattern_personality='[^:]*strace: \[ Process PID=[1-9][0-9]* runs in .* mode. \]'
53 dump_log_and_fail_with "$STRACE $args: output mismatch"
56 dump_log_and_fail_with "$STRACE $args: unexpected output"
fflush.test 5 # Copyright (c) 2011-2017 The strace developers.
35 $STRACE $args > "$EXP" 2> "$LOG" || {
36 msg="$STRACE $args failed with code $?"
interactive_block.test 4 # at strace startup will remain blocked.
8 strace0="$STRACE"
12 STRACE="$blocksig $strace0"
termsig.test 11 STRACE="$run_expect_termsig $STRACE"
opipe.test 11 $STRACE -o "|cat > $LOG && $SLEEP_A_BIT && grep chdir < $LOG > $OUT" -e chdir $args ||
12 dump_log_and_fail_with "$STRACE $args failed"
printpath-umovestr-legacy.test 36 $STRACE -o "$LOG" $fault_args $args > /dev/null || {
48 $STRACE -o /dev/null $fault_args \
49 $STRACE -o "$LOG" $args > "$EXP" ||
50 dump_log_and_fail_with "$STRACE $args failed with code $?"
printstrn-umoven-legacy.test 36 $STRACE -o "$LOG" $fault_args $args > /dev/null || {
48 $STRACE -o /dev/null $fault_args \
49 $STRACE -o "$LOG" $args > "$EXP" ||
50 dump_log_and_fail_with "$STRACE $args failed with code $?"
redirect.test 3 # Ensure that strace does not retain stdin and stdout descriptors.
6 # Copyright (c) 2016-2017 The strace developers.
52 ) | $STRACE -qq -enone -esignal=none \
56 fail_ "$STRACE failed to redirect standard input"
60 $STRACE -qq -enone -esignal=none \
76 fail_ "$STRACE failed to redirect standard output"
  /external/strace/tests-m32/
run.sh 5 $STRACE -V > /dev/null ||
6 framework_failure_ "$STRACE is not available"
bexecve.test 6 # Copyright (c) 2015-2017 The strace developers.
36 $STRACE "$@" 2> "$LOG"
40 dump_log_and_fail_with "$STRACE $args: unexpected exit status"
44 dump_log_and_fail_with "$STRACE $args: unexpected exit status"
47 dump_log_and_fail_with "$STRACE $args: unexpected exit status"
49 pattern_detached='[^:]*strace: Process [1-9][0-9]* detached'
50 pattern_personality='[^:]*strace: \[ Process PID=[1-9][0-9]* runs in .* mode. \]'
53 dump_log_and_fail_with "$STRACE $args: output mismatch"
56 dump_log_and_fail_with "$STRACE $args: unexpected output"
fflush.test 5 # Copyright (c) 2011-2017 The strace developers.
35 $STRACE $args > "$EXP" 2> "$LOG" || {
36 msg="$STRACE $args failed with code $?"
interactive_block.test 4 # at strace startup will remain blocked.
8 strace0="$STRACE"
12 STRACE="$blocksig $strace0"
termsig.test 11 STRACE="$run_expect_termsig $STRACE"
opipe.test 11 $STRACE -o "|cat > $LOG && $SLEEP_A_BIT && grep chdir < $LOG > $OUT" -e chdir $args ||
12 dump_log_and_fail_with "$STRACE $args failed"
printpath-umovestr-legacy.test 36 $STRACE -o "$LOG" $fault_args $args > /dev/null || {
48 $STRACE -o /dev/null $fault_args \
49 $STRACE -o "$LOG" $args > "$EXP" ||
50 dump_log_and_fail_with "$STRACE $args failed with code $?"
printstrn-umoven-legacy.test 36 $STRACE -o "$LOG" $fault_args $args > /dev/null || {
48 $STRACE -o /dev/null $fault_args \
49 $STRACE -o "$LOG" $args > "$EXP" ||
50 dump_log_and_fail_with "$STRACE $args failed with code $?"
redirect.test 3 # Ensure that strace does not retain stdin and stdout descriptors.
6 # Copyright (c) 2016-2017 The strace developers.
52 ) | $STRACE -qq -enone -esignal=none \
56 fail_ "$STRACE failed to redirect standard input"
60 $STRACE -qq -enone -esignal=none \
76 fail_ "$STRACE failed to redirect standard output"
  /external/strace/tests-mx32/
run.sh 5 $STRACE -V > /dev/null ||
6 framework_failure_ "$STRACE is not available"
bexecve.test 6 # Copyright (c) 2015-2017 The strace developers.
36 $STRACE "$@" 2> "$LOG"
40 dump_log_and_fail_with "$STRACE $args: unexpected exit status"
44 dump_log_and_fail_with "$STRACE $args: unexpected exit status"
47 dump_log_and_fail_with "$STRACE $args: unexpected exit status"
49 pattern_detached='[^:]*strace: Process [1-9][0-9]* detached'
50 pattern_personality='[^:]*strace: \[ Process PID=[1-9][0-9]* runs in .* mode. \]'
53 dump_log_and_fail_with "$STRACE $args: output mismatch"
56 dump_log_and_fail_with "$STRACE $args: unexpected output"
fflush.test 5 # Copyright (c) 2011-2017 The strace developers.
35 $STRACE $args > "$EXP" 2> "$LOG" || {
36 msg="$STRACE $args failed with code $?"
interactive_block.test 4 # at strace startup will remain blocked.
8 strace0="$STRACE"
12 STRACE="$blocksig $strace0"
termsig.test 11 STRACE="$run_expect_termsig $STRACE"
opipe.test 11 $STRACE -o "|cat > $LOG && $SLEEP_A_BIT && grep chdir < $LOG > $OUT" -e chdir $args ||
12 dump_log_and_fail_with "$STRACE $args failed"
printpath-umovestr-legacy.test 36 $STRACE -o "$LOG" $fault_args $args > /dev/null || {
48 $STRACE -o /dev/null $fault_args \
49 $STRACE -o "$LOG" $args > "$EXP" ||
50 dump_log_and_fail_with "$STRACE $args failed with code $?"

Completed in 603 milliseconds

1 2 3 4