mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #1635, refine inotify watch for relative path
This commit is contained in:
parent
8db2c3d821
commit
a8ddd5afe7
1 changed files with 1 additions and 1 deletions
|
@ -2565,7 +2565,7 @@ VOID TEST(KernelUtility, BytesUtils)
|
||||||
VOID TEST(KernelUtility, PathUtils)
|
VOID TEST(KernelUtility, PathUtils)
|
||||||
{
|
{
|
||||||
if (true) {
|
if (true) {
|
||||||
EXPECT_TRUE("" == srs_path_dirname(""));
|
EXPECT_TRUE("./" == srs_path_dirname(""));
|
||||||
EXPECT_TRUE("/" == srs_path_dirname("/"));
|
EXPECT_TRUE("/" == srs_path_dirname("/"));
|
||||||
EXPECT_TRUE("/" == srs_path_dirname("//"));
|
EXPECT_TRUE("/" == srs_path_dirname("//"));
|
||||||
EXPECT_TRUE("/" == srs_path_dirname("/stream"));
|
EXPECT_TRUE("/" == srs_path_dirname("/stream"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue