Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [testing]

exercising features of software to check that they are working correctly

0
votes
0answers
11 views

Alternative testing tools to use instead of Chromium DevTools

I'm trying to get statistics about web interface usability on chromium on a system that has limited memory (2GB ram, no swap due to real time kernel constraints). Right now, the UI is barely usable, ...
0
votes
0answers
10 views

Executing UI test cases from Jenkins

We have test suite which is basically a jar file and can be executed like the following java -jar test_suite.jar Which then opens up a browser in GNome Environment and runs through the set of test ...
0
votes
1answer
759 views

SSH login without password and without keys [duplicate]

Is it possible to configure a user to login via SSH without password and without using keys. Just typing "ssh user@server". I have tried some modifications with Match User and with AllowUsers in /...
1
vote
2answers
765 views

Handling unused getopts argument (are options not mandatory?)

I have a script that starts with getopts and looks as follows: USAGE() { echo -e "Usage: bash $0 [-w <in-dir>] [-o <out-dir>] [-c <template1>] [-t <template2>] \n" 1>&2;...
3
votes
1answer
1k views

How to revert Debian from testing to stable?

I have a PC that is used not so often. Like half a year ago someone changed its repositories from stable to testing and updated/upgraded. After that no one updated or upgraded. Can I change in /etc/...
4
votes
0answers
208 views

Stress testing storage media — file vs block?

While looking for ways to stress an SDcard, I've noticed there are two ways one can approach this. One is to stress it by reading/writing blocks directly to the device file. For example: sudo ...
0
votes
0answers
39 views

Chef test shows nginx enabled and running service --status-all doesn't show it at all

I am trying to run a chef verify test and the test is showing nginx is enabled and running using this code: describe service('nginx') do it { should be_enabled } it { should be_running } end It ...
0
votes
1answer
33 views

How to pull a single (or few) packages from Debian testing to Debian oldstable?

Is this possible? I'm looking to install specific packages from Debian testing (buster) into Debian oldstable (jessie).
4
votes
0answers
294 views

How to mesure the latency of thread switching

I'm learning how to test the performance of a unix-like system. I've found a tool to measure the context switching time: http://www.bitmover.com/lmbench/lat_ctx.8.html Now I want to know if it is ...
1
vote
1answer
57 views

Is it possible to monitor each cell memory for a specific process

Saying that I have a very simple C program test.c, which just prints "hello world", its name is a.out coming from gcc test.c. I'm thinking if it's possible to monitor exactly what happened while ...
0
votes
1answer
99 views

rm -rf destroyed directories of the files set to be deleted (multiple arguments)

In a testing environment I executed: rm -rf /var/www/html/${domain} /etc/nginx/sites-available/${domain} /etc/nginx/sites-enabled/${domain} The result was that html, sites-available and sites-...
0
votes
2answers
28 views

Program to instantly host a mysql database from a dump file [closed]

I'm looking for a utility program which can take a dump of a mysql database and basically host a "fake" or minimal mysql server with that data for testing another program which requires it. Has ...
0
votes
0answers
195 views

Test network with DHCPDISCOVER without DHCPREQUEST

While starting a portable OS Linux, I need to test all available network interfaces with DHCPDISCOVER. Then, judging on the response DHCPOFFER, I do the choose of the correct interface and ask the ...
0
votes
0answers
56 views

How to reproduce logs about desktop freezing on second-click in Debian Stretch Gnome Wayland?

I experienced the following event after using Wayland 1 H first time. Do Use the laptop one hour, close the lid, and use again etc. second click on any PDF file. choose open with some application. ...
1
vote
1answer
76 views

Mail server to receive all mail to file system

We are developing a system that sends a lot of e-mails. For our testing purposes we would like to set up a mail server (smarthost) that accepts ALL mail to ALL domains, and then simply saves the mails ...
0
votes
1answer
707 views

Mitmproxy vs BurpSuite [closed]

I searched in google a lot, but I didn't find any solution. I know mitmproxy, but I don't know burpsuite. Is both same, or do they perform different tasks? Thank you.
4
votes
2answers
1k views

How to detect process's highest cpu usage during it's life

I've written some multi-thread test, and now I want to be sure that the highest CPU usage of this test is equal to 100 * CPU_NUMBER of current machine. Is it possible to do? UPD 0: I'm talking about ...
0
votes
4answers
159 views

Intentionally create a graphical process that does not respond to `_NET_WM_PING`

Sometimes I am curious how a window manager treats an application that does not respond to _NET_WM_PING, e.g. that pop-up that says "Do you want to terminate this application?" This is useful for ...
0
votes
1answer
2k views

Android Studio: Running application in emulator not working

Yesterday I downloaded Android Studio for my Debian Testing system. I wanted to run a HelloWorld application (just a blank activity) but weren't able to run it. With adb I can install it without ...
3
votes
2answers
1k views

Access https web page via Firefox/Chrome from command line

Is there a way to download a web page in a fashion similar to curl/wget, but via Firefox/Chrome instead? I'm using GNU/Linux. I want to be able to do this exclusively from the command line, so that I ...
1
vote
0answers
39 views

Way to have a TCP/UDP echo on range of ports

Is there some quick command or thing I can do to make system basically echo or chargen on a large range tcp or udp ports? I am trying to play around with and learn more about nftables, and one thing ...
1
vote
2answers
68 views

Test SSH configuration without risking losing remote access

I recently misconfigured an ssh file while messing with ciphers, knocking down remote control until I could access the computer locally and fix it. I was wondering if there was a way to prevent this ...
0
votes
4answers
406 views

How can we predict when the next Debian release will be out?

Is there a way to predict when the next release will be out? I read somewhere that it has to do with number of bugs remaining in the testing branch. Could someone please explain how this works and ...
3
votes
2answers
2k views

Problems installing gcc-6 in debian jessie

I was updating gcc to the version in the testing repository of debian; in the middle of the update, it recommends me to stop the postgres service and it gave me the option to stop the installation. I ...
1
vote
1answer
647 views

Does fio corrupt file system (XFS on mdadm, RAID10)?

I'm doing some intensive testing on a mdadm (software RAID) partition made of 6 SSDs using fio (Ubuntu 16.10 Server). The partition was formatted using XFS, is unmounted during tests, contains no ...
1
vote
1answer
33 views

Alternate source for a package removed from a testing or unstable repo

https://tracker.debian.org/pkg/php-mongo php-mongo 1.6.10-1 has been removed from unstable and testing and I was using it in a VM to maintain some legacy code. When I came to provision another VM ...
0
votes
1answer
152 views

How to test command-line utilities for performance? [closed]

This question is somewhat related to another one on AskUbuntu, where OP asked how to decide which command to use , sed or tail. So far, all the answers have focused on using either looping in bash or ...
0
votes
0answers
70 views

Can I try to induce a freeze in my computer to isolate what is causing freezing?

Lately I have experienced some freezes in my laptop (Acer Aspire V 11 Touch). In all cases there were neither high loads at stake nor alleged programs (once I was even typing around simple commands in ...
1
vote
1answer
79 views

How do I test an untrusted GUI application? [closed]

Not all applications we run come from trusted repos. Sometimes we get a package .deb, .rpm, .tar, etc. that contains an application we do not trust completely trust. I'm talking slight distrust, not ...
1
vote
1answer
120 views

Problem understanding FTester syntax

I want to test my firewall with the tool ftest in Kali Linux aka FTester. My both hosts are Debian systems with iptables as firewall/packet filter. When sending packets from one host to the other, I ...
2
votes
1answer
70 views

Distribution and configuration of linux for performance testing of system [closed]

I need to run performance testing of database systems using C++ client (console). C++ client and database system should be run on the same computer under Linux. Unfortunately my main system is Windows ...
2
votes
1answer
660 views

Test upstart script without reboot

Is there a way test an upstart script without rebooting the system ? I am working on a system that I really don't want to reboot - yet I want to be reasonably sure that my newly written upstart ...
0
votes
1answer
459 views

Does Simulating mdadm failure require rebuilding entire Array? mdadm -manage -set-faulty

Based on this Article and a few similar others I see how to simulate a mdadm failure, but it seems it's going to require a rebuild of my array. I don't want to give it that much IO and also it took ...
0
votes
2answers
447 views

System Testing tool for Arch Linux

I want to test my hardware function and find errors. Is there any System Testing tool available for Arch Linux with GNOME 3.20 ? On Ubuntu , I was using Checkbox-qt to test all the Input/Output ...
2
votes
0answers
298 views

list of wpa_supplicant error messages

I'm trying to write a test to debug a network manager that utilises wpa_supplicant but I'm having a hard time finding a list of error messages that I can expect for CTRL-EVENT-SSID-TEMP-DISABLED ...
0
votes
1answer
39 views

Checking that $((a * b)) evaluates in my own shell [closed]

POSIX seems to define that a shell should be able to evaluate like a calculator the expression $(( a * b)) where * is a binary operator +, - or *. I programmed such a calculator for my own shell and ...
0
votes
1answer
168 views

set swap space to 0 on RHEL for testing

I have tried to change the swappiness to 100, and used the malloc() code in order to set the swap to 0 on my rhel system But this not seem to be helpful . The system memory allocation looks like this :...
0
votes
0answers
33 views

How to test if a command is installed? [duplicate]

For example, if I'm writing a shell script which: depends completely on a specific command being available/installed, or is intended to make use of a specific command if it is available (and struggle ...
1
vote
1answer
469 views

How to give write / create right to not yet existing files w/o write access of the parent directory?

I don't know if this is even possible so I need to ask. I'd like to allow a single file to be created by a user (a flag-file) but only that file should be able to be created. As I have the parent ...
2
votes
1answer
282 views

Capture tmux status bar content

I wrote an addon to tmux, tmux-gitbar, it adds to tmux status bar some information about the current Git working tree (name of local and remote branch, working tree is clean?, etc.). So basically it's ...
3
votes
3answers
2k views

Debian Stretch - how to install hamachi (unsatisfied dependency lsb-core)

I have a workstation running under Debian testing (stretch). I need to access it from outside my local network, and due to not having a static public IP nor ability to use full port forwarding, for ...
15
votes
1answer
1k views

create a corrupted FAT file system

I have an application which will search for a corrupted FAT file system and repair it. For testing the application I will need a corrupted file system. What is a good and reproducible way for ...
4
votes
1answer
2k views

/etc/network/interfaces file valdiation

Are there any tools baked in to linux that I can use to validate the syntax in /etc/network/interfaces or /etc/network/interfaces/*.conf files akin to the way I can validate sudo using visudo before ...
1
vote
2answers
2k views

Stress (write) Test an SD card to destruction using a simple shell script

I would like to find out how many write cycles I can get from my SD card. I have googled and found good answers like this but its too complicated for a normal person like me. Say its a 64GB exfat ...
0
votes
1answer
30 views

How should I test installation procedure on clean system (quickly and disk-space cheap)?

I was asked to invent an installation procedure for existing application, including compilation, downloading and installing the server and some other things. I have managed to get the program to work ...
0
votes
1answer
763 views

Testing using shell scripts

I am trying to write a shell script for testing my programs. I am having a few fundamental questions regarding it: Goal: The shell script must be able to test certain programs and determine if they ...
3
votes
2answers
795 views

Is it possible to emulate older versions of Bash?

Is it possible to emulate (is that the right word?) previous versions of Bash? I am using 4.3.11, and I am curious to know if my scripts are compatible with some earlier versions, but I don't want ...
1
vote
1answer
425 views

How to verify IDEA installation success with CLI on a VM?

I'm using a third party Puppet module to install IntelliJ IDEA, and I'd like to automatically verify that the installation worked. The current solution fails because there is no license: $ make test [...
0
votes
1answer
173 views

Can I check a suspect .zip file without downloading it?

I am using Linux Fedora 20 and BT Yahoo mail. I have received an email with an attached .zip file, but I suspect that it might be malicious and dangerous even to download the attachment -- it might ...
2
votes
2answers
1k views

How to run a specific test from OpenSSL test suite?

I want to measure the code coverage of different tests from OpenSSL test suite. I successfully measured the total coverage of the tests with this method: $ make clean $ export CC="gcc -fprofile-...