Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + . ./tests/init.sh
- +++ expr ././tests/dd/sparse.sh : '.*/\(.*\)$'
- ++ ME_=sparse.sh
- ++ : 2
- ++ DUALCASE=1
- ++ export DUALCASE
- ++ test -n ''
- ++ case `(set -o) 2>/dev/null` in
- ++ set -o posix
- ++ gl_shell_test_script_='
- test $(echo y) = y || exit 1
- score_=10
- if test "$VERBOSE" = yes; then
- test -n "$( (exec 3>&1; set -x; P=1 true 2>&3) 2> /dev/null)" && score_=9
- fi
- test -z "$EXEEXT" && exit $score_
- shopt -s expand_aliases
- alias a-b="echo zoo"
- v=abx
- test ${v%x} = ab \
- && test ${v#a} = bx \
- && test $(a-b) = zoo \
- && exit $score_
- '
- ++ test x = x--no-reexec
- ++ gl_set_x_corrupts_stderr_=false
- ++ export gl_set_x_corrupts_stderr_
- ++ marginal_=
- ++ for re_shell_ in __current__ '"${CONFIG_SHELL:-no_shell}"' /bin/sh bash dash zsh pdksh fail
- ++ test __current__ = no_shell
- ++ test __current__ = fail
- ++ test __current__ = __current__
- ++ st_=10
- ++ test 10 = 10
- ++ gl_set_x_corrupts_stderr_=false
- ++ break
- ++ test __current__ '!=' __current__
- ++ test -n '4.3.33(1)-release'
- ++ unalias -a
- ++ test -n ''
- ++ : 87
- ++ export MALLOC_PERTURB_
- +++ exec
- ++ diff_out_=
- ++ diff -u Makefile ./tests/dd/sparse.sh
- ++ grep '^[+]#!'
- ++ test -z ''
- ++ test -f ./init.cfg
- ++ . ./init.cfg
- +++ stderr_fileno_=9
- +++ sanitize_path_
- +++ local 'saved_IFS=
- '
- +++ IFS=:
- +++ set -- /home/seblu/bin /usr/local/sbin /usr/local/bin /usr/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl
- +++ IFS='
- '
- +++ local d d1
- +++ local colon=
- +++ local new_path=
- +++ for d in '"$@"'
- +++ test -z /home/seblu/bin
- +++ d1=/home/seblu/bin
- +++ ls -d /home/seblu/bin/.
- +++ new_path=/home/seblu/bin
- +++ colon=:
- +++ for d in '"$@"'
- +++ test -z /usr/local/sbin
- +++ d1=/usr/local/sbin
- +++ ls -d /usr/local/sbin/.
- +++ new_path=/home/seblu/bin:/usr/local/sbin
- +++ colon=:
- +++ for d in '"$@"'
- +++ test -z /usr/local/bin
- +++ d1=/usr/local/bin
- +++ ls -d /usr/local/bin/.
- +++ new_path=/home/seblu/bin:/usr/local/sbin:/usr/local/bin
- +++ colon=:
- +++ for d in '"$@"'
- +++ test -z /usr/bin
- +++ d1=/usr/bin
- +++ ls -d /usr/bin/.
- +++ new_path=/home/seblu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin
- +++ colon=:
- +++ for d in '"$@"'
- +++ test -z /usr/bin/site_perl
- +++ d1=/usr/bin/site_perl
- +++ ls -d /usr/bin/site_perl/.
- +++ new_path=/home/seblu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl
- +++ colon=:
- +++ for d in '"$@"'
- +++ test -z /usr/bin/vendor_perl
- +++ d1=/usr/bin/vendor_perl
- +++ ls -d /usr/bin/vendor_perl/.
- +++ new_path=/home/seblu/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl
- +++ colon=:
- +++ for d in '"$@"'
- +++ test -z /usr/bin/core_perl
- +++ d1=/usr/bin/core_perl
- +++ ls -d /usr/bin/core_perl/.
- +++ 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
- +++ colon=:
- +++ for d in /sbin /usr/sbin
- +++ case ":$new_path:" in
- +++ 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
- +++ for d in /sbin /usr/sbin
- +++ case ":$new_path:" in
- +++ 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
- +++ 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
- +++ export PATH
- ++ setup_
- ++ test '' = yes
- ++ initial_cwd_=/var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23
- ++ fail=0
- +++ testdir_prefix_
- +++ printf gt
- ++ pfx_=gt
- +++ mktempd_ /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23 gt-sparse.sh.XXXX
- +++ case $# in
- +++ destdir_=/var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23
- +++ template_=gt-sparse.sh.XXXX
- +++ MAX_TRIES_=4
- +++ case $destdir_ in
- +++ case $template_ in
- ++++ unset TMPDIR
- +++ d=/var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/gt-sparse.sh.PR38
- +++ case $d in
- +++ test -d /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/gt-sparse.sh.PR38
- ++++ ls -dgo /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/gt-sparse.sh.PR38
- ++++ tr S -
- +++ 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'
- +++ case $perms in
- +++ test 0 = 0
- +++ echo /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/gt-sparse.sh.PR38
- +++ return
- ++ test_dir_=/var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/gt-sparse.sh.PR38
- ++ cd /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/gt-sparse.sh.PR38
- ++ gl_init_sh_nl_='
- '
- ++ IFS='
- '
- ++ for sig_ in 1 2 3 13 15
- +++ expr 1 + 128
- ++ eval 'trap '\''Exit 129'\'' 1'
- +++ trap 'Exit 129' 1
- ++ for sig_ in 1 2 3 13 15
- +++ expr 2 + 128
- ++ eval 'trap '\''Exit 130'\'' 2'
- +++ trap 'Exit 130' 2
- ++ for sig_ in 1 2 3 13 15
- +++ expr 3 + 128
- ++ eval 'trap '\''Exit 131'\'' 3'
- +++ trap 'Exit 131' 3
- ++ for sig_ in 1 2 3 13 15
- +++ expr 13 + 128
- ++ eval 'trap '\''Exit 141'\'' 13'
- +++ trap 'Exit 141' 13
- ++ for sig_ in 1 2 3 13 15
- +++ expr 15 + 128
- ++ eval 'trap '\''Exit 143'\'' 15'
- +++ trap 'Exit 143' 15
- ++ trap remove_tmp_ 0
- + path_prepend_ ./src
- + test 1 '!=' 0
- + path_dir_=./src
- + case $path_dir_ in
- + abs_path_dir_=/var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/./src
- + case $abs_path_dir_ in
- + 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
- + create_exe_shims_ /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/./src
- + case $EXEEXT in
- + return 0
- + shift
- + test 0 '!=' 0
- + export PATH
- + print_ver_ dd
- + test '' = yes
- + require_sparse_support_
- + test 0 = 0
- + t=sparse.26659
- + dd bs=1 seek=128K of=sparse.26659
- ++ du -sk sparse.26659
- + set x 0 sparse.26659
- + kb_size=0
- + rm -f sparse.26659
- + test 0 -ge 128
- + truncate -s1M sparse
- + dd bs=32K if=sparse of=sparse.dd conv=sparse
- 32+0 records in
- 32+0 records out
- 1048576 bytes (1,0 MB) copied, 0,000423392 s, 2,5 GB/s
- ++ stat -c %s sparse
- ++ stat -c %s sparse.dd
- + test 1048576 = 1048576
- + printf 'a\000\000b'
- + printf ab
- + dd if=file.in bs=1 conv=sparse oflag=append
- 4+0 records in
- 4+0 records out
- 4 bytes (4 B) copied, 2,6855e-05 s, 149 kB/s
- + compare exp out
- + compare_dev_null_ exp out
- + test 2 = 2
- + test xexp = x/dev/null
- + test xout = x/dev/null
- + return 2
- + case $? in
- + compare_ exp out
- + diff -u exp out
- + printf ____
- + printf a__b
- + dd if=file.in bs=1 conv=sparse,notrunc of=out
- 4+0 records in
- 4+0 records out
- 4 bytes (4 B) copied, 6,2526e-05 s, 64,0 kB/s
- + compare exp out
- + compare_dev_null_ exp out
- + test 2 = 2
- + test xexp = x/dev/null
- + test xout = x/dev/null
- + return 2
- + case $? in
- + compare_ exp out
- + diff -u exp out
- + dd if=file.in bs=1 conv=sparse
- + cat
- 4+0 records in
- 4+0 records out
- 4 bytes (4 B) copied, 2,2997e-05 s, 174 kB/s
- + cmp file.in file.out
- + rm -f file.in
- + dd if=/dev/urandom of=file.in bs=1M count=3 iflag=fullblock
- 3+0 records in
- 3+0 records out
- 3145728 bytes (3,1 MB) copied, 0,219466 s, 14,3 MB/s
- + dd if=/dev/zero of=file.in bs=1M count=1 seek=1 conv=notrunc
- 1+0 records in
- 1+0 records out
- 1048576 bytes (1,0 MB) copied, 0,000517393 s, 2,0 GB/s
- ++ kb_alloc file.in
- ++ du -k file.in
- ++ cut -f1
- + test 4096 -gt 3000
- + dd if=file.in of=file.out bs=2M conv=sparse
- 1+1 records in
- 1+1 records out
- 3145728 bytes (3,1 MB) copied, 0,00221423 s, 1,4 GB/s
- ++ kb_alloc file.out
- ++ du -k file.out
- ++ cut -f1
- + test 2500 -lt 0
- + fail=1
- + rm -f file.out
- + truncate --size=3M file.out
- + dd if=file.in of=file.out bs=1M conv=sparse,notrunc
- 3+0 records in
- 3+0 records out
- 3145728 bytes (3,1 MB) copied, 0,00118191 s, 2,7 GB/s
- ++ kb_alloc file.out
- ++ du -k file.out
- ++ cut -f1
- + test 2048 -lt 2500
- + Exit 1
- + set +e
- + exit 1
- + exit 1
- + remove_tmp_
- + __st=1
- + cleanup_
- + :
- + cd /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23
- + chmod -R u+rwx /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/gt-sparse.sh.PR38
- + rm -rf /var/lib/archbuild/seblu-x86_64/seblu/build/coreutils/src/coreutils-8.23/gt-sparse.sh.PR38
- + exit 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement