diff --git a/test/5.1-lpadmin.sh b/test/5.1-lpadmin.sh index 7efc398..08b8c50 100644 --- a/test/5.1-lpadmin.sh +++ b/test/5.1-lpadmin.sh @@ -52,8 +52,8 @@ echo "" echo "Add Shared Printer Test" echo "" -echo " lpadmin -p Test3 -E -v ipp://localhost:$IPP_PORT/printers/Test2 -m everywhere" -$runcups $VALGRIND ../systemv/lpadmin -p Test3 -E -v ipp://localhost:$IPP_PORT/printers/Test2 -m everywhere 2>&1 +echo " lpadmin -p Test3 -E -v ipp://127.0.0.1:$IPP_PORT/printers/Test2 -m everywhere" +$runcups $VALGRIND ../systemv/lpadmin -p Test3 -E -v ipp://127.0.0.1:$IPP_PORT/printers/Test2 -m everywhere 2>&1 if test $? != 0; then echo " FAILED" exit 1 diff --git a/test/run-stp-tests.sh b/test/run-stp-tests.sh index 173fc86..88bafb1 100755 --- a/test/run-stp-tests.sh +++ b/test/run-stp-tests.sh @@ -490,7 +490,7 @@ fi cat >$BASE/cupsd.conf <>$strfile if test $file = ../examples/ipp-2.1.test; then - uri="ipp://localhost:$port/printers/Test1" + uri="ipp://127.0.0.1:$port/printers/Test1" options="-V 2.1 -d NOPRINT=1 -f testfile.ps" else - uri="ipp://localhost:$port/printers" + uri="ipp://127.0.0.1:$port/printers" options="" fi $runcups $VALGRIND ../tools/ipptool -tI $options $uri $file >> $strfile