diff options
author | Mattias Andrée <maandree@kth.se> | 2017-12-09 16:41:20 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-12-09 16:41:20 +0100 |
commit | b9781282a79e19dd6f61d62403ad5aa378ede927 (patch) | |
tree | db122b8920b13922f76d8135fdd17e51dadb7bb2 /test.sh | |
parent | Fix arg.h (diff) | |
download | adjbacklight-b9781282a79e19dd6f61d62403ad5aa378ede927.tar.gz adjbacklight-b9781282a79e19dd6f61d62403ad5aa378ede927.tar.bz2 adjbacklight-b9781282a79e19dd6f61d62403ad5aa378ede927.tar.xz |
Add support for using stdin instead of spawning multiple times when adjusting rapidly
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -47,4 +47,11 @@ printf '%i\n' 25 > .testdir/acpi_videox/brightness test $(./test -g) = 50.00% +rm -r .testdir/acpi_videox +printf '%s\n' 5 +15 -5 +20% | ./test dev +test $(./test -g dev) = 50.00% + +printf '%s\n' 5 +15 -5 +10% | ./test -a +test $(./test -ga) = 40.00% + rm -r .testdir |