tests/root_test: show failing command detail

https://github.com/kdave/btrfs-progs/issues/392
This commit is contained in:
Jakob Unterwurzacher 2021-08-16 19:24:04 +02:00
parent b2724070d9
commit e2d3834b1c

View File

@ -336,6 +336,7 @@ func TestBtrfsQuirks(t *testing.T) {
cmd := exec.Command("mkfs.btrfs", img) cmd := exec.Command("mkfs.btrfs", img)
out, err := cmd.CombinedOutput() out, err := cmd.CombinedOutput()
if err != nil { if err != nil {
t.Logf("%q", cmd.Args)
t.Log(string(out)) t.Log(string(out))
t.Fatal(err) t.Fatal(err)
} }