]> granicus.if.org Git - strace/commitdiff
tests: tabulate shmxt.test
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 14 Apr 2017 15:35:21 +0000 (15:35 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 14 Apr 2017 15:35:21 +0000 (15:35 +0000)
* tests/gen_tests.in (shmxt): New entry.
* tests/shmxt.test: Remove.
* tests/Makefile.am (DECODER_TESTS): Remove shmxt.test.

tests/Makefile.am
tests/gen_tests.in
tests/shmxt.test [deleted file]

index cc71998e9f256ecd2e64b94cacdfd55e64b1a7bf..75ade3e48a98652e58dee0ae2428f0dae052daf0 100644 (file)
@@ -543,7 +543,6 @@ DECODER_TESTS = \
        sched.test \
        scm_rights-fd.test \
        seccomp-strict.test \
-       shmxt.test \
        sigaction.test \
        sigaltstack.test \
        statfs.test \
index d855212e6235a32df4377155badf7f5bc880d188..9f91fddd8ef389a4f447f54cb5b20c0438d77251 100644 (file)
@@ -269,6 +269,7 @@ setreuid32  -a17
 setrlimit      -a27
 setuid -a10
 setuid32       -a12
+shmxt  -a11 -e trace=/\\(osf_\\)\\?shmat,shmdt
 shutdown       -a24
 siginfo        -e trace=none
 signal_receive -a16 -e trace=kill
diff --git a/tests/shmxt.test b/tests/shmxt.test
deleted file mode 100755 (executable)
index 3757cfa..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-# Check shmat and shmdt syscalls decoding.
-
-. "${srcdir=.}/init.sh"
-
-case "$STRACE_ARCH" in
-       alpha) shmat=osf_shmat ;;
-       *) shmat=shmat ;;
-esac
-
-run_strace_match_diff -e trace=$shmat,shmdt -a11