[riot-notifications] [RIOT-OS/RIOT] tests/gnrc_dhcpv6_client: add script to check if $IFACE exists (#16797)

Martine Lenders notifications at github.com
Thu Sep 2 13:28:57 CEST 2021


@miri64 commented on this pull request.



> @@ -0,0 +1,10 @@
+#! /bin/sh
+#
+# check_config.sh
+# Copyright (C) 2021 Martine Lenders <mail at martine-lenders.eu>
+#
+# Distributed under terms of the MIT license.
+#
+
+ip link show dev "${IFACE}" > /dev/null

Done. The output now looks like this:

```
Device "tapbr0" does not exist.
You can create "tapbr0" by using e.g. `dist/tools/tapsetup/tapsetup`
System configuration for tests is not available.
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16797#discussion_r700993939
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210902/67d4b516/attachment.htm>


More information about the notifications mailing list