From 911e694528618b52ce23e4e29a7a85ee9f4edf05 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 21 Feb 2019 13:49:39 +0100 Subject: libmount: add mnt_table_{find,insert,move}_fs() Add functions to insert FS into table to specified position and to move FS between two tables. Co-Author: Tim Hildering Signed-off-by: Karel Zak --- tests/ts/libmount/tabfiles | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/ts') diff --git a/tests/ts/libmount/tabfiles b/tests/ts/libmount/tabfiles index ec0eae8e1..716fed8cb 100755 --- a/tests/ts/libmount/tabfiles +++ b/tests/ts/libmount/tabfiles @@ -77,4 +77,9 @@ ts_run $TESTPROG --find-pair "$TS_SELF/files/mtab" /dev/mapper/kzak-home /home/k sed -i -e 's/fs: 0x.*/fs:/g' $TS_OUTPUT ts_finalize_subtest +ts_init_subtest "find-fs" +ts_run $TESTPROG --find-fs "$TS_SELF/files/mountinfo" /home/kzak &> $TS_OUTPUT +sed -i -e 's/fs: 0x.*/fs:/g' $TS_OUTPUT +ts_finalize_subtest + ts_finalize -- cgit v1.2.3-55-g7522