POCS icon indicating copy to clipboard operation
POCS copied to clipboard

Consider whether we can use overlayfs for testing

Open jamessynge opened this issue 6 years ago • 1 comments

Overlayfs allows one to layer one filesystem (directory tree) on top of another (or others). This includes overlaying an empty directory over one that you don't want modified. As a result, one can create a hermetic environment for tests, where all the changes get made to the top filesystem, including edits and deletes of files that are actually in the lower filesystem(s). Docker makes use of this via overlayfs2, IIUC.

This could be useful for testing of POCS, including of scripts such as installation scripts, that would otherwise "ruin" the testing machine.

jamessynge avatar May 27 '18 14:05 jamessynge

Related to #191

wtgee avatar Feb 17 '20 00:02 wtgee

Much has changed since these days of yore. Closing as stale. Please open new issue as required.

wtgee avatar May 23 '23 01:05 wtgee