mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
Tests - eventscripts exportfs stub should splits lines
The real exportfs splits lines longer than 15 characters. The stub should do that too... Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit fb3e123b097d9e36d281c3ab4f3e9a4799fa27bc)
This commit is contained in:
parent
625e0c5aea
commit
f3c590c199
@ -3,5 +3,11 @@
|
|||||||
opts="10.0.0.0/16(rw,async,insecure,no_root_squash,no_subtree_check)"
|
opts="10.0.0.0/16(rw,async,insecure,no_root_squash,no_subtree_check)"
|
||||||
|
|
||||||
for i in $FAKE_SHARES ; do
|
for i in $FAKE_SHARES ; do
|
||||||
echo "${i} ${opts}"
|
# Directories longer than 15 characters are printed on their own
|
||||||
|
# line.
|
||||||
|
if [ ${#i} -ge 15 ] ; then
|
||||||
|
printf '%s\n\t\t%s\n' "$i" "$opts"
|
||||||
|
else
|
||||||
|
printf '%s\t%s\n' "$i" "$opts"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user