From: Karel Zak Date: Wed, 1 Aug 2012 17:00:30 +0000 (+0200) Subject: tests: add libmount optstr deduplicate X-Git-Tag: v2.22-rc2~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b1c7f6de74d774a7acf3427f653ad645bcbf9716;p=thirdparty%2Futil-linux.git tests: add libmount optstr deduplicate Signed-off-by: Karel Zak --- 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