forked from Polidea/ios-class-guard
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR 91: Merge release-1.0.1 to master #15071
- Make several changes regarding version #15071 - Check version where not generated #15071 - Remove 'beta' from supported platforms #15071 - Refine supported list #15071 Related work items: #15071
- Loading branch information
Showing
8 changed files
with
79 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#!/bin/bash | ||
|
||
#Copyright 2016 PreEmptive Solutions, LLC | ||
#See LICENSE.txt for licensing information | ||
|
||
targetAppName=BoxSim | ||
thisDirectory="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
testRoot="$(dirname "${thisDirectory}")" | ||
. "${testRoot}/tests/common.sh" | ||
|
||
oneTimeSetUp() { | ||
checkForPPiOSRename | ||
} | ||
|
||
oneTimeTearDown() { | ||
return | ||
} | ||
|
||
setUp() { | ||
return | ||
} | ||
|
||
tearDown() { | ||
return | ||
} | ||
|
||
TEST "PPiOS-Rename version referenced in README.md is current" | ||
verify test -f "${README}" | ||
verifyFails test -z "${NUMERIC_VERSION}" | ||
|
||
# Find all of the version numbers "x.y.z" in the document, and put them on separate lines. | ||
# The two lines that follow that have trailing backslashes are newlines embedded in the sed | ||
# replacement text, do not indent or otherwise alter. | ||
versionNumbers=$(cat "${README}" | sed -n 's,\([1-9][0-9]*[.][0-9][0-9]*\([.][0-9][0-9]*\)*\),\ | ||
\1\ | ||
,pg' | grep '[1-9][0-9]*[.][0-9][0-9]*\([.][0-9][0-9]*\)*') | ||
|
||
# Remove all of the instances of the expected version number | ||
badVersionNumbers="$(echo "${versionNumbers}" | grep -v "$(echo "^${NUMERIC_VERSION}\$" | sed 's,[.],[.],g')")" | ||
|
||
# Verify that nothing is left | ||
verify test -z "${badVersionNumbers}" | ||
|
||
report |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters