to make sure this is serialized correctly.
Signed-off-by: Florian Westphal <[email protected]>
---
change since v1:
Eric points out 'wait' blocks for all current children, so no need
for another loop.
tools/testing/selftests/net/rtnetlink.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tools/testing/selftests/net/rtnetlink.sh
b/tools/testing/selftests/net/rtnetlink.sh
index 62c87da92770..e8c86c416ed0 100755
--- a/tools/testing/selftests/net/rtnetlink.sh
+++ b/tools/testing/selftests/net/rtnetlink.sh
@@ -278,6 +278,12 @@ kci_test_ifalias()
ip link show "$devdummy" | grep -q "alias $namewant"
check_fail $?
+ for i in $(seq 1 100); do
+ uuidgen > "$syspathname" &
+ done
+
+ wait
+
# re-add the alias -- kernel should free mem when dummy dev is
removed
ip link set dev "$devdummy" alias "$namewant"
check_err $?
--
2.13.6