diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-11-26 14:11:14 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-11-26 14:11:14 +0300 |
commit | cf9383412494964d6188fcf08a362c0c0f313afc (patch) | |
tree | bd9e6a5b3a63cbb155b81112c855c19cb5f2b314 /debian/tests/data/README | |
download | perl-cf9383412494964d6188fcf08a362c0c0f313afc.tar.gz |
Import perl (5.30.0-9)debian/5.30.0-9debian
Diffstat (limited to 'debian/tests/data/README')
-rw-r--r-- | debian/tests/data/README | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/tests/data/README b/debian/tests/data/README new file mode 100644 index 0000000..919bc8b --- /dev/null +++ b/debian/tests/data/README @@ -0,0 +1,13 @@ +Commands to regenerate these files, to be run in corresponding chroots + +# echo stretch OK | gzip -c > stretch.gz + +# echo stretch OK | bzip2 -c > stretch.bz2 + +# perl -MDB_File -e '$d = shift; tie %h, q(DB_File), "$d.db", O_WRONLY|O_CREAT , 0640 or die "opening DB file failed: $!"; $h{foo} = "$d OK"; untie %h' stretch + +# perl -MGDBM_File -e '$d = shift; tie %h, q(GDBM_File), "$d.gdbm", &GDBM_WRCREAT, 0640 or die "opening GDBM file failed: $!"; $h{foo} = "$d OK"; untie %h' stretch + +# perl -MFcntl -MNDBM_File -e '$d = shift; tie %h, q(NDBM_File), "$d", O_RDWR|O_CREAT, 0640 or die "opening NDBM file failed: $!"; $h{foo} = "$d OK"; untie %h' stretch + +# perl -MStorable=nstore -e '$d=shift; $h{foo}="$d OK"; nstore \%h, "$d.storable"' stretch |