]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: add libmount optstr deduplicate
authorKarel Zak <kzak@redhat.com>
Wed, 1 Aug 2012 17:00:30 +0000 (19:00 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 1 Aug 2012 17:00:30 +0000 (19:00 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/expected/libmount/optstr-deduplicate [new file with mode: 0644]
tests/ts/libmount/optstr

diff --git a/tests/expected/libmount/optstr-deduplicate b/tests/expected/libmount/optstr-deduplicate
new file mode 100644 (file)
index 0000000..e2b669a
--- /dev/null
@@ -0,0 +1 @@
+result: >bbb,ccc,xxx,ddd,AAA=ccc,fff=eee<
index 41692167ee9c670ea7a9bdadbca409fad38af502..f6a5c0530fda74cb59e1002c3f815577ed9a74b8 100755 (executable)
@@ -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