File: get-test-data

package info (click to toggle)
xpore 2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 83,008 kB
  • sloc: python: 1,439; sh: 48; makefile: 19
file content (7 lines) | stat: -rwxr-xr-x 374 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/sh

wget https://zenodo.org/record/5162402/files/demo.tar.gz
tar -xvf demo.tar.gz
tarball=$(dpkg-parsechangelog --file ../changelog | awk '/^Source:/ {print $2}')_$(dpkg-parsechangelog --file ../changelog | awk '/^Version:/ {print $2}' | cut -f1 -d-).orig-debian-tests-data.tar.gz
tar --owner=root --group=root --mode=a+rX -caf $tarball demo
rm -rf demo.tar.gz demo/