Advertisement
seblu

coreutils sparse.sh error

May 13th, 2015
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.26 KB | None | 0 0
  1. + . ./tests/init.sh
  2. +++ expr ././tests/dd/sparse.sh : '.*/\(.*\)$'
  3. ++ ME_=sparse.sh
  4. ++ : 2
  5. ++ DUALCASE=1
  6. ++ export DUALCASE
  7. ++ test -n ''
  8. ++ case `(set -o) 2>/dev/null` in
  9. ++ set -o posix
  10. ++ gl_shell_test_script_='
  11. test $(echo y) = y || exit 1
  12. score_=10
  13. if test "$VERBOSE" = yes; then
  14. test -n "$( (exec 3>&1; set -x; P=1 true 2>&3) 2> /dev/null)" && score_=9
  15. fi
  16. test -z "$EXEEXT" && exit $score_
  17. shopt -s expand_aliases
  18. alias a-b="echo zoo"
  19. v=abx
  20. test ${v%x} = ab \
  21. && test ${v#a} = bx \
  22. && test $(a-b) = zoo \
  23. && exit $score_
  24. '
  25. ++ test x = x--no-reexec
  26. ++ gl_set_x_corrupts_stderr_=false
  27. ++ export gl_set_x_corrupts_stderr_
  28. ++ marginal_=
  29. ++ for re_shell_ in __current__ '"${CONFIG_SHELL:-no_shell}"' /bin/sh bash dash zsh pdksh fail
  30. ++ test __current__ = no_shell
  31. ++ test __current__ = fail
  32. ++ test __current__ = __current__
  33. ++ st_=10
  34. ++ test 10 = 10
  35. ++ gl_set_x_corrupts_stderr_=false
  36. ++ break
  37. ++ test __current__ '!=' __current__
  38. ++ test -n '4.3.33(1)-release'
  39. ++ unalias -a
  40. ++ test -n ''
  41. ++ : 87
  42. ++ export MALLOC_PERTURB_
  43. +++ exec
  44. ++ diff_out_=
  45. ++ diff -u Makefile ./tests/dd/sparse.sh
  46. ++ grep '^[+]#!'
  47. ++ test -z ''
  48. ++ test -f ./init.cfg
  49. ++ . ./init.cfg
  50. +++ stderr_fileno_=9
  51. +++ sanitize_path_
  52. +++ local 'saved_IFS=
  53. '
  54. +++ IFS=:
  55. +++ set -- /home/seblu/bin /usr/local/sbin /usr/local/bin /usr/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl
  56. +++ IFS='
  57. '
  58. +++ local d d1
  59. +++ local colon=
  60. +++ local new_path=
  61. +++ for d in '"$@"'
  62. +++ test -z /home/seblu/bin
  63. +++ d1=/home/seblu/bin
  64. +++ ls -d /home/seblu/bin/.
  65. +++ new_path=/home/seblu/bin
  66. +++ colon=:
  67. +++ for d in '"$@"'
  68. +++ test -z /usr/local/sbin
  69. +++ d1=/usr/local/sbin
  70. +++ ls -d /usr/local/sbin/.
  71. +++ new_path=/home/seblu/bin:/usr/local/sbin
  72. +++ colon=:
  73. +++ for d in '"$@"'
  74. +++ test -z /usr/local/bin
  75. +++ d1=/usr/local/bin
  76. +++ ls -d /usr/local/bin/.
  77. +++ new_path=/home/seblu/bin:/usr/local/sbin:/usr/local/bin
  78. +++ colon=:
  79. +++ for d in '"$@"'
  80. +++ test -z /usr/bin
  81. +++ d1=/usr/bin
  82. +++ ls -d /usr/bin/.
  83. +++ new_path=/home/seblu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin
  84. +++ colon=:
  85. +++ for d in '"$@"'
  86. +++ test -z /usr/bin/site_perl
  87. +++ d1=/usr/bin/site_perl
  88. +++ ls -d /usr/bin/site_perl/.
  89. +++ new_path=/home/seblu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl
  90. +++ colon=:
  91. +++ for d in '"$@"'
  92. +++ test -z /usr/bin/vendor_perl
  93. +++ d1=/usr/bin/vendor_perl
  94. +++ ls -d /usr/bin/vendor_perl/.
  95. +++ new_path=/home/seblu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl
  96. +++ colon=:
  97. +++ for d in '"$@"'
  98. +++ test -z /usr/bin/core_perl
  99. +++ d1=/usr/bin/core_perl
  100. +++ ls -d /usr/bin/core_perl/.
  101. +++ new_path=/home/seblu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
  102. +++ colon=:
  103. +++ for d in /sbin /usr/sbin
  104. +++ case ":$new_path:" in
  105. +++ new_path=/home/seblu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/sbin
  106. +++ for d in /sbin /usr/sbin
  107. +++ case ":$new_path:" in
  108. +++ new_path=/home/seblu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/sbin:/usr/sbin
  109. +++ PATH=/home/seblu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/sbin:/usr/sbin
  110. +++ export PATH
  111. ++ setup_
  112. ++ test '' = yes
  113. ++ initial_cwd_=/var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23
  114. ++ fail=0
  115. +++ testdir_prefix_
  116. +++ printf gt
  117. ++ pfx_=gt
  118. +++ mktempd_ /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23 gt-sparse.sh.XXXX
  119. +++ case $# in
  120. +++ destdir_=/var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23
  121. +++ template_=gt-sparse.sh.XXXX
  122. +++ MAX_TRIES_=4
  123. +++ case $destdir_ in
  124. +++ case $template_ in
  125. ++++ unset TMPDIR
  126. +++ d=/var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/gt-sparse.sh.PR38
  127. +++ case $d in
  128. +++ test -d /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/gt-sparse.sh.PR38
  129. ++++ ls -dgo /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/gt-sparse.sh.PR38
  130. ++++ tr S -
  131. +++ perms='drwx------ 1 0 14 mai 04:22 /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/gt-sparse.sh.PR38'
  132. +++ case $perms in
  133. +++ test 0 = 0
  134. +++ echo /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/gt-sparse.sh.PR38
  135. +++ return
  136. ++ test_dir_=/var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/gt-sparse.sh.PR38
  137. ++ cd /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/gt-sparse.sh.PR38
  138. ++ gl_init_sh_nl_='
  139. '
  140. ++ IFS='
  141. '
  142. ++ for sig_ in 1 2 3 13 15
  143. +++ expr 1 + 128
  144. ++ eval 'trap '\''Exit 129'\'' 1'
  145. +++ trap 'Exit 129' 1
  146. ++ for sig_ in 1 2 3 13 15
  147. +++ expr 2 + 128
  148. ++ eval 'trap '\''Exit 130'\'' 2'
  149. +++ trap 'Exit 130' 2
  150. ++ for sig_ in 1 2 3 13 15
  151. +++ expr 3 + 128
  152. ++ eval 'trap '\''Exit 131'\'' 3'
  153. +++ trap 'Exit 131' 3
  154. ++ for sig_ in 1 2 3 13 15
  155. +++ expr 13 + 128
  156. ++ eval 'trap '\''Exit 141'\'' 13'
  157. +++ trap 'Exit 141' 13
  158. ++ for sig_ in 1 2 3 13 15
  159. +++ expr 15 + 128
  160. ++ eval 'trap '\''Exit 143'\'' 15'
  161. +++ trap 'Exit 143' 15
  162. ++ trap remove_tmp_ 0
  163. + path_prepend_ ./src
  164. + test 1 '!=' 0
  165. + path_dir_=./src
  166. + case $path_dir_ in
  167. + abs_path_dir_=/var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/./src
  168. + case $abs_path_dir_ in
  169. + PATH=/var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/./src:/home/seblu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/sbin:/usr/sbin
  170. + create_exe_shims_ /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/./src
  171. + case $EXEEXT in
  172. + return 0
  173. + shift
  174. + test 0 '!=' 0
  175. + export PATH
  176. + print_ver_ dd
  177. + test '' = yes
  178. + require_sparse_support_
  179. + test 0 = 0
  180. + t=sparse.26659
  181. + dd bs=1 seek=128K of=sparse.26659
  182. ++ du -sk sparse.26659
  183. + set x 0 sparse.26659
  184. + kb_size=0
  185. + rm -f sparse.26659
  186. + test 0 -ge 128
  187. + truncate -s1M sparse
  188. + dd bs=32K if=sparse of=sparse.dd conv=sparse
  189. 32+0 records in
  190. 32+0 records out
  191. 1048576 bytes (1,0 MB) copied, 0,000423392 s, 2,5 GB/s
  192. ++ stat -c %s sparse
  193. ++ stat -c %s sparse.dd
  194. + test 1048576 = 1048576
  195. + printf 'a\000\000b'
  196. + printf ab
  197. + dd if=file.in bs=1 conv=sparse oflag=append
  198. 4+0 records in
  199. 4+0 records out
  200. 4 bytes (4 B) copied, 2,6855e-05 s, 149 kB/s
  201. + compare exp out
  202. + compare_dev_null_ exp out
  203. + test 2 = 2
  204. + test xexp = x/dev/null
  205. + test xout = x/dev/null
  206. + return 2
  207. + case $? in
  208. + compare_ exp out
  209. + diff -u exp out
  210. + printf ____
  211. + printf a__b
  212. + dd if=file.in bs=1 conv=sparse,notrunc of=out
  213. 4+0 records in
  214. 4+0 records out
  215. 4 bytes (4 B) copied, 6,2526e-05 s, 64,0 kB/s
  216. + compare exp out
  217. + compare_dev_null_ exp out
  218. + test 2 = 2
  219. + test xexp = x/dev/null
  220. + test xout = x/dev/null
  221. + return 2
  222. + case $? in
  223. + compare_ exp out
  224. + diff -u exp out
  225. + dd if=file.in bs=1 conv=sparse
  226. + cat
  227. 4+0 records in
  228. 4+0 records out
  229. 4 bytes (4 B) copied, 2,2997e-05 s, 174 kB/s
  230. + cmp file.in file.out
  231. + rm -f file.in
  232. + dd if=/dev/urandom of=file.in bs=1M count=3 iflag=fullblock
  233. 3+0 records in
  234. 3+0 records out
  235. 3145728 bytes (3,1 MB) copied, 0,219466 s, 14,3 MB/s
  236. + dd if=/dev/zero of=file.in bs=1M count=1 seek=1 conv=notrunc
  237. 1+0 records in
  238. 1+0 records out
  239. 1048576 bytes (1,0 MB) copied, 0,000517393 s, 2,0 GB/s
  240. ++ kb_alloc file.in
  241. ++ du -k file.in
  242. ++ cut -f1
  243. + test 4096 -gt 3000
  244. + dd if=file.in of=file.out bs=2M conv=sparse
  245. 1+1 records in
  246. 1+1 records out
  247. 3145728 bytes (3,1 MB) copied, 0,00221423 s, 1,4 GB/s
  248. ++ kb_alloc file.out
  249. ++ du -k file.out
  250. ++ cut -f1
  251. + test 2500 -lt 0
  252. + fail=1
  253. + rm -f file.out
  254. + truncate --size=3M file.out
  255. + dd if=file.in of=file.out bs=1M conv=sparse,notrunc
  256. 3+0 records in
  257. 3+0 records out
  258. 3145728 bytes (3,1 MB) copied, 0,00118191 s, 2,7 GB/s
  259. ++ kb_alloc file.out
  260. ++ du -k file.out
  261. ++ cut -f1
  262. + test 2048 -lt 2500
  263. + Exit 1
  264. + set +e
  265. + exit 1
  266. + exit 1
  267. + remove_tmp_
  268. + __st=1
  269. + cleanup_
  270. + :
  271. + cd /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23
  272. + chmod -R u+rwx /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/gt-sparse.sh.PR38
  273. + rm -rf /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/gt-sparse.sh.PR38
  274. + exit 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement