1
# Make sure we correctly bubble up an error message from
2
# DuplicityInstance.start(). In this case, an error about spawning duplicity.
6
# Delete mockscript ourselves, because the runner will notice that it is still
7
# there and fail. Since we never run our mock duplicity, it is never cleaned
8
# naturally. Also symlink python3 since the mock duplicity needs it
9
Script=mkdir -p @TEST_HOME@/mockcopy && cp -r @MOCK_DIR@/* @TEST_HOME@/mockcopy && ln -s `which python3` @TEST_HOME@/mockcopy/python3
10
Path=@TEST_HOME@/mockcopy
12
Error=Failed to execute child process "duplicity" (No such file or directory)
18
# We let duplicity go for one operation to let it get initialized (i.e. we
19
# don't want to mess up any of its early calls like --version).
20
# Also clean the mockscript out since our mock won't be doing it.
21
Script=/bin/rm @TEST_HOME@/mockcopy/duplicity @TEST_HOME@/mockscript