mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-27 01:44:21 +00: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:
parent
73d3a49f45
commit
9cdeeea7c2
@ -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 \"\$@\"" -- "$@";
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user