mirror of https://github.com/lukechilds/chest.git
Luke Childs
9 years ago
6 changed files with 37 additions and 1 deletions
@ -0,0 +1 @@ |
|||
test-folder-* |
@ -0,0 +1,16 @@ |
|||
random_string() { |
|||
local length="$1"; |
|||
env LC_CTYPE=C tr -dc "a-zA-Z0-9" < /dev/urandom | head -c "$length" |
|||
} |
|||
|
|||
create_dummy_folders() { |
|||
local folder="$1"; |
|||
mkdir -p "$folder" |
|||
touch "$folder/foo" |
|||
touch "$folder/bar" |
|||
} |
|||
|
|||
teardown() { |
|||
# Remove any leftover temp folders |
|||
rm -rf test-folder-* |
|||
} |
@ -0,0 +1 @@ |
|||
chest_dir="${HOME}/.chest" |
Loading…
Reference in new issue