From b1c7f6de74d774a7acf3427f653ad645bcbf9716 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 1 Aug 2012 19:00:30 +0200 Subject: [PATCH] tests: add libmount optstr deduplicate Signed-off-by: Karel Zak --- tests/expected/libmount/optstr-deduplicate | 1 + tests/ts/libmount/optstr | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 tests/expected/libmount/optstr-deduplicate diff --git a/tests/expected/libmount/optstr-deduplicate b/tests/expected/libmount/optstr-deduplicate new file mode 100644 index 0000000000..e2b669a4d5 --- /dev/null +++ b/tests/expected/libmount/optstr-deduplicate @@ -0,0 +1 @@ +result: >bbb,ccc,xxx,ddd,AAA=ccc,fff=eee< diff --git a/tests/ts/libmount/optstr b/tests/ts/libmount/optstr index 41692167ee..f6a5c0530f 100755 --- a/tests/ts/libmount/optstr +++ b/tests/ts/libmount/optstr @@ -88,4 +88,8 @@ ts_init_subtest "fix" ts_valgrind $TESTPROG --fix "uid=root,gid=root" &> $TS_OUTPUT ts_finalize_subtest +ts_init_subtest "deduplicate" +ts_valgrind $TESTPROG --dedup bbb,ccc,AAA,xxx,AAA=a,AAA=bbb,ddd,AAA=ccc,fff=eee AAA &> $TS_OUTPUT +ts_finalize_subtest + ts_finalize -- 2.47.3