procps/testsuite/procps-ng.test/free.test/free.exp

10 lines
318 B
Plaintext
Raw Normal View History

2011-11-23 17:18:49 +05:30
#
# Testsuite for free program
#
set free "${topdir}free"
set test "free with no arguments"
spawn free
expect_pass "$test" "^\\s+total\\s+used\\s+free\\s+shared\\s+buffers\\s+cached\\s*Mem:\\s+\\d+\\s+\\d+\\s+\\d+\\s+\\d+\\s+\\d+\\s+\\d+\\s*-\\/\\+ buffers\\/cache:\\s+\\d+\\s+\\d+\\s*Swap:\\s+\\d+\\s+\\d+\\s+\\d+"