testMove3LevelDirWithFile now uses mv function to move the directory
Signed-off-by: Joshua Sterner <joshua.s.sterner@gmail.com>
This commit is contained in:
parent
b6ff17c50b
commit
bd9fcd88d8
|
@ -146,9 +146,7 @@ private slots:
|
|||
mkdir(_rootPath + "/a0/b");
|
||||
mkdir(_rootPath + "/a0/b/c");
|
||||
touch(file);
|
||||
QString cmd = QString("mv " + _rootPath + "/a0 " + _rootPath + "/a");
|
||||
qDebug() << "Command: " << cmd;
|
||||
system(cmd.toLocal8Bit());
|
||||
mv(_rootPath + "/a0 ", _rootPath + "/a");
|
||||
QVERIFY(waitForPathChanged(_rootPath + "/a/b/c/empty.txt"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue