projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c501f6
)
tests: avoid FP failure due to suspension
author
Jim Meyering
<meyering@redhat.com>
Tue, 25 Jan 2011 11:36:22 +0000
(12:36 +0100)
committer
Jim Meyering
<meyering@redhat.com>
Tue, 25 Jan 2011 11:41:47 +0000
(12:41 +0100)
* tests/du/move-dir-while-traversing: Prohibit suspension,
to avoid false-positive failure.
tests/du/move-dir-while-traversing
patch
|
blob
|
history
diff --git
a/tests/du/move-dir-while-traversing
b/tests/du/move-dir-while-traversing
index
c711e02
..
2a60d6e
100755
(executable)
--- a/
tests/du/move-dir-while-traversing
+++ b/
tests/du/move-dir-while-traversing
@@
-70,6
+70,10
@@
long=d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z
for i in $(seq 30); do
mkdir -p $t/3/a/b/c/$i/$long || framework_failure
done
+
+# Prohibit suspension, which could otherwise cause a timeout-induced FP failure.
+trap '' STOP TSTP
+
timeout 6 ./inotify-watch-for-dir-access.py $t/3/a/b > start-msg &
# Wait for the watcher to start...