diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/test-chroot.sh | 3 | ||||
-rwxr-xr-x | test/test-cp-setuid.sh | 3 | ||||
-rwxr-xr-x | test/test-dir-move.sh | 3 | ||||
-rwxr-xr-x | test/test-env_i.sh | 3 | ||||
-rwxr-xr-x | test/test-execl.sh | 3 | ||||
-rwxr-xr-x | test/test-pseudo_disable-fork-env_i.sh | 3 | ||||
-rwxr-xr-x | test/test-pseudo_disable-fork.sh | 3 | ||||
-rwxr-xr-x | test/test-pseudo_unload-fork-env_i.sh | 3 | ||||
-rwxr-xr-x | test/test-pseudo_unload-fork.sh | 3 | ||||
-rwxr-xr-x | test/test-reexec-chroot.sh | 3 | ||||
-rwxr-xr-x | test/test-tclsh-fork.sh | 3 | ||||
-rwxr-xr-x | test/test-umask.sh | 3 | ||||
-rwxr-xr-x | test/test-xattr.sh | 3 |
13 files changed, 39 insertions, 0 deletions
diff --git a/test/test-chroot.sh b/test/test-chroot.sh index 02c9ff6..faa4ffe 100755 --- a/test/test-chroot.sh +++ b/test/test-chroot.sh @@ -1,4 +1,7 @@ #!/bin/bash +# +# SPDX-License-Identifier: LGPL-2.1-only +# # Return vals: 2 - invalid arg list # 1 - chroot failed diff --git a/test/test-cp-setuid.sh b/test/test-cp-setuid.sh index cdb2cd3..0759608 100755 --- a/test/test-cp-setuid.sh +++ b/test/test-cp-setuid.sh @@ -1,4 +1,7 @@ #!/bin/bash +# +# SPDX-License-Identifier: LGPL-2.1-only +# set -e # Verify that special bits (setuid/setgid/sticky) are preserved. diff --git a/test/test-dir-move.sh b/test/test-dir-move.sh index 37182f3..7bb0256 100755 --- a/test/test-dir-move.sh +++ b/test/test-dir-move.sh @@ -1,4 +1,7 @@ #!/bin/bash +# +# SPDX-License-Identifier: LGPL-2.1-only +# mkdir d1 touch d1/f1 mv d1 d2 diff --git a/test/test-env_i.sh b/test/test-env_i.sh index c38cf1d..454a7b4 100755 --- a/test/test-env_i.sh +++ b/test/test-env_i.sh @@ -1,4 +1,7 @@ #!/bin/bash +# +# SPDX-License-Identifier: LGPL-2.1-only +# env -i A=A B=B C=C env | grep -q "PSEUDO_" diff --git a/test/test-execl.sh b/test/test-execl.sh index 1a1c580..134055b 100755 --- a/test/test-execl.sh +++ b/test/test-execl.sh @@ -1,4 +1,7 @@ #!/bin/bash +# +# SPDX-License-Identifier: LGPL-2.1-only +# cat > execl_test.c << EOF #include <unistd.h> int main() { diff --git a/test/test-pseudo_disable-fork-env_i.sh b/test/test-pseudo_disable-fork-env_i.sh index 1e679aa..0bcf797 100755 --- a/test/test-pseudo_disable-fork-env_i.sh +++ b/test/test-pseudo_disable-fork-env_i.sh @@ -1,4 +1,7 @@ #!/bin/bash +# +# SPDX-License-Identifier: LGPL-2.1-only +# # Verify normal operation... uid=`env -i id -u` diff --git a/test/test-pseudo_disable-fork.sh b/test/test-pseudo_disable-fork.sh index 13a42a4..e0f5fd3 100755 --- a/test/test-pseudo_disable-fork.sh +++ b/test/test-pseudo_disable-fork.sh @@ -1,4 +1,7 @@ #!/bin/bash +# +# SPDX-License-Identifier: LGPL-2.1-only +# # Verify normal operation... uid=`id -u` diff --git a/test/test-pseudo_unload-fork-env_i.sh b/test/test-pseudo_unload-fork-env_i.sh index d6658e0..0e89ba0 100755 --- a/test/test-pseudo_unload-fork-env_i.sh +++ b/test/test-pseudo_unload-fork-env_i.sh @@ -1,4 +1,7 @@ #!/bin/bash +# +# SPDX-License-Identifier: LGPL-2.1-only +# # Verify normal operation... uid=`env -i id -u` diff --git a/test/test-pseudo_unload-fork.sh b/test/test-pseudo_unload-fork.sh index 9f79198..822f478 100755 --- a/test/test-pseudo_unload-fork.sh +++ b/test/test-pseudo_unload-fork.sh @@ -1,4 +1,7 @@ #!/bin/bash +# +# SPDX-License-Identifier: LGPL-2.1-only +# # Verify normal operation... uid=`id -u` diff --git a/test/test-reexec-chroot.sh b/test/test-reexec-chroot.sh index bde93f1..f6412bc 100755 --- a/test/test-reexec-chroot.sh +++ b/test/test-reexec-chroot.sh @@ -1,4 +1,7 @@ #!/bin/bash +# +# SPDX-License-Identifier: LGPL-2.1-only +# # Test if we re-invoke pseudo that chroot still works diff --git a/test/test-tclsh-fork.sh b/test/test-tclsh-fork.sh index e9dec66..e06f36b 100755 --- a/test/test-tclsh-fork.sh +++ b/test/test-tclsh-fork.sh @@ -1,4 +1,7 @@ #!/bin/bash +# +# SPDX-License-Identifier: LGPL-2.1-only +# # Check that tclsh doesn't hang. Note that the timeout is not needed to # reproduce the hang in tclsh, it's only there to ensure that this test script diff --git a/test/test-umask.sh b/test/test-umask.sh index 8ca4963..e4e366b 100755 --- a/test/test-umask.sh +++ b/test/test-umask.sh @@ -1,4 +1,7 @@ #!/bin/bash +# +# SPDX-License-Identifier: LGPL-2.1-only +# mode() { ls -l "$1" | awk '{ print $1 }' diff --git a/test/test-xattr.sh b/test/test-xattr.sh index 7d818d2..09cd6b0 100755 --- a/test/test-xattr.sh +++ b/test/test-xattr.sh @@ -1,4 +1,7 @@ #!/bin/bash +# +# SPDX-License-Identifier: LGPL-2.1-only +# # Return vals: 2 - Unable to run xattr commands # 1 - Invalid return value |