test-fstab-util.c revision 07630cea1f3a845c09309f197ac7c4f11edd3b62
2N/A along with systemd; If not, see <http://www.gnu.org/licenses/>.
2N/A#include "fstab-util.h"
2N/A#include "string-util.h"
2N/A int r_expected,
2N/A const char *name_expected,
2N/A const char *value_expected,
2N/A const char *filtered_expected) {
2N/Astatic void test_fstab_filter_options(void) {
2N/A do_fstab_filter_options("first=1,opt=0,last=2", "x-opt\0opt\0", 1, "opt", "0", "first=1,last=2");
2N/A do_fstab_filter_options("first,opt=0,noopt=1,last=1", "opt\0noopt\0", 1, "noopt", "1", "first,last=1");
2N/A do_fstab_filter_options("first=1,opt=0,last=2,opt=1", "opt\0", 1, "opt", "1", "first=1,last=2");
static void test_fstab_find_pri(void) {
static void test_fstab_yes_no_option(void) {
int main(void) {