Skip to content

Commit 6dab047

Browse files
committed
tests: cocci: reset the tree at the start
The ignored tests may be left over, make sure we reset at the start. Signed-off-by: Jakub Kicinski <[email protected]>
1 parent a3ef018 commit 6dab047

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contest/tests/cocci-check.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ echo "Starting at $(date)"
6363
echo
6464

6565
IGNORED=( scripts/coccinelle/misc/minmax.cocci )
66+
67+
git reset --hard
6668
for ign_file in ${IGNORED[@]}; do
6769
echo "Ignoring " $ign_file
6870
mv $ign_file $ign_file.ignore

0 commit comments

Comments
 (0)