mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-10 17:31:56 +02:00
tests: df: don't depend on bash
* tests/df/no-mtab-status-masked-proc.sh: Invoke $SHELL instead of 'bash'.
This commit is contained in:
@@ -29,7 +29,7 @@ unshare -rm true || skip_ 'User namespace sandbox is disabled'
|
||||
|
||||
# mask /proc
|
||||
df() {
|
||||
unshare -rm bash -c \
|
||||
unshare -rm $SHELL -c \
|
||||
"mount -t tmpfs tmpfs /proc && command df \"\$@\"" -- "$@";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user