lkml.org 
[lkml]   [2012]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] selftests: Make run_tests executable
On Mon, 30 Jan 2012 18:04:29 +0100
Frederic Weisbecker <fweisbec@gmail.com> wrote:

> Make the main script that launches the tests to
> become executable. Otherwise people need to launch
> it as an argument to a new bash instance.
>

That's a feature ;)

The x bit can easily get lost on kernel scripts. For example, if
someone upgrades their kernel with patch(1) and the patch adds or
renames the script, the x bit gets lost.

If we were to set the x bit for the subset of people who get their
scripts direct from a git repository then those people might write and
distribute tools which fail when used by people who have lost their x
bit. I've seen this happen at least once before.



\
 
 \ /
  Last update: 2012-01-31 00:53    [W:0.035 / U:16.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site