summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/files/artifact/cruft-general-wig-pen/build-spec/pre-build
blob: 78f359c4c354542438238b4fc02fc4eaf2b758be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh
#
# Create all the various junk that shouldn't exist in the diff so that we can
# trigger all the tags.

set -e
dir="$1/debian"

mkdir "${dir}/CVS"
echo 'diff-contains-cvs-control-dir' > "${dir}/CVS/Entries"
mkdir "${dir}/.svn"
echo 'diff-contains-svn-control-dir' > "${dir}/.svn/format"
mkdir "${dir}/.bzr"
echo 'diff-contains-bzr-control-dir' > "${dir}/.bzr/foo"
mkdir "${dir}/{arch}"
echo 'diff-contains-arch-control-dir' > "${dir}/{arch}/foo"
mkdir "${dir}/.git"
echo 'diff-contains-git-control-dir' > "${dir}/.git/foo"
mkdir "${dir}/.hg"
echo 'diff-contains-hg-control-dir' > "${dir}/.hg/foo"
mkdir "${dir}/.be"
echo 'diff-contains-bts-control-dir' > "${dir}/.be/foo"

echo 'diff-contains-cmake-cache-file' > "${dir}/CMakeCache.txt"
echo 'diff-contains-svn-commit-file' > "${dir}/svn-commit.tmp"
echo 'diff-contains-svk-commit-file' > "${dir}/svk-commit444.tmp"
echo 'diff-contains-arch-inventory-file' > "${dir}/.arch-inventory"
echo 'diff-contains-hg-tags-file' > "${dir}/.hgtags"
echo 'diff-contains-cvs-conflict-copy' > "${dir}/.#foo.1.1"
echo 'diff-contains-svn-conflict-file' > "${dir}/foo.r1352"
echo 'diff-contains-patch-failure-file' > "${dir}/foo.rej"
echo 'diff-contains-editor-backup-file' > "${dir}/foo~"