diff options
| author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-04-12 23:27:51 -0400 |
|---|---|---|
| committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-04-12 23:27:51 -0400 |
| commit | 269025c216e4245f2b10927630130db89fddf4c8 (patch) | |
| tree | 49f513db666af952d38cdfda6d7ae2c6de6f4f82 /scripts/test_find | |
| parent | 4538f7e4fcaa3bf199377b9b735562e53cd1c7d3 (diff) | |
Add various test scripts
- also useful for normal debugging, not just PM
Diffstat (limited to 'scripts/test_find')
| -rwxr-xr-x | scripts/test_find | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/test_find b/scripts/test_find new file mode 100755 index 0000000..003cbb4 --- /dev/null +++ b/scripts/test_find | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | # | ||
| 3 | # test_find: stress test with lot of suspending tasks | ||
| 4 | # main purpose: bug hunting | ||
| 5 | |||
| 6 | TASK=0 | ||
| 7 | while read inputline; | ||
| 8 | do | ||
| 9 | e=`echo $inputline | awk -F' ' '{print $1}'` | ||
| 10 | p=`echo $inputline | awk -F' ' '{print $2}'` | ||
| 11 | c=`echo $inputline | awk -F' ' '{print $3}'` | ||
| 12 | ./rt_launch -w $e $p -p $c find / | ||
| 13 | TASK=`expr $TASK + 1` | ||
| 14 | done < uni1_050_0.ts-psn-edf | ||
| 15 | ./release_ts -d 5000 | ||
