Quantcast
Viewing all articles
Browse latest Browse all 1026

Created Issue: Test initialization should not delete all files in the given test path [1504]

Test method OnInit() cleans up the entire destination path with "rm -rf *"

On inadvertent use, this will cause complete data loss on the given destination path (whole home directories can be deleted).

One simple solution would be to use an additional subdirectory for tests and empty _that directory only_ in the OnInit() method.

Viewing all articles
Browse latest Browse all 1026

Trending Articles



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