projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix three typos in sources & manpages
[apt.git]
/
test
/
integration
/
test-apt-get-source-authenticated
diff --git
a/test/integration/test-apt-get-source-authenticated
b/test/integration/test-apt-get-source-authenticated
index 685bc566b98e2e2306719232098ca698703c22fd..40710d5d69c795e1683e2d5b0d7feb699a45219e 100755
(executable)
--- a/
test/integration/test-apt-get-source-authenticated
+++ b/
test/integration/test-apt-get-source-authenticated
@@
-1,13
+1,13
@@
#!/bin/sh
#
# Regression test for debian bug #749795. Ensure that we fail with
#!/bin/sh
#
# Regression test for debian bug #749795. Ensure that we fail with
-# a error if apt-get source foo will download a source that comes
+# a
n
error if apt-get source foo will download a source that comes
# from a unauthenticated repository
#
set -e
# from a unauthenticated repository
#
set -e
-TESTDIR=
$(readlink -f $(dirname $0))
-.
$TESTDIR/framework
+TESTDIR=
"$(readlink -f "$(dirname "$0")")"
+.
"$TESTDIR/framework"
setupenvironment
configarchitecture "i386"
setupenvironment
configarchitecture "i386"
@@
-17,8
+17,8
@@
buildsimplenativepackage 'foo' 'all' '2.0'
setupaptarchive --no-update
setupaptarchive --no-update
-APTARCHIVE=
$(readlink -f ./aptarchive)
-rm -f $APTARCHIVE/dists/unstable/*Release*
+APTARCHIVE=
"$(readlink -f ./aptarchive)"
+find "$APTARCHIVE/dists/unstable" -name '*Release*' -delete
# update without authenticated InRelease file
testwarning aptget update --allow-insecure-repositories
# update without authenticated InRelease file
testwarning aptget update --allow-insecure-repositories