testing/shunit2: Remove (incorrect) shell globing

The test framework of shunit2 needs to have the TMPDIR variable set
correctly. As we want to ensure we scope the temporary directory
properly, lets create our own temporary path using mktemp and pass this
to shunit2. We can now cleanly remove whatever is in this path.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
5 jobs for !300 with shunit2 in 2 minutes and 21 seconds (queued for 1 second)
detached
Status Job ID Name Coverage
  Lint
failed #2358
docker-alpine x86_64 allowed to fail
lint

00:00:20

 
  Build
passed #2362
docker-alpine ci-build ppc64le
build-ppc64le

00:00:40

passed #2361
docker-alpine ci-build s390x
build-s390x

00:01:59

passed #2360
docker-alpine ci-build x86
build-x86

00:00:44

passed #2359
docker-alpine ci-build x86_64
build-x86_64

00:00:48

 
Name Stage Failure
failed
lint Lint
No job log