==== test-empty ==== cc -O2 -pipe -MD -MP -c /home/src/regress/sys/kern/execve/doexec.c cc -static -o doexec doexec.o install -c -m 755 /home/src/regress/sys/kern/execve/tests/empty.in empty /home/src/regress/sys/kern/execve/obj/doexec /home/src/regress/sys/kern/execve/obj/empty | diff - /home/src/regress/sys/kern/execve/good/empty ==== test-nonexist ==== /home/src/regress/sys/kern/execve/obj/doexec /home/src/regress/sys/kern/execve/obj/nonexistent | diff - /home/src/regress/sys/kern/execve/good/nonexistent ==== test-nonexistshell ==== install -c -m 755 /home/src/regress/sys/kern/execve/tests/nonexistshell.in nonexistshell /home/src/regress/sys/kern/execve/obj/doexec /home/src/regress/sys/kern/execve/obj/nonexistshell | diff - /home/src/regress/sys/kern/execve/good/nonexistshell ==== test-devnullscript ==== install -c -m 755 /home/src/regress/sys/kern/execve/tests/devnullscript.in devnullscript /home/src/regress/sys/kern/execve/obj/doexec /home/src/regress/sys/kern/execve/obj/devnullscript | diff - /home/src/regress/sys/kern/execve/good/devnullscript ==== test-badinterplen ==== install -c -m 755 /home/src/regress/sys/kern/execve/tests/badinterplen.in badinterplen /home/src/regress/sys/kern/execve/obj/doexec /home/src/regress/sys/kern/execve/obj/badinterplen | diff - /home/src/regress/sys/kern/execve/good/badinterplen ==== test-goodscript ==== install -c -m 755 /home/src/regress/sys/kern/execve/tests/goodscript.in goodscript /home/src/regress/sys/kern/execve/obj/doexec /home/src/regress/sys/kern/execve/obj/goodscript | diff - /home/src/regress/sys/kern/execve/good/goodscript ==== test-scriptarg ==== install -c -m 755 /home/src/regress/sys/kern/execve/tests/scriptarg.in scriptarg /home/src/regress/sys/kern/execve/obj/doexec /home/src/regress/sys/kern/execve/obj/scriptarg 2>&1 | diff - /home/src/regress/sys/kern/execve/good/scriptarg ==== test-scriptarg-nospace ==== install -c -m 755 /home/src/regress/sys/kern/execve/tests/scriptarg-nospace.in scriptarg-nospace /home/src/regress/sys/kern/execve/obj/doexec /home/src/regress/sys/kern/execve/obj/scriptarg-nospace 2>&1 | diff - /home/src/regress/sys/kern/execve/good/scriptarg-nospace ==== test-goodaout ==== cc -O2 -pipe -MD -MP -static -o goodaout /home/src/regress/sys/kern/execve/tests/goodaout.c /home/src/regress/sys/kern/execve/obj/doexec /home/src/regress/sys/kern/execve/obj/goodaout | diff - /home/src/regress/sys/kern/execve/good/goodaout ==== test-truncaout ==== /bin/rm -rf truncaout dd if=/home/src/regress/sys/kern/execve/obj/goodaout of=truncaout bs=16 count=1 1+0 records in 1+0 records out 16 bytes transferred in 0.000 secs (250681 bytes/sec) chmod a+x truncaout /home/src/regress/sys/kern/execve/obj/doexec /home/src/regress/sys/kern/execve/obj/truncaout | diff - /home/src/regress/sys/kern/execve/good/truncaout