Preserve local macOS client state during installs
This commit is contained in:
@@ -40,3 +40,12 @@ test('one-line installer extracts the archive and hands it to the macOS installe
|
||||
fs.rmSync(tmp, { recursive: true, force: true });
|
||||
}
|
||||
});
|
||||
|
||||
test('macOS installer removes stale archive files without deleting local state', () => {
|
||||
const installer = fs.readFileSync(path.join(root, 'scripts', 'install-macos-client.sh'), 'utf8');
|
||||
|
||||
assert.match(installer, /rsync -a --delete/);
|
||||
assert.match(installer, /--exclude='\.env'/);
|
||||
assert.match(installer, /--exclude='\.runtime'/);
|
||||
assert.match(installer, /--exclude='\.git'/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user