aboutsummaryrefslogtreecommitdiff
path: root/tests-mx32/count.test
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-06-14 16:59:04 -0700
committerElliott Hughes <enh@google.com>2018-06-14 16:59:04 -0700
commit28e98bc4854bb613fdfcbcda72e72a36bb43a284 (patch)
treece7aebe6b614c7f8b42b57247277d74034d7d536 /tests-mx32/count.test
parent5b3348ca5f0829c9149c01ade3904c8ff828bb62 (diff)
downloadstrace-28e98bc4854bb613fdfcbcda72e72a36bb43a284.tar.gz
Update strace to 4.22.
Noteworthy changes in release 4.22 (2018-04-05) =============================================== * Changes in infrastructure * The mailing list was moved to strace-devel@lists.strace.io. * SourceForge git repository (https://sourceforge.net/p/strace/code/ci/master/tree/) is no longer maintained. Please use GitLab (https://gitlab.com/strace/strace/) or GitHub (https://github.com/strace/strace/) repository instead. * Changes in behaviour * When printing string data, '8' and '9' following an octal escape sequence no longer lead to unabbreviated octal escape sequence output, as they used to do. * Angle brackets are now printed as octal number escape sequences in the output of paths associated with file descriptors. * Data dump for write syscalls (-e write) is performed regardless of successfulness of these syscall (addresses Debian bug #436284). * -r and -t options are now affect output independently. Previously, -r option led to ignoring of the -t option (addresses Debian bug #466195). * Improvements * Implemented delay injection (-e inject=SET:delay_enter= and -e inject=SET:delay_exit= options). * Added -A option for opening output files in append mode (addresses Debian bug #528488). * IPv6 addresses shown in socket information in -yy mode are now printed in brackets. * Enhanced decoding of bpf, prctl and ptrace syscalls. * Enhanced decoding of BTRFS_IOC_INO_PATHS, BTRFS_IOC_LOGICAL_INO, and PTP_* ioctl commands. * Enhanced NETLINK_ROUTE protocol decoding. * Updated lists of signal codes. * Updated lists of BPF_*, BTN_*, ETH_P_*, INET_DIAG_BC_*, KEY_*, POLL*, RWF_*, SCHED_FLAG_*, SCTP_* and error constants. * Implemented block/character device number printing in -yy mode. * Known pixel/SDR format names are printed as comments for pixelformat fields in v4l2 structures. * Enhanced decoding of kern_features syscall. * Enhanced NETLINK_NETFILTER netlink protocol decoder. * Optimized handling of large number of tracees. * Improved wall clock time measurement in syscall count statistics (-c -w option). * Extended the range of allowed values in -e inject=...:retval= expression. * Added i18n support. * Updated lists of ioctl commands from Linux 4.16. * Enhanced manual page. * Bug fixes * Fixed build on m68k. * Fixed v4l2 pixelformat decoding on big-endian architectures. * Fixed -O option. Bug: N/A Test: strace -f date Change-Id: I41780dbf3262f9e2f72c825fc3c4c1be662bbbf5
Diffstat (limited to 'tests-mx32/count.test')
-rwxr-xr-xtests-mx32/count.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests-mx32/count.test b/tests-mx32/count.test
index a9752c09..a2ecc4fa 100755
--- a/tests-mx32/count.test
+++ b/tests-mx32/count.test
@@ -3,7 +3,7 @@
# Check whether -c and -w options work.
#
# Copyright (c) 2014-2016 Dmitry V. Levin <ldv@altlinux.org>
-# Copyright (c) 2014-2017 The strace developers.
+# Copyright (c) 2014-2018 The strace developers.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -50,8 +50,12 @@ grep_log()
}
grep_log ' *[^ ]+ +0\.0[^n]*nanosleep' -c
+grep_log ' *[^ ]+ +0\.0[^n]*nanosleep' -c -O1
grep_log ' *[^ ]+ +0\.0[^n]*nanosleep' -c -enanosleep
+grep_log ' *[^ ]+ +0\.0[^n]*nanosleep' -c -O1 -enanosleep
grep_log ' *[^ ]+ +(1\.[01]|0\.99)[^n]*nanosleep' -cw
+grep_log ' *[^ ]+ +(1\.[01]|0\.99)[^n]*nanosleep' -cw -O1
grep_log '100\.00 +(1\.[01]|0\.99)[^n]*nanosleep' -cw -enanosleep
+grep_log '100\.00 +(1\.[01]|0\.99)[^n]*nanosleep' -cw -O1 -enanosleep
exit 0