Skip to content

Commit 8bec674

Browse files
committed
chore
Signed-off-by: obarisk <obarisk@gmail.com>
1 parent 0e8dc36 commit 8bec674

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

storage/drivers/btrfs/btrfs_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ func TestSubVolDelete(t *testing.T) {
9090
}
9191

9292
// Helpers
93-
9493
runCmd := func(name string, arg ...string) error {
9594
cmd := exec.Command(name, arg...)
9695
var stderr bytes.Buffer
@@ -100,7 +99,6 @@ func TestSubVolDelete(t *testing.T) {
10099
}
101100
return nil
102101
}
103-
104102
qgroupShow := func(mountPath string) string {
105103
cmd := exec.Command("btrfs", "qgroup", "show", mountPath)
106104
var out bytes.Buffer
@@ -117,7 +115,7 @@ func TestSubVolDelete(t *testing.T) {
117115
defer os.RemoveAll(baseDir)
118116

119117
mnt := path.Join(baseDir, "mountpoint")
120-
if err := os.Mkdir(mnt, 755); err != nil {
118+
if err := os.Mkdir(mnt, 0o755); err != nil {
121119
t.Fatalf("Failed to create mountpoint dir: %v", err)
122120
}
123121

0 commit comments

Comments
 (0)