tarback/tests/common.sh

11 lines
235 B
Bash
Raw Normal View History

2023-06-07 13:21:53 +02:00
#!/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"
}