(silent bool)
| 1087 | } |
| 1088 | |
| 1089 | func (g *GDRCopy) runValidation(silent bool) error { |
| 1090 | // check for gdrdrv module to be loaded |
| 1091 | command := shell |
| 1092 | args := []string{"-c", "lsmod | grep -E '^gdrdrv\\s'"} |
| 1093 | |
| 1094 | if withWaitFlag { |
| 1095 | return runCommandWithWait(command, args, sleepIntervalSecondsFlag, silent) |
| 1096 | } |
| 1097 | return runCommand(command, args, silent) |
| 1098 | } |
| 1099 | |
| 1100 | func (n *NvidiaPeermem) validate() error { |
| 1101 | // delete driver status file if already present |
no test coverage detected