File: README.TestScripts

package info (click to toggle)
util-vserver 0.30.212-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 6,648 kB
  • ctags: 3,145
  • sloc: ansic: 19,781; sh: 13,258; xml: 1,618; makefile: 364; perl: 85
file content (56 lines) | stat: -rw-r--r-- 1,735 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
===============================================================================

To be sure that your setup works fine, we got a test script that checks some
basic functionality. So download the [testme.sh] script to check that
everything's fine.

# Get the script
wget http://vserver.13thfloor.at/Stuff/SCRIPT/testme.sh

# Make it executable
chmod +x testme.sh

# Become root
su

# Run the test script
./testme.sh

===============================================================================

To be sure that your setup works fine, we got a test script that checks some
filesystem functionality. So download the [testfs.sh] script to check that
everything's fine.

***  Be careful! It might easily reformat your hard disk :) ***

# Get the script
wget http://vserver.13thfloor.at/Stuff/SCRIPT/testfs.sh

# Make it executable
chmod +x testfs.sh

# Make a loopback file
dd bs=1024k count=1024 if=/dev/zero of=1gb.testfile

# Become root
su

# Setup the loopback
losetup /dev/loop0 1gb.testfile

# Run the test script for legacy mode
./testfs.sh -l -t -D /dev/loop0 -M /mnt

# Run the test script for new-style config
./testfs.sh -t -D /dev/loop0 -M /mnt
If the script shows any errors, feel free to join us on irc (#vserver @ OFTC)
or ask on the mailinglist. If you ask on the mailing list, don't forget to
include your kernel version, the version of the Linux-VServer patch, the
version of util-vserver and of course the output of the test script.

Permission is granted to copy, distribute and/or modify this document under the
terms of the GNU Free Documentation License, Version 1.2 or any 
later version published by the Free Software Foundation.

===============================================================================