git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 1.10.10.
[libguestfs.git]
/
regressions
/
rhbz557655.sh
diff --git
a/regressions/rhbz557655.sh
b/regressions/rhbz557655.sh
index
228b498
..
2bc10cd
100755
(executable)
--- a/
regressions/rhbz557655.sh
+++ b/
regressions/rhbz557655.sh
@@
-45,7
+45,6
@@
get-memsize
-set-memsize 07777770000000000000
-set-memsize ABC
-set-memsize 09
-set-memsize 07777770000000000000
-set-memsize ABC
-set-memsize 09
--set-memsize 123K
-set-memsize 123L
EOF
-set-memsize 123L
EOF
@@
-69,7
+68,6
@@
filesize /test
# these should all provoke parse errors:
-truncate-size /test ABC
-truncate-size /test 09
# these should all provoke parse errors:
-truncate-size /test ABC
-truncate-size /test 09
--truncate-size /test 123K
-truncate-size /test 123L
EOF
-truncate-size /test 123L
EOF
@@
-79,9
+77,10
@@
EOF
# number of truncate_size.
mv test.err test.err~
grep -E 'set[-_]memsize|truncate[-_]size' test.err~ |
# number of truncate_size.
mv test.err test.err~
grep -E 'set[-_]memsize|truncate[-_]size' test.err~ |
+ grep -Ev 'libguestfs: trace:' |
grep -Ev 'proc 200' > test.err
rm test.err~
grep -Ev 'proc 200' > test.err
rm test.err~
-diff -u
test.out rhbz557655-expected.std
out
-diff -u
test.err rhbz557655-expected.std
err
+diff -u
rhbz557655-expected.stdout test.
out
+diff -u
rhbz557655-expected.stderr test.
err
rm test.out test.err test1.img
rm test.out test.err test1.img