tests: allow overriding hardcoded arguments in Mount helper

This commit is contained in:
Jakob Unterwurzacher 2016-11-10 23:47:04 +01:00
parent c03fc46a51
commit c2629bd9b5

View File

@ -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)