projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f06ba8
)
test-udev: use proper semantics for too long line with continuation
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Tue, 19 Feb 2019 00:21:42 +0000
(09:21 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Tue, 19 Feb 2019 00:21:58 +0000
(09:21 +0900)
Follow-up for
1e797cf596df50a6bdd8cbf8e9b2467a3a934171
.
test/udev-test.pl
patch
|
blob
|
history
diff --git
a/test/udev-test.pl
b/test/udev-test.pl
index
3a50694
..
58b5dc8
100755
(executable)
--- a/
test/udev-test.pl
+++ b/
test/udev-test.pl
@@
-39,10
+39,11
@@
for (my $i = 1; $i <= 10000; ++$i) {
$rules_10k_tags .= 'KERNEL=="sda", TAG+="test' . $i . "\"\n";
}
-my $rules_10k_tags_continuation = "";
-for (my $i = 1; $i <
=
10000; ++$i) {
- $rules_10k_tags_continuation .= '
KERNEL=="sda", TAG+="test' . $i . "\"
\\\n";
+my $rules_10k_tags_continuation = "
KERNEL==\"sda\", \\\n
";
+for (my $i = 1; $i < 10000; ++$i) {
+ $rules_10k_tags_continuation .= '
TAG+="test' . $i . "\",
\\\n";
}
+$rules_10k_tags_continuation .= "TAG+=\"test10000\"\\n";
my @tests = (
{