[initramfs] Fix more tests
This commit is contained in:
parent
e49fb74847
commit
6352b50ed0
@ -79,7 +79,7 @@ void InitramfsTests::testCreateTargetFile()
|
|||||||
|
|
||||||
QFileInfo fi( path );
|
QFileInfo fi( path );
|
||||||
QVERIFY( fi.exists() );
|
QVERIFY( fi.exists() );
|
||||||
QCOMPARE( fi.size(), sizeof( contents )-1 ); // don't count trailing NUL
|
QCOMPARE( ulong( fi.size() ), sizeof( contents )-1 ); // don't count trailing NUL
|
||||||
|
|
||||||
QFile::remove( path );
|
QFile::remove( path );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user