Travis Paul
f681872c4d
Remove -n 1 argument from the xargs invocation in blackbox_shred_all_files.
...
The -I and -n options are mutually-exclusive, don't work as
expected with xargs from SunOS, and appear to be unecessary anyway.
2018-11-30 13:51:01 +08:00
Travis Paul
3594a3124e
Bash from pkgsrc has a flag to disable importing functions unless explicitly enabled.
...
The patch was created in response to ShellShock and still remains:
https://www.mail-archive.com/smartos-discuss@lists.smartos.org/msg01247.html
https://github.com/NetBSD/pkgsrc/blob/trunk/shells/bash/patches/patch-shell.c
2018-11-30 13:49:15 +08:00
Travis Paul
fd3ad2fcea
Add better support for NetBSD and SunOS in test scripts.
2018-11-30 10:59:21 +08:00
Travis Paul
3a491aad01
Add NetBSD and SunOS (SmartOS) support to _stack_lib.sh.
2018-11-29 14:01:54 +08:00
Travis Paul
b3b0604be7
Add NetBSD and SunOS support to cp_permissions.
...
Note that this likely won't work on Solaris without Coreutils as
Solaris lacks stat(1). SmartOS has stat from Coreutils in base
and the chmod(1) from it's OpenSolaris heritage. Using the chmod
from either Coreutils or Solaris will work the same (in this case)
on SmartOS.
2018-11-29 13:31:47 +08:00
Travis Paul
6408b622bf
Add NetBSD and SunOS support to md5sum_file.
2018-11-29 12:47:37 +08:00