exercising features of software to check that they are working correctly

learn more… | top users | synonyms

1
vote
0answers
18 views

How verify server's hardware before install it into data center? [closed]

could anybody help to understand me how is it possible verify and validate server's hardware configuration that I'm going to install into datacenter? The problem is that the customer bought noname ...
1
vote
2answers
84 views

fglrx on Debian stretch

How do I install the fglrx driver on Debian stretch? The package tracker states that there is no package available right now, so I added Sid, pinned on 100. When I try to install fglrx-driver now, ...
-1
votes
2answers
65 views

To have strict and warnings in Perl oneliner [closed]

I really miss use strict; use warnings in my Perl one-liners such as: perl -ne 'print unless /[0-5],[0-5]?|hernia|.{170,}|benz/' file` especially when I include many conditions separated by |. I ...
0
votes
0answers
68 views

Debian 8.1 Stretch (testing) - can't use switch language (keyboard) hotkeys with anything else

I'm a linux-beginner. After 2 weeks of using XUbuntu 15 I switched to Debian 8.1 testing. Installed everything using graphics expert install, using MATE as my default DE. So basically got one big ...
1
vote
1answer
34 views

X11 stops rendering during automated testing while switched to different run level

I am running automated tests on an app while recording the desktop for future analysis. I am working from a standard Ubuntu Linux setup. I would like to be able to switch to another user while ...
1
vote
1answer
122 views

How to use afl-fuzz (American Fuzzy Lop) with openssl

I am trying to use afl-fuzz with openssl in Ubuntu. A normal usage of afl-fuzz would be: afl-gcc test.c //-- this will produce a.out mkdir testcases echo "Test case here." > testcases/case1 ...
0
votes
1answer
44 views

Lab environment for testing routing in a Unix environment?

I know there are tools such as GNS3 and Packet Tracker; but the big problem with these tools is they do not work with open source tools such as OpenBGPD and BIRD. So, this leads me to the question; ...
0
votes
1answer
68 views

Proxy server vs /etc/hosts file

I was told today that /etc/hosts is not a viable option for testing a new destination server. The DNS for /etc/hosts modifications could still cache the old DNS settings and we would get incorrect ...
1
vote
0answers
28 views

Uninstall libc6 (from Debian testing) from Debian stable [duplicate]

I wanted to install the text editor Atom on Debian stable (but I don't want to anymore), and I had to install libc6 from Debian testing. Bad idea, I know. So I changed the sources.list, etc... Used ...
1
vote
3answers
112 views

loop test strings to see if input is valid for C program input

For example I have a file filled with some pretty gnarly strings. 12345678900 1111111111111111111111111 ...
3
votes
2answers
82 views

How to quickly generate (insecure) GPG keys?

I'd like to automate generating at least two GPG keys for testing and demonstration purposes in a virtual machine. Because of this context I want to make sure the key generation is fast, ideally not ...
1
vote
1answer
54 views

generate traffic at wire speed

I have x86 based machine with Intel Core2 CPU 6300 1.86GHz and 2G of memory. I'm looking for options to generate traffic on the machine at line rate, or as close as possible. OS is Fedora 20 with ...
2
votes
0answers
99 views

Is there way to print the entered password in PAM?

We are using CentOS 6.5. We have a perl script for our automation testing. One of the script login to the user as non-root user and test "su -" command. This test case passes most of the times but ...
-1
votes
1answer
90 views

Run a server and client in a makefile [closed]

I'm coding a socket file server in C++, and I can't figure out how to put proper unit testing into my makefile. My problem is as follows: The server, when started, spits out its port number to ...
1
vote
2answers
414 views

Fake IP addresses generator

I have an application running on a server that adds a new iptable rule blocking every IP address trying to connect via SSH with a wrong password. Now, I'd like to perform a stress test where many ...
0
votes
1answer
236 views

Switch from Debian Jessie to LMDE

I don't like what GNOME applications, such as Gedit, came to be and how they look now in Debian Testing. These colorless and borderless windows with unfamiliar layout are totally unusable for me. I ...
1
vote
0answers
44 views

How can I limit or delay the write speed to specify directory?

I want to limit the write speed and limit to specify directory. Make this directory flakey. Make this directory error for can't write data to it. I have user dmsetup to create the device mapper with ...
0
votes
1answer
201 views

I installed all screensavers I could find, but none are listed in settings, in Fedora 21 Beta

I installed these: yum install xscreensaver-base xscreensaver-extras xscreensaver-extras-base xscreensaver-gl-base xscreensaver-gl-extras But there are no screensavers listed in settings: Anyone ...
2
votes
5answers
160 views

Simulate the remote host identification warning

I need to simulate the warning: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING ...
2
votes
1answer
31 views

Forcing write(2) to return 0

I am writing unit tests and would like to test some code's handling of the case where a call to write(2) returns zero. As ever, it would be nice to keep the test as authentic as possible. I can use a ...
15
votes
3answers
457 views

How to force Linux kernel to “freeze” (or nearly freeze) for a few hundred milliseconds

We are running a real-time process on a non real-time kernel (CentOS 6), and this is probably not going to change. We have a streaming video application that requires about 500 MB/s of PCIe traffic ...
1
vote
2answers
354 views

Drop TCP packets and prevent TCP retransmission

I have an application that sends TCP data to a server. My server is made to intentionally drop the packets sent by the application, and as a result the client retransmits the packets. I need to ...
2
votes
1answer
277 views

How to test Disk IO on VMs with iozone?

I want to test the disk IO performance like read, write, random read, random write and so on both in physical machine and VMs (with aufs file system). Also I want to test the throughput performance in ...
1
vote
1answer
196 views

why doesn't iozone generate output file?

I'm using iozone3 for tesing, on Xamin (an Debian-based OS). When I enter iozone command, for example iozone -Rab output.xls, the test runs successfully. But after running the test (after displaying ...
1
vote
0answers
16 views

Test execution output of a command before a pipe [duplicate]

I would like to test the execution of a php script that redirect its stdout and stderr to a file with tee. php /path/to/script --param 2>&1 | tee -a /path/to/log if ( test $? -ne 0 ); then ...
1
vote
1answer
2k views

Using ping on multiple interfaces on a NIC

I have two systems and each have a NIC with two ethernet ports. One system has a verified NIC card, but the other has a NIC which has to be verified. I use ping to verify whether the interfaces on ...
1
vote
0answers
102 views

xdotool random/more natural delay?

For automated testing of some applications, I would like to emulate the users behaviour. I know I can user the xdotool type --delay option, but I would like a more natural delay. The easiest thing ...
2
votes
0answers
21 views

Is it safe to create a regression test that relies on running out of file descriptor limit?

I'm writing a regression test for my modification of Nmap and I'm wondering if it's a good idea to create a test that would basically perform a large-scale connect() scan on 127.0.0.1/8, which would ...
2
votes
1answer
35 views

Does TMUX have unit tests or a test suite?

I am going through my configuration shell scripts and I have found the make commands to run test suites for pretty much every "big" open source project that I use (vim, zsh...) except for tmux. I ...
1
vote
0answers
19 views

Unitary testing: emulating hardware connection or disconnection

I'm writing a program using libudev. And I want to write some tests. But, one of the functionalities of the program has to do with an usb drive being connected or disconnected. I've read plenty of ...
2
votes
1answer
358 views

How to do an automated measurement for the boot time for freshly build images?

I want to generate images for an embedded system and automatically measure the time they took for booting (especially for different systems). I'm using Buildroot to generate my Linux Images. I ...
1
vote
2answers
54 views

Automated test for install script

I'm writing an install script for an appliance that modifies system config files under /etc (amongst other things). How can I test this script non-destructively? Ideally I would like to run the ...
0
votes
1answer
48 views

Do I need a support contract to test my web application on solaris 10

I need to install Solaris 10 and I'm wondering if I need a support contract, on the download page it says that you need a support contract for production use, but I'm not too sure what production use ...
1
vote
1answer
313 views

How to load Linux PC to make it warm?

I have erratic working linux box and I suspect that it have some issues with either thermal monitoring modules, or even hardware. I think about logging for some time temperature other things to see ...
0
votes
3answers
839 views

Shell script testing through terminal simulation

I am developing a generic bash script which could be executed in different distro. I have only a CentOS virtual machine and I would be interested to test my script on a virtual terminal (online or ...
0
votes
0answers
35 views

How can the output of ldd be checked to see of they exist on a different system or not? [duplicate]

Running ldd on an executable gives the output displayed below. How can the output be parsed for the library names in the first column and their existence tested on another computer, giving output ...
2
votes
1answer
499 views

I need find 1 simple rootkit to test chkrootkit in centos?

I want to find 1 simple rootkit to test chkrootkit (a tool used to detect rootkit). Please recommend to me 1 rootkit and show me how to set it up or install it.
89
votes
11answers
44k views

How to fill 90% of the free memory?

I want to do some low-resources testing and for that I need to have 90% of the free memory full. How can I do this on a *nix system?
1
vote
0answers
73 views

Are there any GUI test suites for Linux?

I'm looking to automate some software testing that's currently done manually by a person. Are there any regression test suites for testing GUIs that run on Linux? I'm looking for a way to record and ...
33
votes
1answer
67k views

How to upgrade Debian stable (Wheezy) to testing (Jessie)? [duplicate]

I downloaded and installed Debian 7 Wheezy, the stable version, but I would like more recent apps and libs so I'd like to switch to testing version (aka Jessie). How do I proceed?
3
votes
0answers
512 views

Test automation tools for desktop application

Is there any GUI / functionality test automation tools for testing QT3 based GUI applications? I went through LDTP, dogtail, Squish, and Sikuli but all dependent on specific QT versions. Also, ...
1
vote
1answer
149 views

continuous testing of a C++ project on github with different Linux distros

Is there any framework to automatically try to compile a C++ project on github.com on every commit made, similar to what http://jenkins-ci.org or http://travis-ci.org do for different compilers on an ...
0
votes
1answer
1k views

What does high, low, negative and constant values from pidstat command mean?

I needed information on the following: Can you please tell me the inference for the following in terms of high, low, negative and constant values from pidstat command in Linux. kB_rd/s, kB_wr/s, ...
0
votes
1answer
134 views

Is my approach to performance testing in Linux environment correct?

I want to do performance testing in a Linux environment for a C++ application. I need to measure the CPU & Memory usage of the application. This application is a multi-threaded application. In ...
9
votes
4answers
2k views

Special File that causes I/O error

I want to automatically test if a piece of software reacts as expected if an essential SQLite DB file fails to be read (causing an I/O error). Exactly that happened some days ago at a client. We ...
4
votes
2answers
179 views

How to run script with the privileges expected of the script's general “intended user”?

During the development of a script, some bugs remain "latent" until the script is run by a different user. (For example, the script may access a file that only the person developing the script has ...
5
votes
1answer
399 views

Simulating user activity

I want to simulate user activity on a virtual machine in a completely automated maner. That is, I would like to run a program or a set of scripts that would simulate an user using a computer for an ...
5
votes
2answers
761 views

conceal home folder completely - is ecryptfs the right choice?

On my Debian-Testing-System, I want to completely conceal the home folders. That means, I not only want the data to be encrypted, but I also want to preclude determining any (or most) information from ...
2
votes
0answers
247 views

How do you write test cases for a web server that uses posix sockets? [closed]

I know how to test it experimentally by running the program, but ideally I would like to test each function I write as I write it. Usually I can't test my functions until I write a whole bunch of ...
1
vote
4answers
1k views

Check if the residence's connection has internet access

I'd like to be able to test if I have access to the internet. My computer is connected to the residence internet connection. I thought of using ping like this: ping -q -w 1 -c 1 `ip r | grep default ...