diff --git a/README.md b/README.md index 6eaf9b6..bdf1d05 100644 --- a/README.md +++ b/README.md @@ -186,9 +186,9 @@ curl -X MOVE https://127.0.0.1:5000/path -H "Destination: https://127.0.0.1:5000 List/search directory contents ``` -curl http://127.0.0.1:5000?simple # output names only, just like `ls -1` +curl http://127.0.0.1:5000?q=Dockerfile # search for files, similar to `find -name Dockerfile` +curl http://127.0.0.1:5000?simple # output names only, similar to `ls -1` curl http://127.0.0.1:5000?json # output paths in json format -curl http://127.0.0.1:5000?q=Dockerfile&simple # search for files, just like `find -name Dockerfile` ``` With authorization diff --git a/tests/http_logger.rs b/tests/http_logger.rs index a504f59..a3a2da1 100644 --- a/tests/http_logger.rs +++ b/tests/http_logger.rs @@ -74,5 +74,7 @@ fn no_log(tmpdir: TempDir, port: u16, #[case] args: &[&str]) -> Result<(), Error let output = std::str::from_utf8(&buf[0..buf_len])?; assert_eq!(output.lines().last().unwrap(), ""); + + child.kill()?; Ok(()) }