Debian Codegraph @

debian/tests/data/README

raw
1 Commands to regenerate these files, to be run in corresponding chroots
2
3 # echo stretch OK | gzip -c > stretch.gz
4
5 # echo stretch OK | bzip2 -c > stretch.bz2
6
7 # 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
8
9 # 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
10
11 # 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
12
13 # perl -MStorable=nstore -e '$d=shift; $h{foo}="$d OK"; nstore \%h, "$d.storable"' stretch