Jelajahi Sumber

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 tahun lalu
induk
melakukan
ce3eaa25e1
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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 = "";