Skip to contentSkip to conversation

selftests/lib: set printf.sh executable

PATCH In review SeongJae Park 3 participants 4 messages Jun 18, 2016 – Jun 25, 2016 Kselftest

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests/lib: set printf.sh executable

Test for test_printf module fails always because the test program, printf.sh, has no execution permission. This commit adds execution permission to it.

---
 tools/testing/selftests/lib/printf.sh | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 mode change 100644 => 100755 tools/testing/selftests/lib/printf.sh
tools/testing/selftests/lib/printf.sh +0 -0
old mode 100644
new mode 100755
Signature · 1 line
1.9.1
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · SeongJae Park

Test for test_printf module fails always because the test program, printf.sh, has no execution permission. This commit adds execution permission to it.

(Is this mode change sufficient, or does the selftest infrastructure need to explicitly set it executable when running?)

-Kees

Quoted 11 lines
---
 tools/testing/selftests/lib/printf.sh | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 mode change 100644 => 100755 tools/testing/selftests/lib/printf.sh
tools/testing/selftests/lib/printf.sh +0 -1
old mode 100644
new mode 100755
--

1.9.1

Signature · 2 lines
Kees Cook
Chrome OS & Brillo Security
#2 lore raw

Shuah,

May I ask your opinion about this patch?

Thanks,
SeongJae Park

Quoted 32 lines · Kees Cook
Quoted 5 lines · SeongJae Park

Test for test_printf module fails always because the test program, printf.sh, has no execution permission. This commit adds execution permission to it.

(Is this mode change sufficient, or does the selftest infrastructure need to explicitly set it executable when running?)

-Kees

Quoted 11 lines
---
 tools/testing/selftests/lib/printf.sh | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 mode change 100644 => 100755 tools/testing/selftests/lib/printf.sh
tools/testing/selftests/lib/printf.sh +0 -1
old mode 100644
new mode 100755
--

1.9.1

--
Kees Cook
Chrome OS & Brillo Security

#3 lore raw

Hi SeongJae Park,

Thanks for the ping.

Quoted 21 lines · SeongJae Park

Shuah,

May I ask your opinion about this patch?

Thanks,
SeongJae Park

Quoted 11 lines · Kees Cook
Quoted 5 lines · SeongJae Park

Test for test_printf module fails always because the test program, printf.sh, has no execution permission. This commit adds execution permission to it.

(Is this mode change sufficient, or does the selftest infrastructure need to explicitly set it executable when running?)

This is good and makes it consistent with bitmap.sh the other shell script in this test suite. I will get this into 4.8-rc1

thanks,
-- Shuah

Quoted 21 lines
Quoted 21 lines

-Kees

Quoted 11 lines
---
 tools/testing/selftests/lib/printf.sh | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 mode change 100644 => 100755 tools/testing/selftests/lib/printf.sh
tools/testing/selftests/lib/printf.sh +0 -1
old mode 100644
new mode 100755
--

1.9.1

--
Kees Cook
Chrome OS & Brillo Security