Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
Add one more test
Browse files Browse the repository at this point in the history
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
  • Loading branch information
zyga committed Oct 18, 2016
1 parent a304948 commit 0c0667d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mount-opt-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ static void test_sc_mount_opt2str()
g_assert_cmpstr(sc_mount_opt2str(MS_ACTIVE), ==, "active");
g_assert_cmpstr(sc_mount_opt2str(MS_NOUSER), ==, "nouser");
g_assert_cmpstr(sc_mount_opt2str(0x300), ==, "0x300");
// random compositions do work
g_assert_cmpstr(sc_mount_opt2str(MS_RDONLY | MS_NOEXEC | MS_BIND), ==, "ro,noexec,bind");
}

static void __attribute__ ((constructor)) init()
Expand Down

0 comments on commit 0c0667d

Please sign in to comment.