The testbot test script does not pass the name of the project to
foundry_context_new(), causing the created contexts to have no name.
This commit fixes test.sh so that the name of the repository is
passed as the project name to foundry_context_new().
local endpoint
local testreq
local context
+ local package
+
+ package="${repository##*/}"
if ! endpoint=$(ipc_endpoint_open); then
log_error "Could not open IPC endpoint"
return 1
fi
- if ! context=$(foundry_context_new); then
+ if ! context=$(foundry_context_new "$package"); then
log_error "Could not make a new foundry context"
return 1
fi