1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-31 03:27:40 +01:00

Fix this test on Windows properly maybe

This commit is contained in:
David Sansome 2010-06-16 13:13:34 +00:00
parent 5307ca3db0
commit 747d466bcc

View File

@ -205,7 +205,9 @@ TEST_F(SongLoaderTest, LoadLocalDirectory) {
// Make a directory and shove some files in it
char* dir = tmpnam(NULL);
ASSERT_TRUE(dir);
mkdir(dir, S_IRWXU);
QDir d;
d.mkdir(dir);
QFile resource(":/testdata/beep.mp3");
resource.open(QIODevice::ReadOnly);