[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdelibs/frameworks] kdecore/tests: The device name can be /host/ubuntu/disks/root.disk, says Jignes
From: David Faure <faure+bluesystems () kde ! org>
Date: 2013-01-31 21:49:10
Message-ID: 20130131214910.3DDDAA6091 () git ! kde ! org
[Download RAW message or body]
Git commit 8fa6e3d6326826bd08a4c7cee9bc475fd23873e8 by David Faure.
Committed on 30/01/2013 at 18:38.
Pushed by dfaure into branch 'frameworks'.
The device name can be /host/ubuntu/disks/root.disk, says Jignesh
-> relax unittest.
M +1 -1 kdecore/tests/kmountpointtest.cpp
http://commits.kde.org/kdelibs/8fa6e3d6326826bd08a4c7cee9bc475fd23873e8
diff --git a/kdecore/tests/kmountpointtest.cpp b/kdecore/tests/kmountpointtest.cpp
index a640218..84d051e 100644
--- a/kdecore/tests/kmountpointtest.cpp
+++ b/kdecore/tests/kmountpointtest.cpp
@@ -122,7 +122,7 @@ void KMountPointTest::testPossibleMountPoints()
const KMountPoint::Ptr rootMountPoint = mountPoints.findByPath("/");
QVERIFY(rootMountPoint);
QCOMPARE(rootMountPoint->mountPoint(), QString("/"));
- QVERIFY(rootMountPoint->realDeviceName().startsWith(QLatin1String("/dev"))); // \
portable? + QVERIFY(rootMountPoint->realDeviceName().startsWith(QLatin1String("/"))); \
// Usually /dev, but can be /host/ubuntu/disks/root.disk...
QVERIFY(!rootMountPoint->mountOptions().contains("noauto")); // how would this \
work? QVERIFY(!rootMountPoint->probablySlow());
#endif
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic