[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 109/254: runtests: fix "use of undefined value" war
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 109/254: runtests: fix "use of undefined value" warning in -R handling |
Date: |
Sat, 17 Jun 2017 16:52:21 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.54.1
in repository gnurl.
commit e3f84efc32d6b01a605c93b39668653049c15188
Author: Daniel Stenberg <address@hidden>
AuthorDate: Mon May 8 10:08:48 2017 +0200
runtests: fix "use of undefined value" warning in -R handling
---
tests/runtests.pl | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 48e26142f..d20383ae8 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -5179,7 +5179,11 @@ if($scrambleorder) {
# scramble the order of the test cases
my @rand;
while($TESTCASES) {
- my @all = split(/ /, $TESTCASES);
+ my @all = split(/ +/, $TESTCASES);
+ if(!$all[0]) {
+ # if the first is blank, shift away it
+ shift @all;
+ }
my $r = rand @all;
push @rand, $all[$r];
$all[$r]="";
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 113/254: tftpd: fix signed/unsigned mismatch warnings, (continued)
- [GNUnet-SVN] [gnurl] 113/254: tftpd: fix signed/unsigned mismatch warnings, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 79/254: typecheck-gcc: add missing string options, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 83/254: CURLINFO_REDIRECT_URL.3: add example, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 65/254: upload: UPLOAD_BUFSIZE is now for the upload buffer, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 121/254: tool: fix remaining -Wcast-qual warnings, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 132/254: FAQ: add 7.4 to toc, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 126/254: multi: use a fixed array of timers instead of malloc, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 48/254: tests: declare TU-local variables static, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 119/254: tests: list the primary server first in the server section, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 134/254: THANKS: add a few missing names, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 109/254: runtests: fix "use of undefined value" warning in -R handling,
gnunet <=
- [GNUnet-SVN] [gnurl] 31/254: Makefile: fix make dist, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 59/254: http2: use the correct set buffer size, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 95/254: tests/server: run checksrc by default in debug-builds, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 85/254: test559: verify use of minimum CURLOPT_BUFFERSIZE, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 45/254: examples: declare TU-local variables static, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 125/254: multi: assign IDs to all timers and make each timer singleton, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 155/254: cmake: Add CURL_CA_FALLBACK to curl_config.h.cmake, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 77/254: RELEASE-NOTES: synced with 862b02f89, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 189/254: examples/sampleconv.c: indent changes, made callbacks static, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 82/254: CURLINFO_EFFECTIVE_URL.3: add example, gnunet, 2017/06/17