tarback/tests/common.sh
redxef 482da4b833
Add tests.
Fix single-file archiving.
2023-06-07 13:21:53 +02:00

10 lines
235 B
Bash
Executable file

#!/bin/sh
create_directories() {
workdir="$(mktemp -d)"
mkdir -p "$workdir/source"
mkdir -p "$workdir/dest"
mkdir -p "$workdir/restore"
echo 'Hello World!' > "$workdir/source/hello_world.txt"
echo "$workdir"
}