diff --git a/utils/command/command_test.go b/utils/command/command_test.go index 1f8a613..0d075d0 100644 --- a/utils/command/command_test.go +++ b/utils/command/command_test.go @@ -5,7 +5,7 @@ import ( "testing" ) -func TestSafeCommand(t *testing.T) { +func TestCommand(t *testing.T) { tests := []struct { name string cmdStr string @@ -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) - } -}