doc/news.texi | 3 +++ t/goredo-executable-rel.t | 17 +++++++++++++++++ diff --git a/doc/news.texi b/doc/news.texi index 9edbc995441ebb9458223df9eaf2e0f281cc798cd51073e8941ced791f4cc5d1..72cfc3a79a507ef4f36384145be307e045ae65686d68dee762e3f1a511dd6fc9 100644 --- a/doc/news.texi +++ b/doc/news.texi @@ -6,6 +6,9 @@ @anchor{Release 2_6_5} @section Release 2.6.5 @itemize @item + Fix file's executable bit check, which may lead to inadmissible + @command{/bin/sh} run in case of symbolic links presence. +@item Fix proper @command{mtime}'s nanoseconds storage. @end itemize diff --git a/t/goredo-executable-rel.t b/t/goredo-executable-rel.t new file mode 100755 index 0000000000000000000000000000000000000000..1278a22ce063bb8b75cea05292915c13f48af55761a4f2b746ac8a8f50c2ea4f --- /dev/null +++ b/t/goredo-executable-rel.t @@ -0,0 +1,17 @@ +#!/bin/sh + +test_description="Check that relative executable target through symlink is run" +. $SHARNESS_TEST_SRCDIR/sharness.sh +export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1 + +cat >foo.do <