aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-06 05:39:43 +0000
committerSam James <sam@gentoo.org>2023-01-10 05:21:39 +0000
commit87ca5c5bbe63ea3c9227fdd4a01ccdc1ce723323 (patch)
tree7b05c0caea5cb10737a3090b07e4314fcc3c72dc
parentfix-gnustack: respect CFLAGS, LDFLAGS for tests (diff)
downloadelfix-87ca5c5bbe63ea3c9227fdd4a01ccdc1ce723323.tar.gz
elfix-87ca5c5bbe63ea3c9227fdd4a01ccdc1ce723323.tar.bz2
elfix-87ca5c5bbe63ea3c9227fdd4a01ccdc1ce723323.zip
fix-gnustack: add 'set -x' in tests for easier debugging
It's hard to see why something failed otherwise, as we only have the exit code. Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-xmisc/fix-gnustack/tests/gnustacktest.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/fix-gnustack/tests/gnustacktest.sh b/misc/fix-gnustack/tests/gnustacktest.sh
index f200baf..eba0fba 100755
--- a/misc/fix-gnustack/tests/gnustacktest.sh
+++ b/misc/fix-gnustack/tests/gnustacktest.sh
@@ -16,6 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+set -x
before=$(../fix-gnustack -f bad-gnustack)
before=$(echo ${before} | awk '{ print $2 }')