blob: 384113e2f75e0d4188075e0547f058c57c55cf96 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#!/bin/sh
rm -rf "${ctmp}"
chpst
echo $?
chpst -V
echo $?
# -u
# -U
mkdir "${ctmp}"
echo 1 >"${ctmp}"/test
chpst -e"${ctmp}" env |sed -ne '/^test=1$/p'
echo $?
rm -rf "${ctmp}"
chpst -l"${ctmp}" true
echo $?
rm -f "${ctmp}"
chpst -L"${ctmp}" true
echo $?
rm -f "${ctmp}"
# -m
# -o
# -p
# -f
# -c
chpst -P true
echo $?
chpst -012 true
echo $?
|