summaryrefslogtreecommitdiffstats
path: root/src/test/test-mountpoint-util.c
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2023-07-07 11:47:01 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2023-07-07 12:51:33 +0200
commitcaf8495e90faa91182cc8666f197fd76aaee5919 (patch)
tree3255a1f711e4158ec2a9b8f4dfe9448396690e22 /src/test/test-mountpoint-util.c
parenttest: add +x to generator-utils.sh (diff)
downloadsystemd-caf8495e90faa91182cc8666f197fd76aaee5919.tar.xz
systemd-caf8495e90faa91182cc8666f197fd76aaee5919.zip
typo: dont -> don't
Diffstat (limited to 'src/test/test-mountpoint-util.c')
-rw-r--r--src/test/test-mountpoint-util.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/test-mountpoint-util.c b/src/test/test-mountpoint-util.c
index 669b078100..87badfc112 100644
--- a/src/test/test-mountpoint-util.c
+++ b/src/test/test-mountpoint-util.c
@@ -329,23 +329,23 @@ TEST(mount_option_supported) {
int r;
r = mount_option_supported("tmpfs", "size", "64M");
- log_info("tmpfs supports size=64M: %s (%i)", r < 0 ? "dont know" : yes_no(r), r);
+ log_info("tmpfs supports size=64M: %s (%i)", r < 0 ? "don't know" : yes_no(r), r);
assert_se(r > 0 || (r < 0 && ERRNO_IS_PRIVILEGE(r)));
r = mount_option_supported("ext4", "discard", NULL);
- log_info("ext4 supports discard: %s (%i)", r < 0 ? "dont know" : yes_no(r), r);
+ log_info("ext4 supports discard: %s (%i)", r < 0 ? "don't know" : yes_no(r), r);
assert_se(r > 0 || r == -EAGAIN || (r < 0 && ERRNO_IS_PRIVILEGE(r)));
r = mount_option_supported("tmpfs", "idontexist", "64M");
- log_info("tmpfs supports idontexist: %s (%i)", r < 0 ? "dont know" : yes_no(r), r);
+ log_info("tmpfs supports idontexist: %s (%i)", r < 0 ? "don't know" : yes_no(r), r);
assert_se(r == 0 || (r < 0 && ERRNO_IS_PRIVILEGE(r)));
r = mount_option_supported("tmpfs", "ialsodontexist", NULL);
- log_info("tmpfs supports ialsodontexist: %s (%i)", r < 0 ? "dont know" : yes_no(r), r);
+ log_info("tmpfs supports ialsodontexist: %s (%i)", r < 0 ? "don't know" : yes_no(r), r);
assert_se(r == 0 || (r < 0 && ERRNO_IS_PRIVILEGE(r)));
r = mount_option_supported("proc", "hidepid", "1");
- log_info("proc supports hidepid=1: %s (%i)", r < 0 ? "dont know" : yes_no(r), r);
+ log_info("proc supports hidepid=1: %s (%i)", r < 0 ? "don't know" : yes_no(r), r);
assert_se(r >= 0 || (r < 0 && ERRNO_IS_PRIVILEGE(r)));
}