Lines Matching refs:namewant
334 namewant=$(uuidgen)
337 ip link set dev "$devdummy" alias "$namewant"
341 echo "FAIL: cannot set interface alias of $devdummy to $namewant"
345 ip link show "$devdummy" | grep -q "alias $namewant"
350 if [ "$namewant" != "$namehave" ]; then
351 echo "FAIL: did set ifalias $namewant but got $namehave"
355 namewant=$(uuidgen)
356 echo "$namewant" > "$syspathname"
357 ip link show "$devdummy" | grep -q "alias $namewant"
363 ip link show "$devdummy" | grep -q "alias $namewant"
373 ip link set dev "$devdummy" alias "$namewant"
378 echo "FAIL: set interface alias $devdummy to $namewant"
382 echo "PASS: set ifalias $namewant for $devdummy"