summaryrefslogtreecommitdiff
path: root/tests/restart_syscall.test
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2016-03-30 00:13:37 +0000
committerDmitry V. Levin <ldv@altlinux.org>2016-03-30 00:13:37 +0000
commit2e8a7871ab509e0b628233c71467ee08fe94f70b (patch)
tree615283c39c73bc7bcf6733be90aa10fa84f198ac /tests/restart_syscall.test
parenta990e8c671c2507a5379d84ef21402ec81057f78 (diff)
downloadstrace-2e8a7871ab509e0b628233c71467ee08fe94f70b.tar.gz
tests: move definitions of $OUT and $ERR to init.sh
As virtually every test defines either one or both of OUT and ERR variables and these definitions are exactly the same, move definitions of these variables from individual tests to init.sh. * tests/init.sh (OUT, ERR): New variables. * tests/ipc.sh: Remove initialization of OUT variable. * tests/statx.sh: Likewise. * tests/*.test: Remove initialization of OUT and ERR variables.
Diffstat (limited to 'tests/restart_syscall.test')
-rwxr-xr-xtests/restart_syscall.test1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/restart_syscall.test b/tests/restart_syscall.test
index ff43bf630..6dfda1686 100755
--- a/tests/restart_syscall.test
+++ b/tests/restart_syscall.test
@@ -5,7 +5,6 @@
. "${srcdir=.}/init.sh"
run_prog > /dev/null
-OUT="$LOG.out"
syscalls=nanosleep,restart_syscall
run_strace -a20 -e trace=$syscalls $args > "$OUT"
match_grep "$LOG" "$OUT"