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:
Collin Funk 2026-01-01 11:15:31 -08:00
parent 73d3a49f45
commit 9cdeeea7c2

View File

@ -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 \"\$@\"" -- "$@";
}