# This is the script that was used to obtain and format the Torus
# records that are used by ../t/Masterkey-Admin-Record.t. This script
# should NOT be re-run, as the test expects to find specific values
# that were in these records at the time they were retrieved.

wget -O library.xml 'http://id:id3636@mkc-torus.indexdata.com/torus2/admin.admin/records/local-117/'
xmllint -format library.xml -o library.xml
wget -O world-record.xml 'http://id:id3636@mkc-torus.indexdata.com/torus2/searchable.test_mike/world/P-5.allcon-451_research/'
xmllint -format world-record.xml -o world-record.xml
wget -O final-only.xml 'http://id:id3636@mkc-torus.indexdata.com/torus2/searchable.test_mike/records/P-5.allcon-ABC-CLIO:africanamerican/?layers=final'
xmllint -format final-only.xml -o final-only.xml
wget -O without-master.xml 'http://id:id3636@mkc-torus.indexdata.com/torus2/searchable.test_mike/records/P-5.allcon-AAP_News/?layers=original,override,master-override,final'
xmllint -format without-master.xml -o without-master.xml
wget -O with-master.xml 'http://id:id3636@mkc-torus.indexdata.com/torus2/searchable.test_mike/records/P-1.z39_50_aleph_aub_auc_dk_2100_AUB01-AUBOLINE/?layers=original,override,master-override,final'
xmllint -format with-master.xml -o with-master.xml
wget -O master.xml 'http://id:id3636@mkc-torus.indexdata.com/torus2/searchable.test_mike/masters/master-12/'
xmllint -format master.xml -o master.xml
