From 54db40bad0cc5ba58b0b3f495bb351a42ccdd768 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 5 Jan 2001 18:52:01 +0000 Subject: Build test files from a .in source file. We do this to guarantee that the test files to be executed actually have the execute bit set on them since CTM doesn't preserve file permissions. --- regress/sys/kern/execve/tests/badinterplen | 3 --- regress/sys/kern/execve/tests/badinterplen.in | 3 +++ regress/sys/kern/execve/tests/devnullscript | 3 --- regress/sys/kern/execve/tests/devnullscript.in | 3 +++ regress/sys/kern/execve/tests/empty | 0 regress/sys/kern/execve/tests/empty.in | 0 regress/sys/kern/execve/tests/goodscript | 3 --- regress/sys/kern/execve/tests/goodscript.in | 3 +++ regress/sys/kern/execve/tests/nonexistshell | 3 --- regress/sys/kern/execve/tests/nonexistshell.in | 3 +++ regress/sys/kern/execve/tests/scriptarg | 3 --- regress/sys/kern/execve/tests/scriptarg-nospace | 3 --- regress/sys/kern/execve/tests/scriptarg-nospace.in | 3 +++ regress/sys/kern/execve/tests/scriptarg.in | 3 +++ 14 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 regress/sys/kern/execve/tests/badinterplen create mode 100644 regress/sys/kern/execve/tests/badinterplen.in delete mode 100644 regress/sys/kern/execve/tests/devnullscript create mode 100644 regress/sys/kern/execve/tests/devnullscript.in delete mode 100644 regress/sys/kern/execve/tests/empty create mode 100644 regress/sys/kern/execve/tests/empty.in delete mode 100644 regress/sys/kern/execve/tests/goodscript create mode 100644 regress/sys/kern/execve/tests/goodscript.in delete mode 100644 regress/sys/kern/execve/tests/nonexistshell create mode 100644 regress/sys/kern/execve/tests/nonexistshell.in delete mode 100644 regress/sys/kern/execve/tests/scriptarg delete mode 100644 regress/sys/kern/execve/tests/scriptarg-nospace create mode 100644 regress/sys/kern/execve/tests/scriptarg-nospace.in create mode 100644 regress/sys/kern/execve/tests/scriptarg.in (limited to 'regress') diff --git a/regress/sys/kern/execve/tests/badinterplen b/regress/sys/kern/execve/tests/badinterplen deleted file mode 100644 index 1b3a2e4e5b9..00000000000 --- a/regress/sys/kern/execve/tests/badinterplen +++ /dev/null @@ -1,3 +0,0 @@ -#! 456789012345678 0123456789012345 789012345678 012345678901234 - -echo succeeded diff --git a/regress/sys/kern/execve/tests/badinterplen.in b/regress/sys/kern/execve/tests/badinterplen.in new file mode 100644 index 00000000000..1b3a2e4e5b9 --- /dev/null +++ b/regress/sys/kern/execve/tests/badinterplen.in @@ -0,0 +1,3 @@ +#! 456789012345678 0123456789012345 789012345678 012345678901234 + +echo succeeded diff --git a/regress/sys/kern/execve/tests/devnullscript b/regress/sys/kern/execve/tests/devnullscript deleted file mode 100644 index d23f9901f20..00000000000 --- a/regress/sys/kern/execve/tests/devnullscript +++ /dev/null @@ -1,3 +0,0 @@ -#! /dev/null - -echo succeeded diff --git a/regress/sys/kern/execve/tests/devnullscript.in b/regress/sys/kern/execve/tests/devnullscript.in new file mode 100644 index 00000000000..d23f9901f20 --- /dev/null +++ b/regress/sys/kern/execve/tests/devnullscript.in @@ -0,0 +1,3 @@ +#! /dev/null + +echo succeeded diff --git a/regress/sys/kern/execve/tests/empty b/regress/sys/kern/execve/tests/empty deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/regress/sys/kern/execve/tests/empty.in b/regress/sys/kern/execve/tests/empty.in new file mode 100644 index 00000000000..e69de29bb2d diff --git a/regress/sys/kern/execve/tests/goodscript b/regress/sys/kern/execve/tests/goodscript deleted file mode 100644 index 6dc23b2ca72..00000000000 --- a/regress/sys/kern/execve/tests/goodscript +++ /dev/null @@ -1,3 +0,0 @@ -#! /bin/csh - -echo succeeded diff --git a/regress/sys/kern/execve/tests/goodscript.in b/regress/sys/kern/execve/tests/goodscript.in new file mode 100644 index 00000000000..6dc23b2ca72 --- /dev/null +++ b/regress/sys/kern/execve/tests/goodscript.in @@ -0,0 +1,3 @@ +#! /bin/csh + +echo succeeded diff --git a/regress/sys/kern/execve/tests/nonexistshell b/regress/sys/kern/execve/tests/nonexistshell deleted file mode 100644 index d00bd83e9f1..00000000000 --- a/regress/sys/kern/execve/tests/nonexistshell +++ /dev/null @@ -1,3 +0,0 @@ -#! /foo/bar/baz - -echo foo diff --git a/regress/sys/kern/execve/tests/nonexistshell.in b/regress/sys/kern/execve/tests/nonexistshell.in new file mode 100644 index 00000000000..d00bd83e9f1 --- /dev/null +++ b/regress/sys/kern/execve/tests/nonexistshell.in @@ -0,0 +1,3 @@ +#! /foo/bar/baz + +echo foo diff --git a/regress/sys/kern/execve/tests/scriptarg b/regress/sys/kern/execve/tests/scriptarg deleted file mode 100644 index d0e38ae8d74..00000000000 --- a/regress/sys/kern/execve/tests/scriptarg +++ /dev/null @@ -1,3 +0,0 @@ -#! /bin/sh -x - -echo succeeded diff --git a/regress/sys/kern/execve/tests/scriptarg-nospace b/regress/sys/kern/execve/tests/scriptarg-nospace deleted file mode 100644 index 15def094282..00000000000 --- a/regress/sys/kern/execve/tests/scriptarg-nospace +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -x - -echo succeeded diff --git a/regress/sys/kern/execve/tests/scriptarg-nospace.in b/regress/sys/kern/execve/tests/scriptarg-nospace.in new file mode 100644 index 00000000000..15def094282 --- /dev/null +++ b/regress/sys/kern/execve/tests/scriptarg-nospace.in @@ -0,0 +1,3 @@ +#!/bin/sh -x + +echo succeeded diff --git a/regress/sys/kern/execve/tests/scriptarg.in b/regress/sys/kern/execve/tests/scriptarg.in new file mode 100644 index 00000000000..d0e38ae8d74 --- /dev/null +++ b/regress/sys/kern/execve/tests/scriptarg.in @@ -0,0 +1,3 @@ +#! /bin/sh -x + +echo succeeded -- cgit v1.2.3