diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2014-11-05 21:27:01 +0100 |
---|---|---|
committer | Ronny Chevalier <chevalier.ronny@gmail.com> | 2014-11-08 22:45:56 +0100 |
commit | bc9992978cd1456b5bb79e72e8cf7a2331d3a7c6 (patch) | |
tree | 5b424971ef9c92663c8fdc6da40a4df28b923f9e /test/path-makedirectory.path | |
parent | ed7fb9cb235d2aedb755dcb8a5a5d9cdffba1519 (diff) |
tests: add test-path
It tests all available directives of Path units:
- PathChanged
- PathModified
- PathExists
- PathExisysGlob
- DirectoryNotEmpty
- MakeDirectory
- DirectoryMode
- Unit
Diffstat (limited to 'test/path-makedirectory.path')
-rw-r--r-- | test/path-makedirectory.path | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/path-makedirectory.path b/test/path-makedirectory.path new file mode 100644 index 0000000000..9408479c0f --- /dev/null +++ b/test/path-makedirectory.path @@ -0,0 +1,10 @@ +[Unit] +Description=Test MakeDirectory & DirectoryMode + +[Path] +DirectoryNotEmpty=/tmp/test-path_makedirectory/ +MakeDirectory=yes +DirectoryMode=0744 + +[Install] +WantedBy=multi-user.target |