(silent bool)
| 1055 | } |
| 1056 | |
| 1057 | func (n *NvidiaFs) runValidation(silent bool) error { |
| 1058 | // check for nvidia_fs module to be loaded |
| 1059 | command := shell |
| 1060 | args := []string{"-c", "lsmod | grep nvidia_fs"} |
| 1061 | |
| 1062 | if withWaitFlag { |
| 1063 | return runCommandWithWait(command, args, sleepIntervalSecondsFlag, silent) |
| 1064 | } |
| 1065 | return runCommand(command, args, silent) |
| 1066 | } |
| 1067 | |
| 1068 | func (g *GDRCopy) validate() error { |
| 1069 | // delete driver status file if already present |
no test coverage detected