File: run-tests.sh

package info (click to toggle)
tup 0.8-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,076 kB
  • sloc: ansic: 256,651; sh: 19,101; perl: 184; python: 67; lisp: 63; makefile: 56
file content (9 lines) | stat: -rwxr-xr-x 343 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#! /bin/sh
if cat /proc/sys/fs/inotify/max_user_watches | grep 65536 > /dev/null; then
	for i in 1 10 100 1000 10000 100000; do ./run-test.sh -n $i > out-$i.txt 2>&1; done
else
	echo "Please set max_user_watches to 65536"
	echo "This can be done by running (as root):"
	echo "    echo 65536 >/proc/sys/fs/inotify/max_user_watches"
	exit 1;
fi