Skip to content

Commit f96ae19

Browse files
committed
quote bare words in redis ippool tool tests
1 parent 33c6122 commit f96ae19

11 files changed

Lines changed: 69 additions & 69 deletions

src/tests/modules/redis_ippool/alloc.unlang

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ control.IP-Pool.Name := 'test_alloc'
88
#
99
# Add IP addresses
1010
#
11-
%exec(./build/bin/local/rlm_redis_ippool_tool, -a, 192.168.0.1/32, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.0.0)
11+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-a', '192.168.0.1/32', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.0.0')
1212

1313
#
1414
# Check allocation
@@ -75,7 +75,7 @@ reply := {}
7575
#
7676
# Add IP addresses
7777
#
78-
%exec(./build/bin/local/rlm_redis_ippool_tool, -a, 192.168.1.1/32, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.1.0)
78+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-a', '192.168.1.1/32', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.1.0')
7979

8080
#
8181
# Check we get the same lease, with the same lease time

src/tests/modules/redis_ippool/pool_tool_delete.unlang

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ control.IP-Pool.Name := 'test_delete'
88
#
99
# Add IP addresses
1010
#
11-
%exec(./build/bin/local/rlm_redis_ippool_tool, -a, 192.168.0.1/32, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.0.0)
11+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-a', '192.168.0.1/32', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.0.0')
1212

1313
#
1414
# Check allocation
@@ -27,24 +27,24 @@ if !(reply.Framed-IP-Address == 192.168.0.1) {
2727
#
2828
# Delete the IP address
2929
#
30-
%exec(./build/bin/local/rlm_redis_ippool_tool, -d, 192.168.0.1/32, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.0.0)
30+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-d', '192.168.0.1/32', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.0.0')
3131

3232
#
3333
# Verify the association with the device has been removed
3434
#
35-
if !(%redis(EXISTS, {%{control.IP-Pool.Name}}:device:%{Calling-Station-ID}) == '0') {
35+
if !(%redis('EXISTS', "{%{control.IP-Pool.Name}}:device:%{Calling-Station-ID}") == '0') {
3636
test_fail
3737
}
3838

3939
#
4040
# Verify the hash information is removed
4141
#
42-
if !(%redis(EXISTS, {%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}) == '0') {
42+
if !(%redis('EXISTS', "{%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}") == '0') {
4343
test_fail
4444
}
4545

4646
# Check the ZSCORE
47-
if !(%redis(ZCOUNT, {%{control.IP-Pool.Name}%}:pool, -inf, +inf) == 0) {
47+
if !(%redis('ZCOUNT', "{%{control.IP-Pool.Name}%}:pool", '-inf', '+inf') == 0) {
4848
test_fail
4949
}
5050

src/tests/modules/redis_ippool/pool_tool_modify.unlang

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@ control.IP-Pool.Name := 'test_tool_modify'
88
#
99
# Add IP addresses
1010
#
11-
%exec(./build/bin/local/rlm_redis_ippool_tool, -a, 192.168.0.1/32, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.0.0)
11+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-a', '192.168.0.1/32', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.0.0')
1212

1313
#
1414
# Verify the range was set OK
1515
#
16-
if !(%redis(HGET, {%{control.IP-Pool.Name}}:ip:192.168.0.1, range) == '192.168.0.0') {
16+
if !(%redis('HGET', "{%{control.IP-Pool.Name}}:ip:192.168.0.1", 'range') == '192.168.0.0') {
1717
test_fail
1818
}
1919

2020
#
2121
# Modify the range
2222
#
23-
%exec(./build/bin/local/rlm_redis_ippool_tool, -m, 192.168.0.1/32, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 10.0.0.0)
23+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-m', '192.168.0.1/32', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '10.0.0.0')
2424

2525
#
2626
# Check it was updated
2727
#
28-
if !(%redis(HGET, {%{control.IP-Pool.Name}}:ip:192.168.0.1, range) == '10.0.0.0') {
28+
if !(%redis('HGET', "{%{control.IP-Pool.Name}}:ip:192.168.0.1", 'range') == '10.0.0.0') {
2929
test_fail
3030
}
3131

src/tests/modules/redis_ippool/pool_tool_release.unlang

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ control.IP-Pool.Name := 'test_tool_release'
88
#
99
# Add IP addresses
1010
#
11-
%exec(./build/bin/local/rlm_redis_ippool_tool, -a, 192.168.0.1/32, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.0.0)
11+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-a', '192.168.0.1/32', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.0.0')
1212

1313
#
1414
# Check allocation
@@ -27,32 +27,32 @@ if !(reply.Framed-IP-Address == 192.168.0.1) {
2727
#
2828
# Release the IP address
2929
#
30-
%exec(./build/bin/local/rlm_redis_ippool_tool, -r, 192.168.0.1/32, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.0.0)
30+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-r', '192.168.0.1/32', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.0.0')
3131

3232
#
3333
# Verify the association with the device has been removed
3434
#
35-
if !(%redis(EXISTS, {%{control.IP-Pool.Name}}:device:%{Calling-Station-ID}) == '0') {
35+
if !(%redis('EXISTS', "{%{control.IP-Pool.Name}}:device:%{Calling-Station-ID}") == '0') {
3636
test_fail
3737
}
3838

3939
#
4040
# Verify the hash information is retained
4141
#
42-
if !(%redis(HGET, {%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}, device) == '00:11:22:33:44:55') {
42+
if !(%redis('HGET', "{%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}", 'device') == '00:11:22:33:44:55') {
4343
test_fail
4444
}
4545

46-
if !(%redis(HGET, {%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}, gateway) == '127.0.0.1') {
46+
if !(%redis('HGET', "{%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}", 'gateway') == '127.0.0.1') {
4747
test_fail
4848
}
4949

50-
if !(%redis(HGET, {%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}, range) == '192.168.0.0') {
50+
if !(%redis('HGET', "{%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}", 'range') == '192.168.0.0') {
5151
test_fail
5252
}
5353

5454
# Check the ZSCORE
55-
if !(%redis(ZSCORE, {%{control.IP-Pool.Name}}:pool, %{reply.Framed-IP-Address}) == 0) {
55+
if !(%redis('ZSCORE', "{%{control.IP-Pool.Name}}:pool", %{reply.Framed-IP-Address}) == 0) {
5656
test_fail
5757
}
5858

src/tests/modules/redis_ippool/pool_tool_static.unlang

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ control.IP-Pool.Name := 'test_tool_static'
99
#
1010
# Add a dynamic IP addresses
1111
#
12-
%exec(./build/bin/local/rlm_redis_ippool_tool, -a, 192.168.0.1/32, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.0.0)
12+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-a', '192.168.0.1/32', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.0.0')
1313

1414
#
1515
# Add a static IP assigned to the calling station in the request
1616
#
17-
%exec(./build/bin/local/rlm_redis_ippool_tool, -A, 192.168.0.10/32, -O, aa:bb:cc:dd:ee:ff, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.0.0)
17+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-A', '192.168.0.10/32', '-O', 'aa:bb:cc:dd:ee:ff', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.0.0')
1818

1919
#
2020
# Check allocation
@@ -33,37 +33,37 @@ if !(reply.Framed-IP-Address == 192.168.0.10) {
3333
#
3434
# Fetch the ZSCORE now on the address
3535
#
36-
zscore := %redis(ZSCORE, {%{control.IP-Pool.Name}}:pool, %{reply.Framed-IP-Address})
36+
zscore := %redis('ZSCORE', "{%{control.IP-Pool.Name}}:pool", %{reply.Framed-IP-Address})
3737

3838
#
3939
# Attempt to re-assign static lease
4040
#
41-
%exec(./build/bin/local/rlm_redis_ippool_tool, -A, 192.168.0.10/32, -O, aa:bb:cc:dd:ee:ff, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.0.0)
41+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-A', '192.168.0.10/32', '-O', 'aa:bb:cc:dd:ee:ff', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.0.0')
4242

4343
#
4444
# Check the ZSCORE hasn't changed
4545
#
46-
if !(%redis(ZSCORE, {%{control.IP-Pool.Name}}:pool, %{reply.Framed-IP-Address}) == %{zscore}) {
46+
if !(%redis('ZSCORE', "{%{control.IP-Pool.Name}}:pool", %{reply.Framed-IP-Address}) == %{zscore}) {
4747
test_fail
4848
}
4949

5050
#
5151
# Remove the static assignment - leaves the lease with its remaining time to expire
5252
#
53-
%exec(./build/bin/local/rlm_redis_ippool_tool, -U, 192.168.0.10/32, -O, aa:bb:cc:dd:ee:ff, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name})
53+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-U', '192.168.0.10/32', '-O', 'aa:bb:cc:dd:ee:ff', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name})
5454

5555
#
5656
# Attempt to assign the address to another device - should fail
5757
#
58-
%exec(./build/bin/local/rlm_redis_ippool_tool, -A, 192.168.0.10/32, -O, aa:bb:cc:dd:ee:00, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.0.0)
58+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-A', '192.168.0.10/32', '-O', 'aa:bb:cc:dd:ee:00', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.0.0')
5959

6060
#
6161
# Check the original device is still assigned to the address
6262
#
63-
if !(%redis(HGET, {%{control.IP-Pool.Name}}:ip:192.168.0.10, 'device') == 'aa:bb:cc:dd:ee:ff') {
63+
if !(%redis('HGET', "{%{control.IP-Pool.Name}}:ip:192.168.0.10", 'device') == 'aa:bb:cc:dd:ee:ff') {
6464
test_fail
6565
}
66-
if !(%redis(GET, {%{control.IP-Pool.Name}}:device:aa:bb:cc:dd:ee:ff) == '192.168.0.10') {
66+
if !(%redis('GET', "{%{control.IP-Pool.Name}}:device:aa:bb:cc:dd:ee:ff") == '192.168.0.10') {
6767
test_fail
6868
}
6969

@@ -86,39 +86,39 @@ if !(reply.Framed-IP-Address == 192.168.0.1) {
8686
#
8787
# Attempt to statically assign this to another device
8888
#
89-
%exec(./build/bin/local/rlm_redis_ippool_tool, -A, 192.168.0.1/32, -O, aa:bb:cc:dd:ee:00, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.0.0)
89+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-A', '192.168.0.1/32', '-O', 'aa:bb:cc:dd:ee:00', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.0.0')
9090

9191
#
9292
# Check the original device is still assigned to the address and the lease is dynamic
9393
#
94-
if !(%redis(HGET, {%{control.IP-Pool.Name}}:ip:192.168.0.1, 'device') == %{Calling-Station-Id}) {
94+
if !(%redis('HGET', "{%{control.IP-Pool.Name}}:ip:192.168.0.1", 'device') == %{Calling-Station-Id}) {
9595
test_fail
9696
}
97-
if !(%redis(GET, {%{control.IP-Pool.Name}}:device:11:22:33:44:55:66) == '192.168.0.1') {
97+
if !(%redis('GET', "{%{control.IP-Pool.Name}}:device:11:22:33:44:55:66") == '192.168.0.1') {
9898
test_fail
9999
}
100100

101-
zscore := %redis(ZSCORE, {%{control.IP-Pool.Name}}:pool, 192.168.0.1)
101+
zscore := %redis('ZSCORE', "{%{control.IP-Pool.Name}}:pool", '192.168.0.1')
102102
if !(zscore < (uint64)0x10000000000000) {
103103
test_fail
104104
}
105105

106106
#
107107
# Now assign it as a static lease for the current device
108108
#
109-
%exec(./build/bin/local/rlm_redis_ippool_tool, -A, 192.168.0.1/32, -O, %{Calling-Station-Id}, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.0.0)
109+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-A', '192.168.0.1/32', '-O', %{Calling-Station-Id}, '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.0.0')
110110

111111
#
112112
# Check that the ZSCORE is maintained, simply with the static bit set
113113
#
114-
if !(%redis(ZSCORE, {%{control.IP-Pool.Name}}:pool, 192.168.0.1) == (zscore + (uint64) 0x10000000000000)) {
114+
if !(%redis('ZSCORE', "{%{control.IP-Pool.Name}}:pool", '192.168.0.1') == (zscore + (uint64) 0x10000000000000)) {
115115
test_fail
116116
}
117117

118118
#
119119
# And that the expiry is now removed on the device
120120
#
121-
if (%redis(TTL, {%{control.IP-Pool.Name}}:device:%{Calling-Station-Id}) != '-1') {
121+
if (%redis('TTL', "{%{control.IP-Pool.Name}}:device:%{Calling-Station-Id}") != '-1') {
122122
test_fail
123123
}
124124

src/tests/modules/redis_ippool/release.unlang

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ control.IP-Pool.Name := 'test_release'
88
#
99
# Add IP addresses
1010
#
11-
%exec(./build/bin/local/rlm_redis_ippool_tool, -a, 192.168.0.1/32, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.0.0)
11+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-a', '192.168.0.1/32', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.0.0')
1212

1313
#
1414
# Check allocation
@@ -39,31 +39,31 @@ if (!(updated)) {
3939
#
4040
# Verify the association with the device has been removed
4141
#
42-
if (!(%redis(EXISTS, {%{control.IP-Pool.Name}}:device:%{Calling-Station-ID}) == '0')) {
42+
if (!(%redis('EXISTS', "{%{control.IP-Pool.Name}}:device:%{Calling-Station-ID}") == '0')) {
4343
test_fail
4444
}
4545

4646
#
4747
# Verify the hash information is retained
4848
#
49-
if (!(%redis(HGET, {%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}, device) == '00:11:22:33:44:55')) {
49+
if (!(%redis('HGET', "{%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}", 'device') == '00:11:22:33:44:55')) {
5050
test_fail
5151
}
5252

53-
if (!(%redis(HGET, {%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}, gateway) == '127.0.0.1')) {
53+
if (!(%redis('HGET', "{%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}", 'gateway') == '127.0.0.1')) {
5454
test_fail
5555
}
5656

57-
if (!(%redis(HGET, {%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}, range) == '192.168.0.0')) {
57+
if (!(%redis('HGET', "{%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}", 'range') == '192.168.0.0')) {
5858
test_fail
5959
}
6060

6161
# Check the ZSCORE - releasing an address sets the ZSCORE to now - 1
62-
if (%redis(ZSCORE, {%{control.IP-Pool.Name}}:pool, %{reply.Framed-IP-Address}) > %c) {
62+
if (%redis('ZSCORE', "{%{control.IP-Pool.Name}}:pool", %{reply.Framed-IP-Address}) > %c) {
6363
test_fail
6464
}
6565

66-
if ((%c - %redis(ZSCORE, {%{control.IP-Pool.Name}}:pool, %{reply.Framed-IP-Address}) > 10)) {
66+
if ((%c - %redis('ZSCORE', "{%{control.IP-Pool.Name}}:pool", %{reply.Framed-IP-Address}) > 10)) {
6767
test_fail
6868
}
6969

src/tests/modules/redis_ippool/static.unlang

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ control.IP-Pool.Name := 'test_static'
88
#
99
# Add a dynamic IP addresses
1010
#
11-
%exec(./build/bin/local/rlm_redis_ippool_tool, -a, 192.168.0.1/32, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.0.0)
11+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-a', '192.168.0.1/32', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.0.0')
1212

1313
#
1414
# Add a static IP assigned to the calling station in the request
1515
#
16-
%exec(./build/bin/local/rlm_redis_ippool_tool, -A, 192.168.0.10/32, -O, aa:bb:cc:dd:ee:ff, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.0.0)
16+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-A', '192.168.0.10/32', '-O', 'aa:bb:cc:dd:ee:ff', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.0.0')
1717

1818
#
1919
# Check allocation
@@ -49,7 +49,7 @@ redis_ippool.renew {
4949
#
5050
# Verify no expiry has been set on device
5151
#
52-
if (%redis(TTL, {%{control.IP-Pool.Name}}:device:%{Calling-Station-Id}) != '-1') {
52+
if (%redis('TTL', "{%{control.IP-Pool.Name}}:device:%{Calling-Station-Id}") != '-1') {
5353
test_fail
5454
}
5555

@@ -73,19 +73,19 @@ if (!(updated)) {
7373
#
7474
# Verify the association with the device remains
7575
#
76-
if (%redis(EXISTS, {%{control.IP-Pool.Name}}:device:%{Calling-Station-ID}) == '0') {
76+
if (%redis('EXISTS', "{%{control.IP-Pool.Name}}:device:%{Calling-Station-ID}") == '0') {
7777
test_fail
7878
}
7979

8080
#
8181
# Verify the hash information is retained
8282
#
83-
if (%redis(EXISTS, {%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}) == '0') {
83+
if (%redis('EXISTS', "{%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}") == '0') {
8484
test_fail
8585
}
8686

8787
# Check the ZSCORE
88-
if (%redis(ZSCORE, {%{control.IP-Pool.Name}%}:pool, %{reply.Framed-IP-Address}) <= %l) {
88+
if (%redis('ZSCORE', "{%{control.IP-Pool.Name}%}:pool", %{reply.Framed-IP-Address}) <= %l) {
8989
test_fail
9090
}
9191

src/tests/modules/redis_ippool/static_dynamic.unlang

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ control.IP-Pool.Name := 'test_static_dynamic'
88
#
99
# Add a static IP assigned to a calling station not in the request
1010
#
11-
%exec(./build/bin/local/rlm_redis_ippool_tool, -A, 192.168.0.10/32, -O, aa:bb:cc:dd:ee:ff, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.0.0)
11+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-A', '192.168.0.10/32', '-O', 'aa:bb:cc:dd:ee:ff', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.0.0')
1212

1313
#
1414
# Check allocation fails - pool only contains an address assigned to another owner
@@ -23,7 +23,7 @@ if (!notfound) {
2323
#
2424
# Add a dynamic IP addresses
2525
#
26-
%exec(./build/bin/local/rlm_redis_ippool_tool, -a, 192.168.0.1/32, $ENV{REDIS_IPPOOL_TEST_SERVER}:30001, %{control.IP-Pool.Name}, 192.168.0.0)
26+
%exec('./build/bin/local/rlm_redis_ippool_tool', '-a', '192.168.0.1/32', '$ENV{REDIS_IPPOOL_TEST_SERVER}:30001', %{control.IP-Pool.Name}, '192.168.0.0')
2727

2828
#
2929
# Check allocation

0 commit comments

Comments
 (0)