Browse Source

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 năm trước cách đây
mục cha
commit
ce3eaa25e1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 = "";