Home
last modified time | relevance | path

Searched refs:success_dev (Results 1 – 1 of 1) sorted by relevance

/tools/testing/selftests/wireguard/qemu/
Dinit.c168 char cmdline[4096], *success_dev; in launch_tests() local
190 for (success_dev = strtok(cmdline, " \n"); success_dev; success_dev = strtok(NULL, " \n")) { in launch_tests()
191 if (strncmp(success_dev, "wg.success=", 11)) in launch_tests()
193 memcpy(success_dev + 11 - 5, "/dev/", 5); in launch_tests()
194 success_dev += 11 - 5; in launch_tests()
197 if (!success_dev || !strlen(success_dev)) in launch_tests()
200 fd = open(success_dev, O_WRONLY); in launch_tests()