From: tomdereub Date: Sat, 8 Oct 2022 19:49:09 +0000 (+0200) Subject: Adapt test to silent exclusion X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~92^2^2~90^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d353f08be27fb7fb2f0360ff5e673b916cab2529;p=nextcloud-desktop.git Adapt test to silent exclusion Signed-off-by: tomdereub --- diff --git a/test/testexcludedfiles.cpp b/test/testexcludedfiles.cpp index 0e05a27e4..95713867b 100644 --- a/test/testexcludedfiles.cpp +++ b/test/testexcludedfiles.cpp @@ -196,7 +196,7 @@ private slots: QCOMPARE(check_file_full("file_trailing_space "), CSYNC_NOT_EXCLUDED); QCOMPARE(check_file_full(" file_leading_and_trailing_space "), CSYNC_NOT_EXCLUDED); QCOMPARE(check_file_full("file_trailing_dot."), CSYNC_FILE_EXCLUDE_INVALID_CHAR); - QCOMPARE(check_file_full("AUX"), CSYNC_FILE_EXCLUDE_INVALID_CHAR); + QCOMPARE(check_file_full("AUX"), CSYNC_FILE_SILENTLY_EXCLUDED); QCOMPARE(check_file_full("file_invalid_char<"), CSYNC_FILE_EXCLUDE_INVALID_CHAR); QCOMPARE(check_file_full("file_invalid_char\n"), CSYNC_FILE_EXCLUDE_INVALID_CHAR); #endif