Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25a03e0
)
Branch b1_8_gate
author
bobijam
<bobijam>
Fri, 7 Nov 2008 03:18:54 +0000
(
03:18
+0000)
committer
bobijam
<bobijam>
Fri, 7 Nov 2008 03:18:54 +0000
(
03:18
+0000)
b=16578
o=adilger
A faster way to get long string.
lustre/tests/sanity.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/sanity.sh
b/lustre/tests/sanity.sh
index
ec20bce
..
3cf672d
100644
(file)
--- a/
lustre/tests/sanity.sh
+++ b/
lustre/tests/sanity.sh
@@
-445,9
+445,7
@@
run_test 17e "symlinks: create recursive symlink (should return error) ===="
test_17g() {
mkdir -p $DIR/$tdir
- for ((i = 0; i < 511; ++i)); do
- LONGSYMLINK="${LONGSYMLINK}01234567"
- done
+ LONGSYMLINK="$(dd if=/dev/zero bs=4095 count=1 | tr '\0' 'x')"
ln -s $LONGSYMLINK $DIR/$tdir/$tfile
ls -l $DIR/$tdir
}