]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test(NETWORK): use POSIX shell for assertion.sh
authorBenjamin Drung <benjamin.drung@canonical.com>
Wed, 28 Jan 2026 19:25:48 +0000 (20:25 +0100)
committerLaszlo <laszlo.gombos@gmail.com>
Thu, 29 Jan 2026 00:55:53 +0000 (19:55 -0500)
Make the test 50 more flexible by only requiring a POSIX shell in
`assertion.sh` in the client rootfs.

test/TEST-50-NETWORK/assertion.sh

index b872f9b5bc14d196f634a1fad389ed87cc4b4500..eaa355208a8860413728eba59f97b587713f14d8 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
 
 # Get the output of 'ip addr show' and filter out lo interface
 ip_output=$(ip -o -4 addr show | grep -v ': lo')