diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-02-13 11:24:33 +0000 |
---|---|---|
committer | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-02-13 11:24:33 +0000 |
commit | 4305d024938113df5d73021a09eb2a991f54ca2f (patch) | |
tree | d9e7ecc9db14bcc1394607a9e6c644a8b93e9bea /library-test.c | |
parent | e693f0e4ffb1776a05b78264ee3d93d5f07efede (diff) |
New upstream release Closes: #849353, #817806, #854915, #845473
Diffstat (limited to 'library-test.c')
-rw-r--r-- | library-test.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/library-test.c b/library-test.c index 142188a7..9d14bbf9 100644 --- a/library-test.c +++ b/library-test.c @@ -19,6 +19,7 @@ #include "kerncompat.h" #include "version.h" #include "send-stream.h" +#include "btrfs-list.h" /* * Reduced code snippet from snapper.git/snapper/Btrfs.cc @@ -62,8 +63,15 @@ static int test_send_stream_api() { return ret; } +static int test_list_rootid() { + u64 treeid; + + return btrfs_list_get_path_rootid(-1, &treeid); +} + int main() { test_send_stream_api(); + test_list_rootid(); return 0; } |