diff options
Diffstat (limited to 'tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp')
-rw-r--r-- | tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp b/tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp index 1f26dc785f..b7056e20c9 100644 --- a/tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp +++ b/tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp @@ -1,7 +1,8 @@ // Copyright (C) 2021 The Qt Company Ltd. // Copyright (C) 2013 David Faure <faure+bluesystems@kde.org> -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only +#undef QT_NO_FOREACH // this file contains unported legacy Q_FOREACH uses #include <QTest> #include <QtConcurrentRun> @@ -519,7 +520,7 @@ void tst_QLockFile::corruptedLockFile() void tst_QLockFile::corruptedLockFileInTheFuture() { -#if !defined(Q_OS_UNIX) +#if !defined(Q_OS_UNIX) || defined(Q_OS_VXWORKS) QSKIP("This test needs utimensat"); #else // This test is the same as the previous one, but the corruption was so there is a corrupted |