[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <C7ED1FFD-C1B2-4543-9DBD-B633E7D0AA30@intel.com>
Date: Fri, 13 Oct 2017 17:55:45 +0000
From: "Rustad, Mark D" <mark.d.rustad@...el.com>
To: Petr Vorel <petr.vorel@...il.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH] tests: Remove bashisms (s/source/.)
> On Oct 8, 2017, at 7:39 AM, Petr Vorel <petr.vorel@...il.com> wrote:
>
> diff --git a/testsuite/tests/ip/route/add_default_route.t b/testsuite/tests/ip/route/add_default_route.t
> index e5ea6473..0b566f1f 100755
> --- a/testsuite/tests/ip/route/add_default_route.t
> +++ b/testsuite/tests/ip/route/add_default_route.t
> @@ -1,6 +1,6 @@
> -#!/bin/sh
> +#!/bin/bash
Funny - ^^^ choosing bash explicitly while
vvvv removing the bashism?
> -source lib/generic.sh
> +. lib/generic.sh
>
> ts_log "[Testing add default route]"
I noticed a couple other files already specified /bin/bash, yet you removed the bashisms. But the above struck me as something that would not seem to have been intended.
--
Mark Rustad, Networking Division, Intel Corporation
Download attachment "signature.asc" of type "application/pgp-signature" (842 bytes)
Powered by blists - more mailing lists