OpenCloudOS-Kernel/tools/testing/selftests/gpio
Tiezhu Yang ba70290678 selftests: gpio: Use "grep -E" instead of "egrep"
The latest version of grep claims the egrep is now obsolete so the build
now contains warnings that look like:
	egrep: warning: egrep is obsolescent; using grep -E
fix this up by moving the related file to use "grep -E" instead.

  sed -i "s/egrep/grep -E/g" `grep egrep -rwl tools/testing/selftests/gpio`

Here are the steps to install the latest grep:

  wget http://ftp.gnu.org/gnu/grep/grep-3.8.tar.gz
  tar xf grep-3.8.tar.gz
  cd grep-3.8 && ./configure && make
  sudo make install
  export PATH=/usr/local/bin:$PATH

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2022-11-25 10:57:23 -07:00
..
.gitignore selftests: gpio: add a helper for reading GPIO line names 2021-12-17 12:26:13 +01:00
Makefile selftests: gpio: fix include path to kernel headers for out of tree builds 2022-07-20 14:35:18 +02:00
config selftests: gpio: add test cases for gpio-sim 2021-12-17 12:26:13 +01:00
gpio-chip-info.c selftests: gpio: provide a helper for reading chip info 2021-12-17 12:26:13 +01:00
gpio-line-name.c selftests: gpio: add a helper for reading GPIO line names 2021-12-17 12:26:13 +01:00
gpio-mockup-cdev.c selftests: gpio: fix uninitialised variable warning 2021-11-15 14:27:50 +01:00
gpio-mockup-sysfs.sh selftests: gpio: rework and simplify test implementation 2021-02-15 11:43:28 +01:00
gpio-mockup.sh selftests: gpio: port to GPIO uAPI v2 2021-02-15 11:43:28 +01:00
gpio-sim.sh selftests: gpio: Use "grep -E" instead of "egrep" 2022-11-25 10:57:23 -07:00