Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Testing can destroy your home

$
0
0
Hello and thank you for your hard work.

I was wondering if it's a good idea to always perform "rm -rf *" in the OnInit() method in the test cases?

I was testing the SCP upload and didn't notice it has deleted everything in my home directory. I think you can test upload/download of a file without having to wipe every document, foto and directories from the target disk. I know I'm responsible for executing someone else's code on my machine, but I lost a day of work.

At least put a warning there somewhere!

Thanks and regards

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>