tests/test_debs.sh: verify that autoconfig.functions can be read, otherwise fail
[grml-autoconfig.git] / tests / test_debs.sh
index a1f5aa3..022d241 100755 (executable)
@@ -15,8 +15,8 @@ dpkg() {
 }
 
 test_debs() {
-    . ../autoconfig.functions
-    CMDLINE='debs=*'
+    . ../autoconfig.functions || exit 1
+    CMDLINE='debs'
     INSTALLED=''
 
     TMPDIR=$(mktemp -d)
@@ -25,6 +25,8 @@ test_debs() {
     mkdir -p "$DEB_DIR"
     touch "$DEB_DIR"/{1..$EXPECTED_COUNT}.deb
 
+    einfo() { echo "$*"; }
+    eend() { echo ; }
     config_debs
 
     rm -rf "$TMPDIR"