Commit Graph

1415 Commits

Author SHA1 Message Date
Karel Zak a17bead499 tests: add look test for words with separator
$ look apple-pie

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-03-06 13:04:25 +01:00
Karel Zak 40b115acc5 tests: add expected outputs for cramfs
The patch aslo reduce number of files and dirs in mkfs.cramfs tests.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-02-27 16:38:27 +01:00
Karel Zak 86ec1b63f9 tests: add mkfs.cramfs tests
This test shows that actual mkfs.cramfs is ugly due MAXENTRIES (100) limit.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-02-27 15:59:04 +01:00
Karel Zak b8d1314dc6 build-sys: fix README filenames and add missing files to EXTRA_DISTs
Also, the patch makes "make mrproper" more robust.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-02-08 12:38:25 +01:00
Karel Zak 061999ee0d mkswap: add regression test
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-02-07 13:26:11 +01:00
Karel Zak 7ac3b5b8e3 Clean up pagesize/PAGE_SIZE usage.
Now all code in util-linux uses sysconf(_SC_PAGESIZE) that is standardized and
preferred way of querying page size. The asm/page.h file is not included to the
code anymore. (This patch doesn't change mount's FS detection code which will
be removed later).

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-02-06 11:35:15 +01:00
Karel Zak ca04734de1 tests: fix argv[] usage in mnt_test_sysinfo.c
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-02-06 11:33:35 +01:00
Karel Zak 5db4f8e3b3 namei: new regression test
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-31 16:45:01 +01:00
Karel Zak e9ce5ccc90 col: getwchar() errors shouldn't be hidden
The col truncates output when multibyte errors is detected, but the problem is
not reported to stderr and return code is still same like for successful exit.
This stupid behaviour is fixed by this patch.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-30 13:52:48 +01:00
Karel Zak 5b0d01d619 tests: add return code
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-28 01:24:15 +01:00
Karel Zak b30cd7eed5 ipcs: add new tests for ipcs limits
The tests check if data from kernel and from the ipcs command are same.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-04 14:53:57 +01:00
Karel Zak 0f0584addc tests: add simple helper that returns info about system
usage: tests/helpers/mnt_test_sysinfo <infoname>

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-04 14:53:19 +01:00
Karel Zak 4ac0f9d0c2 ipcs: fix typo in Semaphore headers
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-04 14:45:48 +01:00
Karel Zak 97cdb3cb5c ipcs: add regression test for output headers
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-04 14:41:29 +01:00
Karel Zak e83446da1a tests: add basic infrastructure for regression tests
The patch adds tests/ directory with simple regression tests infrastructure.

Also, it adds the "ts-mount-paths" test that testing if all defined paths
(fstab, mtab, locks) are still same.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-04 14:23:48 +01:00