Revision e73f0f0ee7541171d89f2e2491130c7771ba58d3 authored by Linus Torvalds on 11 July 2021, 22:07:40 UTC, committed by Linus Torvalds on 11 July 2021, 22:07:40 UTC
1 parent 6c855fc
Raw File
spdxcheck-test.sh
#!/bin/sh

for PYTHON in python2 python3; do
	# run check on a text and a binary file
	for FILE in Makefile Documentation/logo.gif; do
		$PYTHON scripts/spdxcheck.py $FILE
		$PYTHON scripts/spdxcheck.py - < $FILE
	done

	# run check on complete tree to catch any other issues
	$PYTHON scripts/spdxcheck.py > /dev/null
done
back to top