projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6ff17c
)
testMove3LevelDirWithFile now uses mv function to move the directory
author
Joshua Sterner
<joshua.s.sterner@gmail.com>
Thu, 9 May 2019 10:45:41 +0000
(
03:45
-0700)
committer
Joshua Sterner
<joshua.s.sterner@gmail.com>
Thu, 9 May 2019 11:12:33 +0000
(
04:12
-0700)
Signed-off-by: Joshua Sterner <joshua.s.sterner@gmail.com>
test/testfolderwatcher.cpp
patch
|
blob
|
history
diff --git
a/test/testfolderwatcher.cpp
b/test/testfolderwatcher.cpp
index b5dba5fbc80ed816caabfb861a8ce3e4b80ad90f..fdd97701db7337ed1f3a57ee08954b9ddb687352 100644
(file)
--- a/
test/testfolderwatcher.cpp
+++ b/
test/testfolderwatcher.cpp
@@
-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"));
}