Questions tagged [testing]

exercising features of software to check that they are working correctly

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

How should I setup an LXD linux-container?

The following documentation contains the necessary infomation to setup LXC. https://linuxcontainers.org/lxd/introduction/ https://linuxcontainers.org/lxc/getting-started/ After that, I wanna use LXD ...
1
vote
2answers
20 views

kdm fails to start after update (debian testing)

I just updated debian (testing). I use kde and after updating, kdm does not start.... I end up on the CLI. If I check the status of kdm with systemctl, it says it's started (existed) but it didn't ...
0
votes
1answer
18 views

Install an old version package with a security related update

I am creating some unit tests for my ansible role(OS update) to verify that my os update process has been done successfully. There is a feature to update only security related packages. To test it, I ...
0
votes
1answer
114 views

How to test a linux kernel upgrade inside a Container

As I know Docker uses host OS kernel, there is no custom or additional kernel inside container. All containers which run on a machine are sharing this "host" kernel. Working with a containerized ...
0
votes
0answers
19 views

Is there a way to artificially slow down Apache http server transactions to simulate load?

Is there a way to artificially slow down Apache http server transactions to simulate load? I'd need to force http transactions to take 100ms+ instead of the normal 3ms, without killing the CPU or ...
1
vote
0answers
24 views

Unit test for OS patching process in RHEL

As a part of my automation framework, I am using ansible to perform the OS patching to my host machines. Before executing this proccess in production, I need to write a unit test to verifiy that, the ...
2
votes
1answer
58 views

Artificially induces slow network traffic for single program

I need to test that a given (python) application works properly when the network is slow. Is there a way to simulate this on a local machine? Ideally it would be possible to do this for a single ...
0
votes
1answer
56 views

Prevent the mouse to wake up display (UI Testing)

I'm running some UI automatic testing in which the pointer is moved to perform/simulate user actions, which is executed after some time when the display is OFF. I want to leave the screen OFF while ...
0
votes
0answers
38 views

xfwm4 themes gone in debian bullseye?

After updating my debian testing to bullseye, the xfce theme completely vanished. I had a dark them (forgot name) and now its Raleigh as the only theme installed. xfwm4-themes seem to exist only in ...
0
votes
0answers
35 views

Is there a test Suite for netcat (nc)?

Is there a test suite available for the openbsd implementation of netcat? A POSIX compatible test suite would also suffice. Specfically for functional testing. I'm trying to play with the pledges in ...
6
votes
1answer
283 views

Running script line by line automatically yet being asked before each line from second line onwards

I work on a script of about 20 lines which I find myself testing time and again by copy-pasting and executing line by line. Instead of copying-pasting each line and hitting Enter to execute, I would ...
3
votes
2answers
242 views

Test suites for utilities (cat, cp etc) Linux or BSD?

Are there any test suites available for the small programs usually shipped with the operating system? Specifically, programs like cp, cat, dd etc (anything in /bin/) on Linux or BSD; OpenBSD being the ...
0
votes
0answers
14 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
12 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
1k 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
2k 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;...
4
votes
1answer
2k 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
411 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
53 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
46 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
389 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
63 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
113 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
31 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
262 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
65 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
119 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
1k 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
2k 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 ...
-1
votes
4answers
241 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
1answer
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
51 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
81 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 ...
4
votes
4answers
680 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
873 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
35 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
204 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
77 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
93 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
138 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
76 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
910 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
545 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
564 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
377 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
40 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
254 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 :...
1
vote
1answer
612 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 ...