Dmitry V. Levin
431d63c13f
* tests/ftruncate64.c: New file. * tests/truncate64.c: Likewise. * tests/ftruncate64.test: New test. * tests/truncate64.test: Likewise. * tests/Makefile.am (check_PROGRAMS): Add ftruncate64 and truncate64. (ftruncate64_CFLAGS, truncate64_CFLAGS): Define. (TESTS): Add ftruncate64.test and truncate64.test. * tests/.gitignore: Add ftruncate64 and truncate64.
14 lines
202 B
Bash
Executable File
14 lines
202 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check ftruncate64 syscall decoding.
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
run_prog > /dev/null
|
|
OUT="$LOG.out"
|
|
run_strace -a36 -eftruncate64 $args > "$OUT"
|
|
match_diff "$LOG" "$OUT"
|
|
rm -f "$OUT"
|
|
|
|
exit 0
|