003 File Manager
Current Path:
/usr/src/bin/sh/tests/parameters
usr
/
src
/
bin
/
sh
/
tests
/
parameters
/
📁
..
📄
Makefile
(676 B)
📄
Makefile.depend
(176 B)
📄
env1.0
(171 B)
📄
exitstatus1.0
(63 B)
📄
ifs1.0
(112 B)
📄
mail1.0
(379 B)
📄
mail2.0
(380 B)
📄
optind1.0
(46 B)
📄
optind2.0
(67 B)
📄
positional1.0
(540 B)
📄
positional2.0
(2.12 KB)
📄
positional3.0
(105 B)
📄
positional4.0
(80 B)
📄
positional5.0
(184 B)
📄
positional6.0
(62 B)
📄
positional7.0
(83 B)
📄
positional8.0
(618 B)
📄
positional9.0
(432 B)
📄
pwd1.0
(395 B)
📄
pwd2.0
(556 B)
Editing: mail2.0
# $FreeBSD$ # Test that an interactive shell accesses $MAIL. goodfile=/var/empty/sh-test-goodfile mailfile=/var/empty/sh-test-mailfile T=$(mktemp sh-test.XXXXXX) || exit ENV=$goodfile MAIL=$mailfile ktrace -i -f "$T" ${SH} +m -i </dev/null >/dev/null 2>&1 if ! grep -q $goodfile "$T"; then # ktrace problem rc=0 elif grep -q $mailfile "$T"; then rc=0 fi rm "$T" exit ${rc:-3}
Upload File
Create Folder