]> granicus.if.org Git - strace/commitdiff
open.test, openat.test: lift /proc requirement
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 29 Mar 2016 03:33:00 +0000 (03:33 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 29 Mar 2016 03:33:00 +0000 (03:33 +0000)
While -P option needs /proc to match descriptors, it does not use
/proc to match pathnames.  As these tests do not need descriptor
match, the /proc requirement can be safely lifted.

* tests/open.test: Lift /proc/self/fd/ requirement.
* tests/openat.test: Likewise.

tests/open.test
tests/openat.test

index 4f3604617f31118f5ae49699792c85c350dc5aea..2135b7ff3749d13bc082659220ad01a69d7a5052 100755 (executable)
@@ -4,10 +4,6 @@
 
 . "${srcdir=.}/init.sh"
 
-# strace -P is implemented using /proc/self/fd
-[ -d /proc/self/fd/ ] ||
-       framework_skip_ '/proc/self/fd/ is not available'
-
 run_prog > /dev/null
 OUT="$LOG.out"
 syscall=${ME_%.test}
index a498c32327527cbf88b4d033813df3962b2e8177..122f70794070ca2267e6bf2be75a68c4139c3ff0 100755 (executable)
@@ -4,10 +4,6 @@
 
 . "${srcdir=.}/init.sh"
 
-# strace -P is implemented using /proc/self/fd
-[ -d /proc/self/fd/ ] ||
-       framework_skip_ '/proc/self/fd/ is not available'
-
 run_prog > /dev/null
 OUT="$LOG.out"
 syscall=${ME_%.test}