Merge pull request #1128 from aurutils/depends-pm
[aurutils.git] / tests / issue / 0636
blob51a90920036b9b33cf2bf43de8859de8d159de45
1 #!/bin/bash
2 set -e
4 tmp=$(mktemp -d)
5 trap 'rm -rf -- "$tmp"' EXIT
6 pkg1=aurutils
7 pkg2=aurutils-git
9 # expected: exit 0
10 env -C "$tmp" -u XDG_CONFIG_HOME -u AUR_LOCATION AUR_ENV=/dev/null aur fetch "$pkg1" "$pkg2"
12 # expected: cloned repositories (x2)
13 ls "$tmp/$pkg1/.git"
14 ls "$tmp/$pkg2/.git"
16 # vim: set et sw=4 sts=4 ft=sh:\n