Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1702584

Re: [PATCH 1/5] test_kmod: make selftest executable

From Shuah Khan <shuah@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/5] test_kmod: make selftest executable
Date 2017-08-03 02:10 +0200
Message-ID <uabS9-kX-1@gated-at.bofh.it> (permalink)
References <ua9dD-6W9-11@gated-at.bofh.it> <ua9dE-6W9-29@gated-at.bofh.it> <uaaCJ-7MS-1@gated-at.bofh.it> <uaaMq-7QI-7@gated-at.bofh.it> <uabyN-8qn-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08/02/2017 05:42 PM, Andrew Morton wrote:
> On Wed, 2 Aug 2017 15:55:50 -0700 "Luis R. Rodriguez" <mcgrof@kernel.org> wrote:
> 
>> On Wed, Aug 2, 2017 at 3:43 PM, Andrew Morton <akpm@linux-foundation.org> wrote:
>>> On Wed,  2 Aug 2017 14:14:46 -0700 "Luis R. Rodriguez" <mcgrof@kernel.org> wrote:
>>>
>>>> We had just forgotten to do this.
>>>>
>>>> Fixes: 39258f448d71 ("kmod: add test driver to stress test the module loader")
>>>> Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
>>>> ---
>>>>  tools/testing/selftests/kmod/kmod.sh | 0
>>>>  1 file changed, 0 insertions(+), 0 deletions(-)
>>>>  mode change 100644 => 100755 tools/testing/selftests/kmod/kmod.sh
>>>>
>>>> diff --git a/tools/testing/selftests/kmod/kmod.sh b/tools/testing/selftests/kmod/kmod.sh
>>>> old mode 100644
>>>> new mode 100755
>>>
>>> This is pretty fragile - I'm not sure that patch/diff are capable of
>>> communicating a bare chmod.  If someone does a "patch -p1 < patch-4.14"
>>> or whatever, this change is likely to get lost.
>>
>> True if using regular diff, if using git, it will catch it though.
> 
> Yeah.  I don't think this change will make it through my
> maze-of-scripts.  Perhaps Shuah can pick it up.

Thanks Andrew. I will pick this up.

> 
> Also...
> 
> # find tools/testing/selftests -name "*.sh" -a ! -executable
> tools/testing/selftests/rcutorture/configs/rcuperf/ver_functions.sh
> tools/testing/selftests/rcutorture/configs/lock/ver_functions.sh
> tools/testing/selftests/rcutorture/configs/rcu/ver_functions.sh
> tools/testing/selftests/rcutorture/bin/functions.sh
> tools/testing/selftests/locking/ww_mutex.sh

The above aren't an issue. They aren't included in the selftests/Makefile

> tools/testing/selftests/kmod/kmod.sh
> tools/testing/selftests/sysctl/sysctl.sh

Yeah. sysctl needs to be fixed. Thanks for pointing this out.

thanks,
-- Shuah

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/5] test_kmod: make selftest executable "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-08-02 23:20 +0200
  Re: [PATCH 1/5] test_kmod: make selftest executable Andrew Morton <akpm@linux-foundation.org> - 2017-08-03 00:50 +0200
    Re: [PATCH 1/5] test_kmod: make selftest executable "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-08-03 01:00 +0200
      Re: [PATCH 1/5] test_kmod: make selftest executable "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-08-03 01:50 +0200
      Re: [PATCH 1/5] test_kmod: make selftest executable Andrew Morton <akpm@linux-foundation.org> - 2017-08-03 01:50 +0200
        Re: [PATCH 1/5] test_kmod: make selftest executable Shuah Khan <shuah@kernel.org> - 2017-08-03 02:10 +0200
      Re: [PATCH 1/5] test_kmod: make selftest executable Shuah Khan <shuah@kernel.org> - 2017-08-03 02:00 +0200
    Re: [PATCH 1/5] test_kmod: make selftest executable Michael Ellerman <mpe@ellerman.id.au> - 2017-08-08 12:00 +0200
      Re: [PATCH 1/5] test_kmod: make selftest executable "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-08-08 20:00 +0200

csiph-web