b9b6640fa7
Adding a test function which allows us to use elements to perform element-specific tests. In order for this to work sanely, also adding some configuration to our break system so we can assert on negative tests. Also adding a test for apt-sources to verify this code actually works. Change-Id: I378a74255010eca192f5766b653f8a42404be5ea
9 lines
128 B
Bash
Executable file
9 lines
128 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
echo "testdata" > $DIB_APT_SOURCES
|