Skip to content

Commit

Permalink
remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ns2Kracy committed Aug 16, 2024
1 parent ebc7ad9 commit 1b2d10c
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions utils/command/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
)

func TestSafeCommand(t *testing.T) {
func TestCommand(t *testing.T) {
tests := []struct {
name string
cmdStr string
Expand Down Expand Up @@ -111,12 +111,3 @@ func TestSafeCommand(t *testing.T) {
})
}
}

func TestCommand(t *testing.T) {
output, err := ExecResultStr("smbpasswd -x testuser")
if err != nil {
t.Error(err)
} else {
t.Logf("Output: %s", output)
}
}

0 comments on commit 1b2d10c

Please sign in to comment.