Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 334988 Details for
Bug 451082
distutils-r1: finding a better image merging method
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Version compatible with FreeBSD
cp-testcase.bash (text/plain), 682 bytes, created by
Michał Górny
on 2013-01-09 20:04:44 UTC
(
hide
)
Description:
Version compatible with FreeBSD
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2013-01-09 20:04:44 UTC
Size:
682 bytes
patch
obsolete
>#!/usr/bin/env bash > >set -e > >workdir=$(mktemp -d "${TMPDIR:-/tmp}"/cpXXXXXX) >par=${$} > >trap 'rm -rf "${workdir}"' EXIT > ># create a lot of directories for testing >mkdir -p "${workdir}"/in/{a,b,c,d,e,f}/{1,2,3,4,5,6}/{a,b,c,d,e,f}/{1,2,3,4,5,6} ># and files >touch "${workdir}"/in/{a,b,c,d,e,f}/{1,2,3,4,5,6}/{a,b,c,d,e,f}/{1,2,3,4,5,6}/{a,b,c,d,e,f} > >mkdir "${workdir}"/out > >pids=() > >for i in {1..10}; do > ( ># tar -C "${workdir}"/in -f - -c . | tar -x -f - -C "${workdir}"/out > cp -a "${workdir}"/in/. "${workdir}"/out/ > ) & > > pids+=( ${!} ) >done > >ret=() > >for pid in ${pids[@]}; do > wait ${pid} && ret+=( 0 ) || ret+=( ${?} ) >done > >diff -dupr "${workdir}"/{in,out} > >echo "${ret[@]}"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 451082
:
334986
| 334988 |
335106