Add the new --no-warnings option for release

This commit is contained in:
Andrea Mazzoleni 2015-12-28 14:48:28 +01:00
parent cacc1cb0ce
commit 776c6a48ef
3 changed files with 4 additions and 2 deletions

View file

@ -13,6 +13,8 @@ SnapRAID HISTORY
whatever reason.
* Adds UUID support to Btrfs filesystems. It's present only if the
libblkid library is available on the system.
* Added a new --no-warnings option to disable some repetitive warnings
that could be annoying to power users.
9.1 2015/11
===========

View file

@ -251,7 +251,7 @@ endif
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) up
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) down
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) devices
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS_VERBOSE) -c $(CONF) smart --test-no-warnings
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS_VERBOSE) -c $(CONF) smart --no-warnings
$(FAILENV) ./snapraid$(EXEEXT) $(CHECKFLAGS_VERBOSE) -c $(CONF) smart --test-fake-device --test-expect-failure
if HAVE_SYMLINK
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(PAR1) pool

View file

@ -364,7 +364,7 @@ struct option long_options[] = {
{ "test-fake-device", 0, 0, OPT_TEST_FAKE_DEVICE },
/* Disable annoying warnings */
{ "test-no-warnings", 0, 0, OPT_NO_WARNINGS },
{ "no-warnings", 0, 0, OPT_NO_WARNINGS },
/* Fake UUID */
{ "test-fake-uuid", 0, 0, OPT_TEST_FAKE_UUID },