aboutsummaryrefslogtreecommitdiff
path: root/lib/common/test/fstree_cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/test/fstree_cli.c')
-rw-r--r--lib/common/test/fstree_cli.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/common/test/fstree_cli.c b/lib/common/test/fstree_cli.c
index a582adb..fc63a98 100644
--- a/lib/common/test/fstree_cli.c
+++ b/lib/common/test/fstree_cli.c
@@ -43,5 +43,15 @@ int main(int argc, char **argv)
TEST_ASSERT(parse_fstree_defaults(&fs, str) != 0);
free(str);
+ str = strdup("mtime=-12");
+ TEST_NOT_NULL(str);
+ TEST_ASSERT(parse_fstree_defaults(&fs, str) != 0);
+ free(str);
+
+ str = strdup("mtime=4294967296");
+ TEST_NOT_NULL(str);
+ TEST_ASSERT(parse_fstree_defaults(&fs, str) != 0);
+ free(str);
+
return EXIT_SUCCESS;
}