From ce3eaa25e1c6f39b7a1266592de22c1bfbc48f5d Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Mon, 20 Jan 2014 10:56:28 -0500 Subject: 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). --- NPTest.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NPTest.pm') diff --git a/NPTest.pm b/NPTest.pm index ebc2602c..b00a7086 100644 --- a/NPTest.pm +++ b/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 = ""; -- cgit v1.2.3