|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Device mount / unmount stress test. More...
#include <px4_platform_common/px4_config.h>#include <px4_platform_common/posix.h>#include <px4_platform_common/tasks.h>#include <sys/stat.h>#include <dirent.h>#include <stdio.h>#include <stddef.h>#include <systemlib/err.h>#include <perf/perf_counter.h>#include <string.h>#include <drivers/drv_hrt.h>#include "tests_main.h"Go to the source code of this file.
Functions | |
| int | test_mount (int argc, char *argv[]) |
Variables | |
| const int | fsync_tries = 1 |
| const int | abort_tries = 10 |
Device mount / unmount stress test.
Definition in file test_mount.c.
| int test_mount | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 60 of file test_mount.c.
References __attribute__(), abort_tries, fd, fsync_tries, OK, px4_close(), px4_open(), read(), and write().
| const int abort_tries = 10 |
Definition at line 57 of file test_mount.c.
Referenced by test_mount().
| const int fsync_tries = 1 |
Definition at line 56 of file test_mount.c.
Referenced by test_mount().