Hi there, The first one, thanks a lots for your reply. That so great when you explained the way to write a test case for javascript-common! But actually, my main meaning "do you know some other tools to test package working like autopkgtest?"
-----Original Message----- From: Paolo Greppi [mailto:[email protected]] Sent: Friday, June 29, 2018 8:32 PM To: [email protected] Cc: [email protected] Subject: Re: [Pkg-javascript-devel] javascript-common debian9 testing questions Il 29/06/2018 08:56, Nguyen Van Long ha scritto: > Dear javascript-common maintainers, > > Im trying to testing how to javascript-common package work on debian9. > > So my questions are: > 1. Currently, are there existing any way/support to test in javascript-common source package? > 2. Can you suggest some tools like autopkgtest to test javascript-common or even other packages? > I would be very grateful to receive your reply as soon as you can. > > Thank you and best regards, > > LongNV > > ---------------------------------------------------------------------------- ---------- > > Long Nguyen Van (Mr.) > > CMC out sourcer in Toshiba Software Development (Vietnam) Co., Ltd 13th Floor, VIT Building, 519 Kim Ma street, Ba Dinh District, Hanoi,Vietnam > > Tel : +84-166 3085 890 > Email: [email protected] Hi Long and welcome to the list ! If you want to test this package youd'need to configure one of the supported browsers (apache2 and lighttpd, nginx is pending see https://bugs.debian.org/818585) to pull the configuration snippet that the package installs (i.e. /etc/apache2/conf-available/javascript-common.conf, /etc/lighttpd/conf-available/90-javascript-alias.conf and possibly /etc/nginx/snippets/javascript-common.conf). Those snippets are not enabled by default so you need to perform specific steps for the browser(s) you want to test, see the file /usr/share/doc/javascript-common/README.Debian for guidance. You'd then install one of the libjs-xxx packages and finally curl http://localhost/javascript/package/libxxx.js If that returns 200, test passes. It'd be nontrivial to do all that with an autopkgtest, but it should be possible. Try writing a shell script that does the dance first, then we'll see how to feed it to autopkgtest. Paolo -- This mail was scanned by BitDefender For more information please visit http://www.bitdefender.com -- Pkg-javascript-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
