mirror of
https://github.com/clearlinux/clr-installer.git
synced 2026-09-01 11:16:05 +00:00
Signed-off-by: Karthik Prabhu Vinod <karthik.prabhu.vinod@intel.com>
19 lines
314 B
Go
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()
|
|
}
|
|
}
|