]> granicus.if.org Git - strace/blob - tests/localtime.test
Remove XLAT_END
[strace] / tests / localtime.test
1 #!/bin/sh
2 #
3 # Check handling of localtime() failure in printleader().
4 #
5 # Copyright (c) 2018 The strace developers.
6 # All rights reserved.
7 #
8 # SPDX-License-Identifier: GPL-2.0-or-later
9
10 . "${srcdir=.}/init.sh"
11
12 check_prog faketime
13 faketime -f +1000000000000000000x0 ../$NAME | grep -q '^100000000' \
14         || framework_skip_ 'faketime failed to fake time'
15
16 STRACE="faketime -f +1000000000000000000x0 $STRACE"
17
18 run_strace_match_diff -tt -a10 -e trace=gettid