public void testAlias_BatchModeYes() { Config("Host orcz\n" + "\tBatchMode yes\n"); OpenSshConfig.Host h = _osc.lookup("orcz"); Assert.IsNotNull(h); Assert.AreEqual(true, h.isBatchMode()); }
public void testAlias_InheritBatchMode() { Config("Host orcz\n" + "\tHostName repo.or.cz\n" + "\n" + "Host *\n" + "\tBatchMode yes\n"); OpenSshConfig.Host h = _osc.lookup("orcz"); Assert.IsNotNull(h); Assert.AreEqual(true, h.isBatchMode()); }
public void testAlias_BatchModeDefault() { OpenSshConfig.Host h = _osc.lookup("orcz"); Assert.IsNotNull(h); Assert.AreEqual(false, h.isBatchMode()); }