]> git.saurik.com Git - apt.git/blobdiff - test/integration/framework
various small additional tests and testcases
[apt.git] / test / integration / framework
index d28085ee4c851b42aba62c095f6360bb0eaa0243..c9f62c141507f2bb71bbc9f9ad91ca943dac5177 100644 (file)
@@ -300,7 +300,7 @@ getarchitecture() {
 }
 
 getarchitectures() {
-       echo "$(aptconfig dump | grep APT::Architecture | cut -d'"' -f 2 | sed '/^$/ d' | sort | uniq | tr '\n' ' ')"
+       aptconfig dump --no-empty --format '%v%n' APT::Architecture APT::Architectures | sort -u | tr '\n' ' '
 }
 
 getarchitecturesfromcommalist() {