Files
clr-installer/cmd/cmd_common_test.go
2020-03-13 01:10:05 +00:00

19 lines
314 B
Go

// Copyright © 2020 Intel Corporation
//
// SPDX-License-Identifier: GPL-3.0-only
package cmd
import (
"fmt"
"os/exec"
"testing"
)
func TestCracklibCheckExecutable(t *testing.T) {
if _, err := exec.LookPath(crackLibPath); err != nil {
fmt.Println("cracklib-check exe could not be found")
t.Fail()
}
}