summaryrefslogtreecommitdiff
path: root/test/setup-test-data
blob: 1bcae261ea79b60600ff38c27fa4dcf75742eb40 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# This script ensures that the test data is owned by root.

set -e

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