瀏覽代碼

Fix NPTest.pm not asking for unconfigured variables

It appeats STDERR isn't a tty anymore during tests, but since we type
from tty to STDIN it should be bound to our tty (and works for me).
Thomas Guyot-Sionnest 12 年之前
父節點
當前提交
ce3eaa25e1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      NPTest.pm

+ 1 - 1
NPTest.pm

@@ -347,7 +347,7 @@ sub getTestParameter
   }
 
   # Set "none" if no terminal attached (eg, tinderbox build servers when new variables set)
-  return "" unless (-t STDERR);
+  return "" unless (-t STDIN);
 
   my $userResponse = "";