Debian Codegraph @

tests/proc

raw
1 #! /bin/sh
2 # Test the /proc file system if available.
3
4 # Copyright 2016-2025 Free Software Foundation, Inc.
5 #
6 # Copying and distribution of this file, with or without modification,
7 # are permitted in any medium without royalty provided the copyright
8 # notice and this notice are preserved.
9
10 . "${srcdir=.}/init.sh"; path_prepend_ ../src
11
12 fail=0
13
14 test -r /proc/self/status || skip_ 'No /proc/self/status on this platform.'
15
16 grep '^' </proc/self/status >/dev/null || fail=1
17
18 Exit $fail