add success case to tests

This commit is contained in:
Tai Groot
2021-05-14 18:01:19 -07:00
parent feff1f6edd
commit 7bedb452e4
2 changed files with 16 additions and 2 deletions

View File

@@ -36,7 +36,6 @@ func Stop(ctx context.Context, unit string, usermode bool) error {
return nil
}
// TODO
func Enable(ctx context.Context, unit string, usermode bool) error {
var args = []string{"enable", "--system", unit}
if usermode {
@@ -56,7 +55,6 @@ func Enable(ctx context.Context, unit string, usermode bool) error {
return nil
}
// TODO
func Disable(ctx context.Context, unit string, usermode bool) error {
var args = []string{"disable", "--system", unit}
if usermode {