Commit 36ccddf8 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski

selftests: gpio: gpio-sim: avoid forking test twice

Use '-o' within [] in order to avoid spawning two processes for test.
Suggested-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent f7eda6fe
......@@ -23,7 +23,7 @@ remove_chip() {
for FILE in $CONFIGFS_DIR/$CHIP/*; do
BANK=`basename $FILE`
if [ "$BANK" = "live" ] || [ "$BANK" = "dev_name" ]; then
if [ "$BANK" = "live" -o "$BANK" = "dev_name" ]; then
continue
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment