Dmitry V. Levin
48321344d7
* util.c (umovestr): Check the right address. * tests/umovestr.c: New file. * tests/umovestr2.c: Likewise. * tests/umovestr.expected: Likewise. * tests/umovestr.test: New test. * tests/umovestr2.test: Likewise. * tests/Makefile.am (check_PROGRAMS): Add umovestr and umovestr2. (TESTS): Add umovestr.test and umovestr2.test. (EXTRA_DIST): Add umovestr.expected. * tests/.gitignore: Add umovestr and umovestr2. Reported-by: Josef T. Burger <bolo@cs.wisc.edu>
16 lines
204 B
Bash
Executable File
16 lines
204 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# umovestr short read regression test
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
OUT="$LOG.out"
|
|
|
|
run_prog > /dev/null
|
|
run_strace -veexecve -s262144 $args > "$OUT"
|
|
match_grep "$LOG" "$OUT"
|
|
|
|
rm -f "$OUT"
|
|
|
|
exit 0
|