tests: allow overriding hardcoded arguments in Mount helper
This commit is contained in:
parent
c03fc46a51
commit
c2629bd9b5
@ -124,8 +124,8 @@ func InitFS(t *testing.T, extraArgs ...string) string {
|
|||||||
// Creates "p" if it does not exist.
|
// Creates "p" if it does not exist.
|
||||||
func Mount(c string, p string, showOutput bool, extraArgs ...string) error {
|
func Mount(c string, p string, showOutput bool, extraArgs ...string) error {
|
||||||
var args []string
|
var args []string
|
||||||
args = append(args, extraArgs...)
|
|
||||||
args = append(args, "-q", "-wpanic", "-nosyslog")
|
args = append(args, "-q", "-wpanic", "-nosyslog")
|
||||||
|
args = append(args, extraArgs...)
|
||||||
//args = append(args, "-fusedebug")
|
//args = append(args, "-fusedebug")
|
||||||
//args = append(args, "-d")
|
//args = append(args, "-d")
|
||||||
args = append(args, c)
|
args = append(args, c)
|
||||||
|
Loading…
Reference in New Issue
Block a user