Procházet zdrojové kódy

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 před 12 roky
rodič
revize
ce3eaa25e1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 = "";