START sys/kern/execve 2024-11-22T08:58:27Z ==== test-empty ==== cc -O2 -pipe -MD -MP -c /usr/src/regress/sys/kern/execve/doexec.c cc -static -o doexec doexec.o install -c -m 755 /usr/src/regress/sys/kern/execve/tests/empty.in empty /usr/src/regress/sys/kern/execve/obj/doexec /usr/src/regress/sys/kern/execve/obj/empty | diff - /usr/src/regress/sys/kern/execve/good/empty ==== test-nonexist ==== /usr/src/regress/sys/kern/execve/obj/doexec /usr/src/regress/sys/kern/execve/obj/nonexistent | diff - /usr/src/regress/sys/kern/execve/good/nonexistent ==== test-nonexistshell ==== install -c -m 755 /usr/src/regress/sys/kern/execve/tests/nonexistshell.in nonexistshell /usr/src/regress/sys/kern/execve/obj/doexec /usr/src/regress/sys/kern/execve/obj/nonexistshell | diff - /usr/src/regress/sys/kern/execve/good/nonexistshell ==== test-devnullscript ==== install -c -m 755 /usr/src/regress/sys/kern/execve/tests/devnullscript.in devnullscript /usr/src/regress/sys/kern/execve/obj/doexec /usr/src/regress/sys/kern/execve/obj/devnullscript | diff - /usr/src/regress/sys/kern/execve/good/devnullscript ==== test-badinterplen ==== install -c -m 755 /usr/src/regress/sys/kern/execve/tests/badinterplen.in badinterplen /usr/src/regress/sys/kern/execve/obj/doexec /usr/src/regress/sys/kern/execve/obj/badinterplen | diff - /usr/src/regress/sys/kern/execve/good/badinterplen ==== test-goodscript ==== install -c -m 755 /usr/src/regress/sys/kern/execve/tests/goodscript.in goodscript /usr/src/regress/sys/kern/execve/obj/doexec /usr/src/regress/sys/kern/execve/obj/goodscript | diff - /usr/src/regress/sys/kern/execve/good/goodscript ==== test-scriptarg ==== install -c -m 755 /usr/src/regress/sys/kern/execve/tests/scriptarg.in scriptarg /usr/src/regress/sys/kern/execve/obj/doexec /usr/src/regress/sys/kern/execve/obj/scriptarg 2>&1 | diff - /usr/src/regress/sys/kern/execve/good/scriptarg ==== test-scriptarg-nospace ==== install -c -m 755 /usr/src/regress/sys/kern/execve/tests/scriptarg-nospace.in scriptarg-nospace /usr/src/regress/sys/kern/execve/obj/doexec /usr/src/regress/sys/kern/execve/obj/scriptarg-nospace 2>&1 | diff - /usr/src/regress/sys/kern/execve/good/scriptarg-nospace ==== test-goodaout ==== cc -O2 -pipe -MD -MP -static -o goodaout /usr/src/regress/sys/kern/execve/tests/goodaout.c /usr/src/regress/sys/kern/execve/obj/doexec /usr/src/regress/sys/kern/execve/obj/goodaout | diff - /usr/src/regress/sys/kern/execve/good/goodaout ==== test-truncaout ==== /bin/rm -rf truncaout dd if=/usr/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 (296741 bytes/sec) chmod a+x truncaout /usr/src/regress/sys/kern/execve/obj/doexec /usr/src/regress/sys/kern/execve/obj/truncaout | diff - /usr/src/regress/sys/kern/execve/good/truncaout PASS sys/kern/execve Duration 0m01.30s