File: setup-test-data.cmake

package info (click to toggle)
schroot 1.6.13-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,628 kB
  • sloc: cpp: 21,758; sh: 1,019; ansic: 231; makefile: 77
file content (8 lines) | stat: -rwxr-xr-x 231 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
#!/bin/sh
# This script ensures that the test data is owned by root.

rm -rf test/testdata
mkdir test/testdata
cp -r ${PROJECT_SOURCE_DIR}/test/*.ex* test/testdata
mkdir test/testdata/run-parts.ex2
chown -R root:root test/testdata