repo.or.cz
/
aurutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #1128 from aurutils/depends-pm
[aurutils.git]
/
tests
/
issue
/
0636
blob
51a90920036b9b33cf2bf43de8859de8d159de45
1
#!/bin/bash
2
set -e
3
4
tmp
=
$
(
mktemp
-d
)
5
trap
'rm -rf -- "
$tmp
"'
EXIT
6
pkg1
=
aurutils
7
pkg2
=
aurutils-git
8
9
# expected: exit 0
10
env
-C
"
$tmp
"
-u
XDG_CONFIG_HOME
-u
AUR_LOCATION AUR_ENV
=/
dev
/
null aur fetch
"
$pkg1
"
"
$pkg2
"
11
12
# expected: cloned repositories (x2)
13
ls
"
$tmp
/
$pkg1
/.git"
14
ls
"
$tmp
/
$pkg2
/.git"
15
16
# vim: set et sw=4 sts=4 ft=sh:\n