aboutsummaryrefslogtreecommitdiff
path: root/paludis/set_file_TEST_setup.sh
blob: eb212f69e006eaa4b11e8ebd7bad8c505aab066b (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
33
34
35
#!/usr/bin/env bash
# vim: set ft=sh sw=4 sts=4 et :

mkdir set_file_TEST_dir || exit 2
cd set_file_TEST_dir

cat <<"END" > simple1
# this is a comment
  
foo/bar
  >=bar/baz-1.23

  # the end
END

cat <<"END" > paludisconf1
# this is a comment
  
? foo/bar
  * >=bar/baz-1.23

* set
? settee

  # the end
END

cat <<"END" > override
? foo/foo
* >=bar/bar-1.23
? >=baz/baz-1.23
* set
* set2*
END