1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-11 05:17:44 +03:00

test-udev: use proper semantics for too long line with continuation

Follow-up for 1e797cf596.
This commit is contained in:
Yu Watanabe 2019-02-19 09:21:42 +09:00
parent 5f06ba8018
commit e37a5d90b0

View File

@ -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 = (
{