tests/root_test: show failing command detail
https://github.com/kdave/btrfs-progs/issues/392
This commit is contained in:
parent
b2724070d9
commit
e2d3834b1c
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user