4
0
Эх сурвалжийг харах

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 жил өмнө
parent
commit
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)
   # Set "none" if no terminal attached (eg, tinderbox build servers when new variables set)
-  return "" unless (-t STDERR);
+  return "" unless (-t STDIN);
 
 
   my $userResponse = "";
   my $userResponse = "";