File: check_dirty

package info (click to toggle)
pyroon 0.1.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 372 kB
  • sloc: python: 1,660; sh: 135; makefile: 4
file content (7 lines) | stat: -rw-r--r-- 238 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/bash
[[ -z $(git ls-files --others --exclude-standard) ]] && exit 0

echo -e '\n***** ERROR\nTests are leaving files behind. Please update the tests to avoid writing any files:'
git ls-files --others --exclude-standard
echo
exit 1