예제 #1
0
 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());
 }
예제 #2
0
 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());
 }
예제 #3
0
 public void testAlias_BatchModeDefault()
 {
     OpenSshConfig.Host h = _osc.lookup("orcz");
     Assert.IsNotNull(h);
     Assert.AreEqual(false, h.isBatchMode());
 }