From e2d3834b1c4aec2544369361f4b572c4f80dc544 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 16 Aug 2021 19:24:04 +0200 Subject: [PATCH] tests/root_test: show failing command detail https://github.com/kdave/btrfs-progs/issues/392 --- tests/root_test/root_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/root_test/root_test.go b/tests/root_test/root_test.go index e68f86a..5a98feb 100644 --- a/tests/root_test/root_test.go +++ b/tests/root_test/root_test.go @@ -336,6 +336,7 @@ func TestBtrfsQuirks(t *testing.T) { cmd := exec.Command("mkfs.btrfs", img) out, err := cmd.CombinedOutput() if err != nil { + t.Logf("%q", cmd.Args) t.Log(string(out)) t.Fatal(err) }